- 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
I will try to rememember to misspell mispell consistently.
Admin
public class Strign extends String{} would be a mice addition
Admin
Why
super.toString()
? Why not justtoString()
.Admin
This is a brilliant WTF. Time to read under 30 seconds, but I've laughed
Admin
super is base in Java, right? I'm always confused by the confusing naming in Java.
Admin
This violates a code-smell rule of mine that super should only be called on the same named method.
Admin
A misspelling of mechanical [and in an inconsistent way] once cause an industrial tooling manufacturer hundreds of thousands of dollars when it was missed in a code update... [This happened close to 30 years ago - yes, there were tools and processes, but remember, the Agile Manifesto had not even been written yet!]
Admin
alias sl="echo STORSTOCKHOLMS LOKALTRAFIK"
Admin
My favorite typo was 'snapshit' that appeared in many places instead of 'snapshot' in a certain code base that I worked with.
Admin
Are you sure it was a typo ;)?
Admin
British vs American spellings can get irritating. I've resigned myself to using
Color
because that's in a lot of built in stuff, but in my current codebase it's a bit of a toss up whether any individual example will be anAuthorisation
or anAuthorisation
Admin
Apparently your auto-correct also has opinions
Admin
Why not install sl instead?
$ apt show sl 2>/dev/null | grep -e Description -e Homepage Homepage: https://github.com/mtoyoda/sl Description: Correct you if you type `sl' by mistake
:)
Admin
Damn formatting :/
Admin
Or "gti" - https://github.com/rwos/gti - in case "git" iss bieng conzysdentley misspellet.
Admin
The most annoying autocorrect I've ever run into was on my Android phone. I needed to go to a certain location for a job interview. The location in question was located along Traeger Court, so I fed the location into Google maps on my phone. The autocorrect took one look at the address and, presumably, decided that Traeger wasn't a word it had in it's dictionary so it changed it to Treater. Good to see Google has my back when it comes to getting to a job interview without any issues.
Admin
I frequently misspell "district" and "student". Luckily I only handle the student data for all school districts in one state.
Or rather, the studnet data for all school distrcits.
Admin
Interesting to see issues with the pointer fingers. Mine are usually with the pinkies.
Admin
And that's why I always use British English spelling. Apart from the fact that I am British (so why shouldn't I), I don't want to fight autocorrect in the comments and documentation.
Admin
Yeah, by using super.toString() it disregards any definition of toString() in this class (or subclass). For bonus points, I would log a warning whenever toStrign is called, and mark that method as @Deprecated so that new occurrences of this typo are easily caught.
Admin
I've heard stories of people who did things like
#define retrun return
and#define flase false
Admin
I worked for a company named CECO years ago. Word would correct it, quite appropriately, to Psycho.
Admin
I've had "git statsu" aliased to "git status" for many years. Same energy, I guess.
Admin
Just delete the evil thing and fix the problems now.
Admin
Or maybe not. It's not public String toStrign() { return toString(); } It's public String toStrign() { return super.toString(); }
If you've overriden toString() in that class, then toString() and toStrign() return a different thing. That might break things. It's not a good name for a method that's supposed to call the inherited toString() implementation, but ...