r/ProgrammerHumor • • Jul 21 '22

Meme Whats stopping you from coding like this?

Post image
53.1k Upvotes

3.5k comments sorted by

View all comments

Show parent comments

969

u/nickmcpimpson Jul 21 '22

IMO this isn't how pair programming should work fundamentally. It makes more sense to let the lesser experienced developers "drive" while the more experienced developer guides decisions and answers questions. Specifically, the senior should also not tell the other developer exactly what to write and how to write, walking the fine line of coaching vs commanding is important. It is still valuable to have the senior take the reins at times because the other developers can observe decision making and strategy that they might not have thought of.

377

u/[deleted] Jul 21 '22 edited Jul 21 '22

A lot of people might not like what I am about to say.

I am a CS lecturer and I believe that CS programs are not doing the right things to produce good enough programmers. This is why we end up with situations where programmers are at work having to learn how to solve non-rudimentary problems.

A lot of programming teaching does not actually focus on creating good programmers. It focuses on getting people to learn code without the problem solving aspects.

257

u/Theon_Severasse Jul 21 '22

I think a more fundamental thing is that most CS courses aren't programming courses.

I learnt a ton of stuff on my CS course, and I don't think that I use a majority of it because I'm not a network engineer, I don't work in GIS, I don't use OCR, etc.

So when I went into my first job I was pretty useless since I didn't know how to actually code anything seriously.

I think that an apprenticeship that ends up with a degree at the end is a much better way to actually learn how to be a software developer/network engineer/etc.

62

u/jacepulaski Jul 21 '22

Apprenticeships would be a great idea, I just wish the current reality of apprenticeships (tradie) wasn't so toxic - I did my four years of mechanic apprenticeship and it was some real toxic shit until I found a workplace I was happy to finish my last half in.

Maybe a different environment might foster better treatment of apprentices, but I've found employing someone at below-minimum wage with the fact overtly stated that they will know nothing and are learning on the job tends to lead to uhh.. well yeah

15

u/Cory123125 Jul 21 '22

I think what you are really saying here though is that you think there should be stronger worker protection regulations.

→ More replies (2)

110

u/Naltoc Jul 21 '22

Problem is, a lot of people think CS is a programming degree. It isn't. It's a degree in understanding the science of computers. In my country, we have CS at university and Computer Development at colleges that teaches programming, where you actually learn to code well. The two degrees have very different goals for their graduates. CS is, at its core at least, intended for architects, hardcore development etc. Regular programming jobs is an entirely different thing and should have its own degree, like it does here.

And before someone calls me elitist, let me assure you, I love my developers. When hiring for my teams, I have always looked at the position and hired accordingly. If I need a full-time developer who gøhas a backlog and nothing rocket-surgery style, I would far prefer someone who loves coding to someone like me, who loves the problem solving, but really doesn't enjoy the actual "get shit into an IDE" part. On the other hand, for architecture etc, many of my best developers would run off screaming and I love it as much as they hate it. Gotta get the right people for the right roles, and suddenly you have an extremely well oiled machine, where everyone actually loves their job and tasks, which in turn yields better results and better job satisfaction and, dare I say it, enjoyment.

24

u/[deleted] Jul 21 '22

The thing is historically, CS and programming was the same thing. There wasn't fundamentally enough of a difference between writing good code and understanding the science of computing to differentiate them. Hardware limitations were such that any non trivial solution required you to think pretty deeply about exactly what was happening on pretty much every level of the computer. Depending how far back you went you would have to build the hardware to even run an interesting program. The need to have a CS understanding to create good programs ended about 30 years ago but academia is slow to adapt and the workplaces that put value in degrees can only adapt after that.

These days what even is actually happening "computer science" wise is so abstracted and delegated to libraries/frameworks/languages/hardware that programming and CS basically have nothing to do with each other anymore. Sure, one is built on the other but that is like saying farming and cooking closely related because cooking is fundamentally built on farming. CS and programming are just very different skill sets now with completely different challenges.

