- 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
Well clarified!
Captcha = conventio (the comings and goings at a nunnery)
Admin
Apparently 100%.
Admin
I didn't say the sentence was incorrect. Yeah, I like to read posts that have no typos, no grammar inconsistencies, and no other mistakes. Sure they are easier to read. But claiming that in a short sentence, "sister's brother" adds more clarity than "sisters brothers" just tells me that you are a moron and can't figure anything out. There is nothing else in the sentence to muddy the water, so it is pretty clear that he was talking about the brother of the sister. I would say that most people didn't even notice the mistake, and the majority of the people who did notice the mistake, knew exactly what was meant, but notice the missing apostrophe.
It is wrong, but in this specific example, adding an apostrophe doesn't make it any clearer.
Admin
As such there could not have been a better explanation for try..catch..finally..
Why not :- ... ... boolean preference = false; // get it from user int ageLimit; // get it from user Sister[] BroInLawSistersOrMyWives = null; try { if (preference) { BroInLawSistersOrMyWives = NearFutureBrotherInLaw.getSisters(ageLimit); } else { BroInLawSistersOrMyWives = NearFutureBrotherInLaw.getSisters(); } } catch(Throwable t) { Logger.log(t, "Hard luck! be happy no liabilities as such :o)", Logger.CRITICAL); }
boolean success = false;
try { for (int index = 0; index < BroInLawSistersOrMyWives.length; index++) { success = Wedding.executePlan(BroInLawSistersOrMyWives[index]); if (success && index != BroInLawSistersOrMyWives.length) { Logger.log("Ah worst / best nightmare! more to come :o)", Logger.INFO); } } } catch (Throwable t) { Logger.log(t, "Hard luck! be happy no liabilities as such; God has bestowed another chance :o)", Logger.CRITICAL); } finally { if (success) { // at least once Divorce.ConsultAttorney(); } } ... ...
Admin
Syntax error: When did "My wife's brother" quit?
Admin
this thread made me shed tears of laughter! wow.
Admin
Admin
You're right. In a short sentence, miscapitalization is more likely to lead to misunderstandings.
"I helped my uncle Jack off a donkey"
"I helped my uncle jack off a donkey"
See?
Admin
Admin
There's a lot of points I can make about that code although I can't see API.h nor know if he's in control of it, but the biggest criticisms I have of the entire thing are:
Use of callbacks instead of an abstract base class. (May be forced upon him if API.h is not his own but even then use a proxy method).
Too many statics when possibly one singleton class is what he is looking for.
Also noticeable is that there are no consts anywhere plus the horrible K&R bracing which makes he code less readable.