ProgrammerHumor

whoShouldWeBelieve

whoShouldWeBelieve
https://i.redd.it/0sqobtykjocf1.jpeg
Reddit

Discussion

rover_G
:c::rust::ts::py::r::spring:

LLM is biased towards validating the user. Sr. Dev is biased towards their own opinions about how code should be written. The career move is to listen to what your senior has to say.

1 day ago
gerbosan

If you want to keep that work, right?

I suppose one has to differentiate between general good practices and preferences.

1 day ago
rover_G
:c::rust::ts::py::r::spring:

Even if you’re unhappy with the current work/tech stack/priorities it’s still the career move to accept your senior’s feedback.

I have personally made the mistake of telling my senior and manager that not using a code formatter leads to poor code readability and maintainability. They disagreed. I have not worked on a project without a code formatter since, but my life would have been easier if I embraced a more flexible mindset in that role. And yes I moved on from that role quickly because of numerous issues I took with the development strategy.

1 day ago
GeneralBrothers

Huh, what would be your senior’s argument here?

18 hours ago
ArgentScourge

If it's that kind of place, probably some variation of "because I'm the boss".

16 hours ago
rover_G
:c::rust::ts::py::r::spring:

The manager said there’s no such thing as a style guide, you just see someone else’s code you like and you copy their style. The senior may just not have wanted to rock the boat, or he didn’t know what a formatter was. Not using a code formatter was far from being the most egregious technical decision these guys made.

8 hours ago
bluecorbeau

The word you're looking for is Sycophant. AIs are Sycophants inherently.

1 day ago
NatoBoram
:g::dart::ts:

a person who acts obsequiously toward someone important in order to gain advantage.

I fucking hate the dictionary sometimes

a person who acts [obedient or attentive to an excessive or servile degree] toward someone important in order to gain advantage.

It's not that hard, fucking hell

21 hours ago
invalidConsciousness
:r:

Now add another layer with "servile". (That one is less problematic, though, as the corresponding verb " serve" is a common word and you can guess from that context.)

13 hours ago
Fragrant-Reply2794

Nah LLM will always fix something even if nothing needs fixing.

It's biased towards producing an output other than Yes/No.

1 day ago
ColumnK
:cs: :ts:

Even if you take its own output and pass it back in, you'll get something. And that something often includes reverting changes it just told you to make.

12 hours ago
Unhappy-Stranger-336

Glazing language models GLM

1 day ago
alexppetrov
:j::cp::js::py:

Depends on how you ask the LLM, if you just ask it "does it look good?" It will validate you. If you ask it "pinpoint areas where the code can be improved" you might get some good answers*

* you have to understand what your code does or needs to achieve in order to understand if the suggestions even make sense.

1 day ago
SexyBriseis

When you ask if your code is good and the senior dev's soul leaves his body, but the intern still tryna be supportive. 😂

1 day ago
Lars34

Honestly, I am a medior dev and giving tasks to a junior dev. The code she writes is quite messy and I sometimes feel like it would need to be completely rewritten. I don't want to discourage her though, because she's very bright and eager. I struggle with how to handle this tbh.

1 day ago
Extreme-Kangaroo-842

Pick one thing to focus upon and advise on how to improve it. Don't go wholesale into every little detail as that's overwhelming. It's all about small guidances to make code more readable and giving confidence in their abilities. Confident coding is half the battle.

I started developing 25 years ago and this is how the lead developer handled me. Little things that give you a lightbulb moment and I fully appreciated how he nurtured me. I was a terrible coder back then, but those gentle nudges in the right direction set me on a path to being a decent one.

Cut to today and I'm now working with him again for the last 7 years. I'm now highlighting things to him to make his code more readable and we're now producing great stuff. It's almost symbiotic now as we can read each others code without even thinking about it. Makes code reviews a doddle.

Think of yourself as a mentor, rather than a critic.

1 day ago
Lars34

Thanks, that's good advice!

18 hours ago
kuschelig69

In the past the compiler would tell me that my code was perfect

1 day ago
Flimsy_Meal_4199

If compiles no bugs

Just unintended features

19 hours ago
RiceBroad4552
:s:

🤣

Yeah, the compiler will always validate you and all your smart decisions.

14 hours ago
dim13
:g::c::terraform:

LLM is a new intern. You tell him 20 times what to do and he still produces garbage.

1 day ago
KelenArgosi

But then the intern becomes a senior dev after working for a long time, whereas the llm... well, doesn't.

1 day ago
PointedHydra837
:j:

BuT mUh AI wiLl gEt eXpOnenTialLy bEtTer iN dA fuTuRe!!! It wIlL taKe uR cOdInG jOB!!!!!

