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
-
meretan11357yI look at code from last week and wonder if I was high on crack or sth. While I wrote itπ
-
this looks like you are slowly morphing into an enterprise java developer, did you write any SQLDAODBImpl classes lately?
-
You were writing on an editor without auto-completion and you were rightfully trying to save 19 keystrokes for a pretty often used function. Seems legit to me.
-
aliyusuf937y@redundandundant
Exactly, I was using notepad++, but the funny part that I used jQuery UI for date picker ππ -
@redundandundant he could have just done
var byId = document.getElementById;
Y'know, cause that's valid and much shorter -
@iam13islucky true, but you have to know that in JS functions are first-class objects. IMHO you learn this after you understood other basic programming concepts.
-
@redundandundant his code already used a function, I just cut the wrapping function out.
Related Rants
I just saw a code from 5 years ago .. WTH I was doing ?!!
joke/meme
javascript
js