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
-
Smae for nesting ternary operators/predicates. Looks good but almost fucking unreadable. I prefer 2-3 if statements in a return instead trying to decypher your predicates.
-
I agree, even though I do not mind JS and quite love TS: One line arrow functions are hard to parse and reason about. But I believe this might come from my own bias against them coupled with the fact that I just don't like the way they look.
-
Like, if I ever see a "clever"/complicated experession in one of these, it's a syntax error for me. Never allowing such complication.
-
@AleCx04 so you don’t hate jacascript and loce typescript? That is script kiddie behavior
-
@aviophile No, I just don't neckbeard about programming languages or tech environments as if it were some sort of religion. If it pays well, I would even work with VBA.
I like money, and have little care about neckbeardeness and elitism inside of the field 🤷 -
@AnxiousADHDGuy I use it as a way to describe: fat, elitist, annoying, arrogant people that go out of their way to make the programming landscape an elitist cult of assholes.
From google: a man who is socially inept and physically unappealing, especially one who has an obsessive interest in computing.
It stuck with me forever and i basically use it to describe elitist assholes. -
@AleCx04 I like getting neckbeards to fight each other. Yes, this is wrong, but I like popcorn.
-
C0D4681462yOne liner, sure.
Several nested decisions in one line, is immediate delete and turned into if/else or switch depending on the language.
There's "I'm an amazing dev - look at me" and there's "wtf even is this anymore"
@AleCx04 shh, I still write VBA. -
@AleCx04 I like this. Reminds me of those Star Trek wankers that argue about episode counts and backstories
-
Tbh with this code pilot shit taking over. I’m making it as complicated as fuck for the lols because I don’t want some ML taking my job
-
Wrong through and through. But have fun writing "function" throughout your codebase
Your one-line JavaScript arrow functions AREN'T LEGIBLE! You've just memorized their shape. It's OK. But don't lie to yourself. They look super stupid. They aren't for humans.
rant