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
-
kamen69964yHow hard can it be to place a breakpoint inside (or even just a log statement) and watch when it's hit?
-
kamen69964y@molaram Now imagine that there is something like JavaScript's eval() that can call functions dynamically (so that you wouldn't be able to find it).
-
madumlao4704y@molaram No, there are a lot of frameworks that do all sorts of "magic", where something abstracted 3 or 4 levels deep will call a method based on the name of something else based on something dynamically set, or the existence of a file, or an environment variable. *cough cough rails devs*
Doing a full grep for the function name, its permutations, etc is not going to turn up anything. -
dder23234y@madumlao +1 I remember that calling a function with a callback function which itself took either 3 or 4 arguments yielded different results.
Wrapper((a, b) => a+b) and
Wrapper((a, b, _unused) => a+b)
Will make a difference...
My linter warned me about ‘_unused’ being unused and I removed it. Then program crashed.
My comment was:
“Do not fucking remove that unused parameter. It will make the program crash!”
You guys, guess the language (and the library making use of that phenomena)! -
kiki353404yA fragile equilibrium of bugs and memory leaks somehow canceling each other out keeps this masterpiece alive
Related Rants
Obsolete function?
joke/meme
funny
obsolete
can't delete