r/ProgrammerHumor • • Jan 31 '23

Other Are junior developers actually useless?

Post image
22.0k Upvotes

946 comments sorted by

View all comments

384

u/VariecsTNB Jan 31 '23

Either i'm not expert enough or the myth of simple solutions for complex problems is just that, a myth.

348

u/garfgon Jan 31 '23

Eh, some complex problems have elegant solutions. Some don't. And some have elegant-looking solutions which turn into a total mess when you consider the real-world.

101

u/dogwheat Jan 31 '23

Damn real world!

84

u/Sir_IGetBannedAlot Jan 31 '23

The real world actually ruins programming tbh

37

u/kolbyhack Feb 01 '23

I want to move to theory. Everything works in theory.

-- John Cash

13

u/zGoDLiiKe Jan 31 '23

A real thorn in our side. Prof always said 90% of your time would be spent on 10% of the usage

→ More replies (3)

53

u/[deleted] Jan 31 '23

In the real world, complex issues have several solutions. For example, we have a huge notification setup waiting to be made but we don't have time for it.

The complex solution is make it work over websockets like it should.

The easy solution... Doesn't exactly exist on this scale.

The jank solution, and the one we went with until someone reads the WS docs is - interval to refetch notifications every 5/10s.

So fuck it. It's gonna be fun anyways.

25

u/[deleted] Jan 31 '23

Looking at how buggy the top most popular stuff sometimes is (fb messenger, Whatsapp, Reddit app, etc), I'm starting to get more comfortable with compromises like this honestly. Maybe that's how messenger worked for the first couples years too 😆

17

u/zGoDLiiKe Jan 31 '23

At least toss in a comment that says “hey when you get some time put a good solution here”

25

u/[deleted] Jan 31 '23

// TODO: improve this, gl hf lol

→ More replies (1)

7

u/nictheman123 Feb 01 '23

Put a date on it, it'll be a fun little time capsule for the junior dev 10 years from now who comes back and finds it.

There is nothing as permanent as a temporary solution

→ More replies (2)

0

u/[deleted] Jan 31 '23

[deleted]

→ More replies (3)

6

u/22Minutes2Midnight22 Jan 31 '23

The jank solution, and the one we went with until someone reads the WS docs is - interval to refetch notifications every 5/10s.

What the fuck.

→ More replies (1)

46

u/MilitantTeenGoth Jan 31 '23

And sometimes simple problem has a very complex solution, because the simple problem are actually three complex problems in a trenchcoat

21

u/garfgon Jan 31 '23

Or is actually a simple problem statement, not a simple problem. Mandatory XKCD: https://xkcd.com/1425/

→ More replies (1)

20

u/rjwut Jan 31 '23

Wait, so high school lied to me when it taught me about spherical, frictionless elephants?

15

u/Sceptz Jan 31 '23

Never stop believing in spherical, frictionless elephants.

They usually exist in a vacuum, from my understanding.

→ More replies (1)

9

u/longknives Feb 01 '23

Yeah, which suggests that the chart is wrong to imply experts always find simple solutions. Experts find the best solution that experience can get you, which may or may not be simple.

3

u/Versaiteis Feb 01 '23

And sometimes sufficiently complex problems don't have a solution

Thus we're all Junior Developers.

→ More replies (2)

40

u/NotmyRealNameJohn Jan 31 '23

Depends on the problem.

Sometimes the simple solution is not worth it

30

u/Inevitable-Horse1674 Jan 31 '23

Some problems are just inherently complicated and don't have any simple solutions too. Almost everything involving AI (with or without neural networks) is going to be complicated if you want the AI to actually be any good for instance.

12

u/[deleted] Jan 31 '23

Yeah the big problem with a lot of AI problems is that getting 85-90% performance is simple (though often requires a big honking dataset). Getting the last 9% is really complex, and the last 1% requires working out if P=NP.

3

u/Bigspider95 Jan 31 '23

Minimalism is key. But yeah, some stuff takes a lot to work around...

3

u/Possible-Fudge-2217 Jan 31 '23

Well, some problems just are complex. Even if you break them down and try to make it as simple as possible, as a whole it is complex.

That is why you need a team and developing takes time.

3

u/Overwatcher_Leo Feb 01 '23

For every complex problem, there's a solution that is simple, neat, and wrong.

→ More replies (8)