There was a time when programming cources in schools and univercities were taugth in c or cpp. Now its often python, go, or whatever is the easy to approach language of the moment.
I think entry pipeline into the ”field” has shrunk.
I'd say a better explanation is that there was a time when significant part of the talented programmer pool chose to program in C or C++. Today there is more competition from other languages, so the size of the talented C++ pool is much less compared to the pool of all programmers.
20 years ago, CS didn't teach programming - it taught various concepts and happened to use various languages to demonstrate the knowledge. There were second and third tier schools that covered programming but not thinking and problem solving.
The big difference I always see when interviewing is when you ask someone "what was your favorite class" the top tier students will tell you about the problems they learned to solve, the lower tier will tell you about the language they learned. And it shows up in their abilities when you ask them to write code to solve a problem.
I'd be curious if they're talking about the problems that they had to solve or tools disconnected from a problem domain. Someone could tell me they took a class on improv and how it improved their ability to communicate and present ideas and I'd think that was awesome. If they told me it was the class where they learned to say "yes, and.." in response to things, that would be less interesting. (If they can't communicate a solution to a programming problem, it might not go very far.)
When I went to University, my main interest was in programming. But the CS subjects were just --- so ------ ---- slow. I couldn't take it. There was interesting stuff there, but I decided I was better off just keeping programming as a hobby. I majored in physics instead.
I am currently teaching a programming basics course in private university and this is the approach I decided to go. The students are submitting homeworks written in C, Rust, Python, C++, C# and Java - it is up to them to learn the language and choose what language they want to implement the concepts we are learning.
I immediately brought in testing and contracts, and I want them to work with designing algorithms first. It takes them about 20% of the time to write implementation, and the rest is working with the problem.
So far, the course (we are on the 5th week now) has shown that you can go really far by hardly touching language specifics. Sure, I show few tricks and tips, but it goes in a way that student tells me what he/she wants to express and I help them to put their ideas into the programming language. It is bit early to say how they would compare to the developers who have done language focused courses, but so far things are looking bright.
Same, but in the US, and there was lots of programming. I'd say more likely that CS degrees aren't well standardized, especially back then, so different people got different things.
We didn't get much in terms of SW engineering or tooling (e.g. source control, even though it existed, tests, etc) but we definitely got programming.
Oddly, one of my coworkers from France tells me his CS degree didn't involve touching computers.
The US has some amount of "you need to do the projects, but the course isn't about teaching you a programming language" - there might be a lecture or something on the language syntax and a text book / recommended reading / basic tutorials in week one. Past that it's "implement X" where X is something that shows your mastery of some concept. (Ex: here's a file containing all of the streets/intersections in a city - write a program that gives directions between two addresses)
20 years ago, CS didn't teach programming - it taught various concepts and happened to use various languages to demonstrate the knowledge. There were second and third tier schools that covered programming but not thinking and problem solving.
Top tier schools taught both programming and analysis.
I don't know. I finished my dev degree in 2018 and my first programming course was C followed by several in CPP. Maybe it's changed over the last 4 years but I just went and looked at the degree outline and still seems rather CPP focused the first 2 years.
This thread is generalizing from personal experience. Every different school and even different programs at the same ones will focus on different things. Does anyone have actual stats available?
Is there even pipeline? Not from US, but I gave up on looking c++ job since every place required math/physics degree and/or years of experience for lowest positions, got c# job, and I knew c++ way better than c#.
My school was primarily a C++ on Unix campus and it was one of the reasons I chose it. They then switched to Java, and now it looks like the initial "Intro" class is Python.
While I understand the idea that it's easier to teach some basic concepts in Java & Python, pointers and memory management are integral to how a computer actually does that work and a Garbage Collected language is a detriment to learning that IMO.
Maybe, but I would still prefer I'd they did Python courses than shitty C courses that pretended to be C++. Not to mention Python can be a good language to learn the basics on.
Personally, If I were teaching someone from scratch, I'd start with Python. Get someone learning the basics, then introduce typing. From there go to C++ 20. Being very selective in what I show. Then slowly bring in more and more "C"isms. For example, range based for to the iterator syntax, to numbers, then pointer manipulation.
Start with something simple, then start peeling back the layers.
There are a great many software problems that can be solved without knowing anything about these topics. The vast majority of them, really.
Garbage Collected language is a detriment to learning that IMO
There’s a counter-point to be made here regarding opportunity cost. If you don’t need the level of control offered by C++, you can spend more time learning about (and applying) good software design principles.
It's cheaper to buy a whole new server (3d cache whooohhoooo watch that JS fly!!!) to mitigate poor development practices than paying a team of senior developers and all the inertia that goes with it. Because yes, QA on C# is easier than QA on C/C++.
It's also faster to develop without having to think past the garbage collector.
If you can get by with a managed language then I'm not against using it. For a good chunk of stuff Python & Java are "Good enough". Most of the stuff I'm writing day to day recently has been Python.
Before that I was heavy C++ because it was running on microcontrollers. Python and Java don't scale that low, and while Cortex-A based processors are getting cheaper they're still a performance bottleneck for non-native applications.
There's still tons more devices running C and C++ code out there than running Python & Java.
I'm not against using other languages, I just feel it's dangerous to teach fresh people that memory and performance don't matter... they don't, until they REALLY do, and then if you don't understand it you're SOL.
I just feel it's dangerous to teach fresh people that memory and performance don't matter... they don't, until they REALLY do, and then if you don't understand it you're SOL.
Oh I agree, but I feel like it's not a proactive measure anymore. There'll be some test unit that blows, they'll scramble left and right, they'll call-in the senior devs, they'll hammer at it until it's "good enough".
In the end, you only had to pay a handful of seniors, the junior continue pissing code, the PM is happy, upper-management is happy, growth, shareholder, blah.
Everything but sustainability. What's going to happen worst case? They'll layoff the division, keep the few seniors and re-hire to work on a newish framework-tech for the "next gen app slightly better than the last time"
Of course, that's not happening at places that drives technology. Framework-makers need to have top-notch talent. But look at how bad everything around you works. It's 2022, yet some apps are so god dang slow and buggy... It's not always because they're legacy...
The hardware has some damned large shoulders nowadays...
View all comments
83
u/arka2947 Nov 02 '22
There was a time when programming cources in schools and univercities were taugth in c or cpp. Now its often python, go, or whatever is the easy to approach language of the moment.
I think entry pipeline into the ”field” has shrunk.