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
-
kobenz868306dconst heyShitBag = (i_will, you_asshole) => i_will.reduce((you, fuckup) => {
if (fuckup in you) return you[fuckup];
throw new Error("eat shit");
}, you_asshole); -
lorentz15174305dInadvisable language ideas:
put "grand" before any dot-expression to repeat it. put "great" n times before "grand" to repeat it n+1 times, like so:
item. great great grand parent
It can also capture funtion calls on the right:
item. great great grand child(0)
[user]. great grand friends().flatten(1) -
TeachMeCode5175305dIf one of those parents gets wiped this code will crash. Like why can’t they simply iterate until the current node has a tabs prop (and handle the case when the first node has one)? Who writes this garbage?
Someone at this point MUST have realized this was excessive, and this someone kept going nonetheless
rant