- 2
Why is C++ used in schools so much as a programing language?
I wanna know, thats all.
13 Answers
+ 12
because c++ is the only language that will teach u all things like oops,operators other than C.And also it is best know as low level programming language means that u can easily contact with the address of the devices like ram,mouse,keyboard etc becoz it has pointers.
And it is base for progtamming languages like java,python etc.
So learning C++ is better for creating best in class projects.
😊😊😊😊
+ 13
Last year I saw a german student learning Turbo Pascal. That is strange ☝
+ 12
What schools are these???
As far as I know, Python is the most popular language for college freshmen. Java isn’t far behind.
C++ is more typically used in advanced CompSciences courses because it has a strong academic reputation.
What do you think PHP is written in? What do you think Go is written in? What do you think Ruby or Perl or any of these other languages are written in? What do you think mysql, mariadb, postgresql, and most every other SQL is written in? What do you think OS are written in?
I think my school got it right.
I had python>java>assembly>c>c++
and I think this works.
Python to teach basic concepts, loops, etc.
Java to teach OOD/TDD/algorithms/data structures/multi threading.
Assembly to understand the underlying hardware, micro controllers, linking.
C to teach pointers and gratitude cos F assembly.
C++ for memory management / AI.
While having Java concurrently to learn networking.
+ 5
Jan Markus I remember learning Latin too back in the day... but also learned shorthand... then someone decided to use both and call the job title as a transcriptionist...
+ 3
It's better to have your foundation based on something solid rather than something fun.
C and C++ give basics of programming language that even Java could not.
Don't compare it to Python.
Mechanically include libraries and write longer statements isn't what you wanna learn in the beginning.
C and C++ are best for understanding how they (programming languages) work and how to implement the logic.
So, why learn C++ if you gonna become a professional?
The creator of the language Bjarne Stroustrup answered that question enormously many years ago.
Have a look: https://www.stroustrup.com/learn.html.
+ 2
There was a buzz around Ruby just a few years ago. Where is it now? New modern languages aren't reliable for academic, I mean teaching, purposes.
They come and go.
That concerns Go, too.
Go is a statically-typed, compiled, and general-purpose programming language, much like C++. The compiler for the language was originally written in C but is now written in Go as well, which keeps the language self-hosted.
But it's relatively new and nobody knows what the future has in store for it.
C++ is a language that was written by an academic, for academic (i.e. research) purposes. Not by a commercial company for some narrowly utilitarian task.
C++ is one of the most popular languages in the industry.
Therefore, it's proprietary independant, reliable and time-tested.
+ 1
Jan Markus, yea I guess soo, but I still think Javascript is better👌😜
+ 1
It was Turbo Pascal for me a few years back.. And the teacher made it worse :(
+ 1
C++ is simple and an eye opener to beginners and its really true
Most schools use it even at university level for example in Uganda
+ 1
C++ is a basic of all programming languages. That why it's mostly use to teach students about programming. First you learn c++ then you start your journey in programming.
Then you can focus on other means tradable languages.
Like java, python etc. Well best of luck
0
Really
0
Becuse you can with learn language programming c++ by the easy way learning and switched another language programming .
of course language programming python is change in place c++
0
because its teach you to the roots of Programming its the best way to understand Programming in every way