Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
@jesustricks the json format is way more strict than javascript.
Double quotes needed, no trailing commas -
If you do code reviews, just don't accept garbage code. You can improve code over time and keep it clean only by doing strict reviews.
-
@Codex404 yes my brain stopped working for a second.
so either a very irrestrictive json parser or this shit doesn't even run, im starting to think the latter -
Root825576yFire him.
Or barring that: rewrite a segment of his code in a tenth the lines. Some people just stop learning after awhile and need a literal kickstart to realize there are still things they don't know. -
"Senior" - 1 year experience, 14 years repetition. I cant be 100% sure from the screenshot that you're in JS land, but if you are show him JSON.stringify()
-
Rewrite that shit for the next dev ... Live im on 6 shiti projet and i try change my job....
-
@Llama Damn man, I cannot tolerate that kind of bullshit. Please change your team or job. You deserver better than that. I feel sorry for you
-
Fucking wow. Your senior dev needs a promotion to tea boy. That is the single most ingenious thing I've seen as a developer. A true pioneer
Senior: I've been programming for a long time. I know JavaScript.
Me to myself: I've seen your code, it is shit.
Senior: (builds JSON with string concatination)
Me to myself: ...
What am I to do? The system is full of stuff like this, and minimal support from management to fix and rewrite.
rant
javascript
incompetence