- Feature Articles
- CodeSOD
- Error'd
- Forums
-
Other Articles
- Random Article
- Other Series
- Alex's Soapbox
- Announcements
- Best of…
- Best of Email
- Best of the Sidebar
- Bring Your Own Code
- Coded Smorgasbord
- Mandatory Fun Day
- Off Topic
- Representative Line
- News Roundup
- Editor's Soapbox
- Software on the Rocks
- Souvenir Potpourri
- Sponsor Post
- Tales from the Interview
- The Daily WTF: Live
- Virtudyne
Admin
Every project in every company in the world has some broken stuff lying around somewhere unused.
A bit like how every society, despite how efficient and dynamic it claims to be, always has people in it who etc. etc.
Admin
Admin
I am trying to imagine the excuse this "developer" would have to come up with to prevent me from firing him for creating member names "i" and "l" and "ll", and none come to mind. WhyTF do I need someone polluting my codebase with counter-productive names?
Admin
"Efficiency".
Admin
lazyness in typing
Admin
I'd guess that g probably stands for 'globals'.
Admin
When I talk to people who dislike TypeScript, stating that they don't like all the boiler plate code, ceremony and needing to use a compiler, I imagine it's because they write code like this in which things like "strong typing" and compilers just "get in the way" of them delivering code.
Admin
TRWTF is not using Typescript or something to make this cause an immediate build failure.
Admin
this one actually makes sense to me (with the exception of the errors, obvs). It's just a utility script meant to be used in the console, not part of the software, hence the focus on terseness. You might as well complain about unix.
Admin
Increasing cost of keyboards?
Admin
Nice point about the terseness of linux commands. However, at least there are man pages for those. This one should at least have the word "log" in it.
Admin
...fixed (lol)
Admin
Ouch, brings me back to my biggest fumble to date. I had build a data logging framework and obviously needed some sort of error handling (if hardware devices such as furnace controllers etc did not operate properly), and I didn't want to type errorlog() each time when I could just as well short it to a 3 letter function name..
Guess what, I chose the name log for my errorlog function, completely forgetting that there already existed a perfectly fine function with that name, and being Perl it of cause allowed me to fire at my own foot by allowing me to overload the core log function with my own. And as my errorlog returned 1 on success (meaning that it could write to the log file), a few years later when i needed to do some math as well I had to take the logarithm of some number close to 2.6 (but not exactly e). For weeks couldn't understand why
You can bet I felt stupid when I finally discovered what I had done......
Admin
"You might as well complain about unix."
I could complain about Unix all day. All those stupid 2-3 letter abbreviations for commands. You know it's dumb when they shorten a 4 letter word down to a 3 letter word!
Admin
I do, regularly
Admin
always has people in it who etc. etc. ?
who? what? Vote wrong? Live on the streets? become bankers? hate other people? do free love? give hugs?
please do not keep us waiting....
Admin
If it is 3rd party, wrap-it. If is is first party, and may go away [aka Silverlighted] wrap-it. This technique has oft allowed me to adapt to vendors going out of business and all related, in a matter of days or weeks, while others straight for months or years or simply give up.
Admin
"I tried strong typing once.... nearly ruined my keyboard!"