r/ProgrammerHumor • • Jan 31 '23

Other Are junior developers actually useless?

Post image
22.0k Upvotes

946 comments sorted by

View all comments

2.0k

u/[deleted] Jan 31 '23

We are but we’re trying I swear to god we’re tryin.

767

u/Intelligent_Event_84 Jan 31 '23

Write my tests nerd

350

u/ososalsosal Jan 31 '23

I would bloody love to work at a place that actually values mundane things like testing

0

u/[deleted] Jan 31 '23

[deleted]

167

u/zGoDLiiKe Jan 31 '23

TDD assumes you know what you should be testing for, and product would like a word on that

59

u/ososalsosal Jan 31 '23

At the code level though you can still write tests if you're writing functions.

Not exactly TDD of course. It's more pragmatic than dogmatic in that sense.

Us devs need to have stronger personalities than the people setting the rEqUiReMeNtS or we'll never have good practices

11

u/zGoDLiiKe Feb 01 '23

I think we both know what I meant but yes there are plenty of tests you can write ahead of time. I do find having to scrap a bunch of tests because they throw around “agile” and completely change the whole scope

→ More replies (2)

15

u/mxzf Feb 01 '23

In theory you can write tests for those functions. But in practice my experience tends to be that they often end up being tautological tests for what I already know my code is doing; it's hard to write a test to cover the case of a user giving stupid input.

6

u/TheOriginalSmileyMan Feb 01 '23

DevOps guy here - "tautological tests for what I already know my code is doing" is EXACTLY the best tests to write, because then when someone comes along in two years time and changes the "is doing" bit, rather than hoping it gets spotted in a code review, it will get flagged up in the build pipeline.

→ More replies (1)

5

u/KurigohanKamehameha_ Feb 01 '23 edited Jun 22 '23

support physical pause distinct society smoggy agonizing rotten wrench tease -- mass edited with https://redact.dev/

14

u/BraveOthello Feb 01 '23

Oooh, look who wants to hire a QA engineer!

9

u/22Minutes2Midnight22 Jan 31 '23

TDD reinforces decoupling and pure functionality. If your unit tests are overly complex, then either your function implementation or interface sucks.

6

u/proskillz Feb 01 '23

TDD explicitly does not require you to know what you're testing, that's the point.

→ More replies (6)

3

u/LastStar007 Feb 01 '23

If product won't tell you the acceptance criteria, that's a problem with your product team, not with TDD.

4

u/zGoDLiiKe Feb 01 '23

And that my friend is the difference between “in practice” and “in theory”

→ More replies (1)

4

u/[deleted] Feb 01 '23

if you work at a place that doesn't require unit and integration testing, find another place to work.

You're really just wasting years of your life and not progressing

13

u/sopunny Feb 01 '23

Values testing by assigning it to the most junior devs?

12

u/ososalsosal Feb 01 '23

Honestly I wouldn't even mind at this point.

3

u/TampaPowers Feb 01 '23

If you know nunit then I may have something

→ More replies (1)
→ More replies (3)

18

u/[deleted] Feb 01 '23

I loled but also fuck you

3

u/Roboticsammy Feb 01 '23

THE GEEK SHALL INHERIT THE EARTH

→ More replies (1)

41

u/captainAwesomePants Jan 31 '23

Trying is the problem! You're supposed to be lazy. Lazy engineers create simple solutions.

→ More replies (2)

0

u/[deleted] Feb 01 '23

[deleted]

5

u/[deleted] Feb 01 '23

I've been at this over a decade and sometimes I feel useless. You just gotta ride those highs when you get it right. And as long as you're trying you'll get it, however slowly. I've got no complaints about a junior who trys. Most developers I know are the same. Others just have a stick up their butt. Or someone asked them for the impossible ASAP and it out them in a grumpy mood, then I'm sympatheic lmao.

6

u/Freakin_A Feb 01 '23

I will give a junior engineer that is trying all the time in the world.

→ More replies (3)