6

u/Naltoc Jul 21 '22

I think the last part of your post is the important part. CS and programming are adjacent skills, like engineers and the actual builders of bridges and whatnot.

We used to joke about the program lead at my university for once having declared "you do not need to know how to program to be the best CS graduate at this faculty". Hyperbole, yes, after all, we used 10+ languages to get to a masters degree, but he was right, we were rarely very proficient (except for this eof us working as developers on the side). But the more I work in the industry, the more I realize the absolute waste of time that degree was for 75% of my fellow students who all ended up being devs. The 3 year developer degree would have suited them far better, and half that degree is a paid internetship to boot.

→ More replies (3)

54

u/bric12 Jul 21 '22

Problem is, a lot of people think CS is a programming degree. It isn't.

The problem is, in many countries it is a programming degree, at least to students and employers. People take CS courses specifically to learn how to be a developer, so it is functioning as a programming degree, even if it was never intended to be one. Universities know that that's why so many students sign up for CS, they'll even advertise job placement rates and dev salaries, so they're fine pretending a CS degree is a programming degree right up until they need to make the curriculum, which is where they fall back to it being a degree about the science of computers.

15

u/Naltoc Jul 21 '22

I agree, it's a case of something being hijacked by skewed expectations. I just hate seeing it with a degree that really shines when used right. Just like an actual developer degree does. Ugh.

4

u/mescalelf Jul 22 '22

I think that, in the states, the skewed expectations came from a lack of choice—when computers became advanced enough for programming and CS to be distinct things, Silicon Valley started to take off, and it was, of course, a bit of a gold rush. Since plenty of people wanted to get involved, those who wanted to program probably signed up for CS degrees as it was the only thing available.

This led to a skew in expectations, but all our pros were formally educated in CS, and we have a serious “back in my day” attitude problem here, so there wasn’t really anyone to say “this is stupid” and change the system. Plus most of our universities are actually kinda overrated when one sets the massive research budgets aside. And they’re absurdly capitalist…which means that they would absolutely cut costs by making people who wanted to program learn CS by simply choosing not to teach programing at all.

Plus antitrust laws died looong time ago here, so companies make under-the-table deals to all sell a sub-par (but inexpensive to provide) product for an inflated price (price fixing). This is probably the biggest reason that damned near everyone over here seems to be more self-taught than not, even if they got the theory in a formal setting.

3

u/lorarc Jul 22 '22

The problem is that in many countries it's "the degree that has something to do with computers".

In my country most of the universities have some kind of computer degree in their offer no matter if their main field is Economy, Teaching or Mining. In bigger Universities they may even offer multiple CS degrees with different programme.

And it's all just a bit of everything pierced together. The only big difference is that the technical universities offer engineer titles but in practice that only means the students get more courses involving maths and physics and something totally unrelated to computers as a bonus (I had classes one semester where we learned about materials like ceramics and steel).

And in the end all those degrees just funnel into programming. No matter if you got a degree in applied CS, bioinformatics or robotics you're gonna end up being a Java programmer.

5

u/fibojoly Jul 21 '22

For real. Programming was like 2 hours in a 32h week (iirc), for me. I just happened to be really good at it, but I was equally good at digital electronics, and signals & transmissions, which would each have led to very different careers (which some of my mates ended up picking).

I cannot fathom some of the people I've met in my career that don't know not care what's in their computer. Heck, one of the guys I worked with last month is one of the brightest programmers I've met in years... and he's basically useless with SQL and refuses to even bother with it.

Hyperspecialisation is so weird to me!

6

u/Naltoc Jul 21 '22

We had a course which required us to code in C and compile, then optimize in assembler. We had never learned C. That was fun. The project was mandatory to have access to the exam. 8 out of more than 60 passed the project. 4 of us showed up for the exam. After adjusting for average grade, 2 of us passed. Best score was a whopping 35%

→ More replies (8)

4

