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
-
The !!attributes is fucking unnecessary there. Even being a juniour, it can piss me off right away. IT WILL GET CONVERTED EITHER WAY GOD DAMNIT
-
Ah ! he failed and wrote a return in a callback.
Also, is there some kind of rational / justification to go with this glorified dumpster fire? -
@Commodore it’s a http request hijack that reformats a request to meet our old standards.
-
Create a damned "let returnv" and PUSH IT TO THAT so you can DAMNING DEBUG IT ugh why this code makes me hate my js knowledge
-
@melezorus34 const prevents you from replacing the the object reference not editing its content.
-
@melezorus34 “this code makes me hate my js knowledge” get ya head out ya ass 😂🤣
-
funkyboss772yI have been around long enough to remember when this shit justified things like separation of concerns and n tier architecture. We are back to speghetti code for now. We will be back to calling this garbage again before long.
-
@funkyboss I hope so. I always decline these prs requesting much further abstraction and for the love of god less spreads. People think writing JavaScript like this is proving something but it’s just landing ridicule back on them.
Related Rants
This is why javascript gets such a bad rep. Javascript developers think their on another level of intellect by writing es6 BfuckinS like this
rant
if i cant read it your doing it wrong
js
you did it wrong