1 day ago
gerbosan

Management doesn't care... until.

1 day ago
Boris-Lip

And unlike a new intern, it NEVER learns.

1 day ago
CalmEntry4855

Of course he thinks it looks good, he wrote it

1 day ago
pasvc
:m:

LLM trick: does my code look good? Give me a review in the tone of Linus Torvald reviewing a PR

1 day ago
jeremj22

*proceeds to reject every piece of code you give it*

1 day ago
pasvc
:m:

The best answer I ever got was "please read a book on concurrent computing from AFTER the Berlin Wall fell"... Broke my heart a little

1 day ago
SoftwareSource

We had a pissing contest on a project who can be more funny/insulting on a pr (bunch of young dudes)

A comment read something like: "This has enough extra chromosomes to build an extra human"

2 hours ago
russianrug

Don’t let an LLM exclusively review your code, BUT I have actually gotten some really great advice when I’m not sure about a small snippet of code by asking “what’s wrong with this code” or even better “wouldn’t this cause X issue”. As usual, the more experience you have (to judge whether the LLMs answer is full of shit) the better. I’ve even learned gotchas that I didn’t know about (that I googled in depth to confirm the LLMs veracity).

1 day ago
tsunami141

Same. It’s helpful for when I know the code I’ve written is bad (I mean like… more than usual) but I don’t have the mental capacity for figuring out a better way to do things. 

1 day ago
numahu

1 day ago
MeowsersInABox
:py:

The code in question:

``` import math

def flipsign(o): if math.abs(o) > o: return o + o*2 else: return o ```

1 day ago
Agifem

What the absolute hell!?

11 hours ago
mfarahmand98

But that’s not exactly on LLM. Any code that I haven’t written myself doesn’t look good to me.

1 day ago
RiceBroad4552
:s:

I've seen rare exceptions to this rule.

There are some gems here and there. Some smart and beautiful code. But it's indeed seldom.

12 hours ago
Vast_Fish_5635

Amen

1 day ago
Boris-Lip

We have an LLM (not even sure which one) hooked up to "review" our PRs. And it's OUTRAGEOUSLY bad and time wasting. In the best case scenario what it comments is an obvious BS, and can be ignored without looking. But sometimes it looks real, i actually think for a moment "wow, seriously, did i really miss this?" I look there, and the case is actually handled properly, but i've wasted the time to actually look. I have yet to see it catch a real issue ONCE🤬

With all the AI craze out there, i really only found it to be useful as an advanced auto complete. Or to generate snippets of mostly boilerplate code. Or spit up cmake syntax i never remember. Stuff like that. But never serious stuff.

1 day ago
kuschelig69

I work in academia and have to write papers

I then gave it to chatgpt for proofreading. then it tells me I should insert a comma in some sentences. then I look at the sentences and the comma is already there

14 hours ago
Them_EST

Mine is bad that even AI don't like it.

23 hours ago
rng_shenanigans
:gd::cs::j::ts:

They are both wrong

1 day ago
nobody0163
:c::cp::cs::py::ts::asm:

Does my code look good? LLM: Yes, but there are some flaws: [Hallucinates errors]

1 day ago
phillyJO69

Senior Devs give you truth. LLMs give you confidence.

1 day ago
RiceBroad4552
:s:

LLMs give you confidence.

Doing things wrong.

That's a problem.

12 hours ago
leonbollerup

seems to exploting with devs that is buthurt on AI in here lately..

1 day ago
KelenArgosi

All these colours, it's so pretty !

1 day ago
No-Finance7526

Take the median. Since the median can be any number in the middle, it can be any number in the interval (0, 1). Then, take the biggest number you can think of. With enough precision, that number approaches 1. Therefore, 1 is the answer both parties can agree on

1 day ago
LegitimateCopy7

LLM: yes because I wrote it.

1 day ago
Caraes_Naur

The one with real intelligence who will be writing your performance review.

1 day ago
dcondor07uk

Sr LLM

1 day ago
MeinWaffles

Your code sucks it will never be good enough. Excuse me; I need to go cry about something unrelated.

1 day ago
LostTheBall

Should fix to "LLM that wrote it"

15 hours ago
-fallenCup-

But what would Tuvix say?

4 hours ago
SoftwareSource

While i agree with the general point, most truly senior seniors have similar character to Tuvok, so their validation is like Yeti.

Some people claim to have seen it, but it's usually the ones that you would not believe.

2 hours ago
tauzN

Rhetorical question for an LLM.

It will always find something wrong. Like a toxic partner.

1 day ago