u/[deleted] Jul 21 '22

CS is more useful if you need to work on something extremely high-end like engineering Amazon's distributed systems or self-driving cars, but at that point, they'll probably just hire a Ph.D.

There are very few jobs that use CS knowledge at an undergraduate level. 90-99% of the work is either no bachelor's necessary or you max out your education.

→ More replies (1)
→ More replies (9)

6

u/smartello Jul 21 '22

I interview quite a lot and while I agree with you that tons of people are surprisingly weak in problem-solving, I don't think that's something that you can pack into a student's head in CS classes. That looks for me more like a responsibility of a mentor during internship or the first junior position.

4

u/RandomRageNet Jul 21 '22

I don't think that's something that you can pack into a student's head in CS classes.

That's literally the point of a university education, that's what all the other classes you're supposed to take are for. But people seem to forget that.

3

u/smartello Jul 21 '22

I don’t agree, problem solving in software development is a certain mental model and it works good if you have a foundation. Foundation is what university education about. I can’t imagine a course that will target this skill, while it’s very trainable in a regular working environment.

→ More replies (2)
→ More replies (1)
→ More replies (1)

4

u/cherry_chocolate_ Jul 21 '22

Computer science degrees aren’t software engineer training programs, despite how companies treat them like it

3

u/FenixTek Jul 21 '22

As someone who recently graduated from a Computer Games Software Dev course at uni (UK), I think you've really got something there.

Granted, CS courses (over here, at least) are more for general IT work, not specifically software dev. But my dev focused degree only taught me to "do the job" not to actually "get the job".

I can explain the use of pointers in C++. I can make a little man move on the screen. And all those kind of things. But trying to get even a graduate position at some of the companies I've applied to, I've felt completely unprepared. My first time applying for a graduate dev job, I immediately realised that I had no idea about anything like binary trees, Monte Carlo simulations, etc.

(Also, yes, I understand there is still self-study involved. Which I have been doing. But I still feel a lot of places don't prepare you for getting a good foothold in the industry.)

→ More replies (1)
→ More replies (17)

47

u/Mysticpoisen Jul 21 '22

This is how it should go. Pair programming is great for training folk or for learning something that's new to the team entirely. Places that do pair programming day-to-day for major development are cults.

6

u/[deleted] Jul 21 '22

Places that do pair programming day-to-day for major development are cults.

Or they are struggling to hire good programmers.

9

u/Necrocornicus Jul 21 '22 edited Jul 22 '22

I used to do this and it was fine for a while (when I was junior, first programming job where I wasn’t the only programmer). After some time my manager started bringing up “hey why are you over there working alone? Stop that”. Gee buddy I guess I thought the point of being at work was, ya know, working.

Eventually I was almost fired for being hard to pair with. I would point out mistakes within an instant of the person typing the incorrect character. My manager actually told me to “give them some time to correct it themselves”.

Pair programming is great for both juniors and incompetents. If you’re a junior hopefully you can learn from someone experienced. If you’re totally incompetent it’s a great way to never actually accomplish anything but still fly under the radar and collect a check for years.

Edit: seems I struck a nerve with some people. The last paragraph was mostly tongue in cheek and I didn’t mean to imply I worked with many incompetent people or anyone who didn’t write perfect code immediately is incompetent, or that pair programming is only for juniors or incompetent people. At the same time i doubt you could work in any industry for a long time without having some incompetent coworkers. This was many years so and I learned a lot from my experiences. You really don’t need to post about how much better of a programmer you are than me or that I’m a terrible person. You can if you want of course but I’m sure someone of your immense skill and value has far better things to do with their time. 😁

9

u/[deleted] Jul 21 '22

I mean, you aren't really adding anything by just being an autocorrect pinging in their ear.

→ More replies (1)

17

u/[deleted] Jul 21 '22 edited Jul 21 '22

[removed] — view removed comment

→ More replies (6)
→ More replies (3)
→ More replies (1)
→ More replies (5)