Click here to Skip to main content
15,891,136 members

The Weird and The Wonderful

   

The Weird and The Wonderful forum is a place to post Coding Horrors, Worst Practices, and the occasional flash of brilliance.

We all come across code that simply boggles the mind. Lazy kludges, embarrassing mistakes, horrid workarounds and developers just not quite getting it. And then somedays we come across - or write - the truly sublime.

Post your Best, your worst, and your most interesting. But please - no programming questions . This forum is purely for amusement and discussions on code snippets. All actual programming questions will be removed.

 
JokeRe: I just got greeted by this Pin
fjdiewornncalwe19-Oct-10 6:16
professionalfjdiewornncalwe19-Oct-10 6:16 
GeneralRe: I just got greeted by this Pin
leppie19-Oct-10 18:50
leppie19-Oct-10 18:50 
GeneralDoes C++ long for VB? PinPopular
Tsuda Kageyu15-Oct-10 10:04
Tsuda Kageyu15-Oct-10 10:04 
GeneralRe: Does C++ long for VB? Pin
megaadam17-Oct-10 21:13
professionalmegaadam17-Oct-10 21:13 
GeneralRe: Does C++ long for VB? Pin
leonej_dt18-Oct-10 17:59
leonej_dt18-Oct-10 17:59 
GeneralRe: Does C++ long for VB? Pin
Tsuda Kageyu18-Oct-10 20:40
Tsuda Kageyu18-Oct-10 20:40 
GeneralRe: Does C++ long for VB? vs Redefining == Pin
pg--az20-Oct-10 1:06
pg--az20-Oct-10 1:06 
GeneralRe: Does C++ long for VB? vs Redefining == [modified] Pin
leonej_dt20-Oct-10 4:35
leonej_dt20-Oct-10 4:35 
pg--az wrote:
How embarrassing, I did not immediately notice the issue with "redefining ==" - you are rewarded with a free book tip, Jeff Johnson's latest "Designing with the Mind in Mind", might be alternately titled "Don't even TRY to make me think". This is a brief very-well-edited book, if you haven't got a lot of time the book-price for this slim volume is OK because you learn a lot in few pages, there's no "padding".


Thanks. I am good at designing consumable classes/services/subsystems/frameworks that do not make programmers think more than they are supposed to, and sometimes make them think less. Perhaps because I am a fellow programmer, and I especially like systems programming. On the other hand, I am terrible at designing user interfaces that do not make users think more. Designing user interfaces is more of an art than a technical discipline, especially if your users are not engineers, accountants or finance guys.

pg--az wrote:
Also on the same topic, somewhere in Gary Kasparov's "How Life Imitates Chess", he describes how he carefully designed his first try at a chess website, because after all who could be expected to think more than world-class-chess-player-wannabe's. But the usability cameras captured these folks just instinctively clicking without a conscious thought, the way we all do, sigh.


Help: First read without the parentheses. Then use the information in parentheses to add context/extra information/gratuitous pedantry.

Well, after having spent my whole childhood and adolescence believing I was inherently superior because I could do math and science (this is what gives you license to be pedant in first place, but, wait, there is more), learn languages with ease (by tackling grammar and syntax first, and only then vocabulary, unlike most people), play chess (I was second board of my first school's team (not because the guy on first board was stronger, but because he was more calm than I, and could handle losses better) and first board of my second school's team), understand music theory (which is nothing more than "applied" (for non-real world definitions of "applied") integer arithmetic modulo 12), tell a musical note right after I listened to it (aka absolute pitch, which I could have applied in real life to impress chicks by playing their favorite songs, but I had my own set of favorite songs, mainly Dream Theater "songs" back then, and I was like "I do not play the s*** you listen to"), and write computer programs (mostly programs that solved my physics homework assignments, hahaha, because I was too clever, see); I have finally come to realize that I make the same mistakes most people do on most situations, like clicking instinctively without a conscious thought (heh, this is why I use a Mac everyday and not, say, Linux); and even some mistakes most people simply do not do (like getting my girlfriend pregnant despite not having the means to support her?). Thus, why not take into consideration the fact people are just not clever, when designing things to be used by people?
Eduardo León
modified on Wednesday, October 20, 2010 10:45 AM

GeneralRe: Does C++ long for VB? vs Secrets-of-the-Sexes Pin
pg--az20-Oct-10 6:43
pg--az20-Oct-10 6:43 
GeneralRe: Does C++ long for VB? Pin
stephen.hazel19-Oct-10 5:48
stephen.hazel19-Oct-10 5:48 
GeneralRe: Does C++ long for VB? Pin
Sterling Camden / independent consultant19-Oct-10 13:08
Sterling Camden / independent consultant19-Oct-10 13:08 
GeneralRe: Does C++ long for VB? Pin
M Towler19-Oct-10 22:51
M Towler19-Oct-10 22:51 
GeneralRe: Does C++ long for VB? Pin
richard_k26-Oct-10 22:32
richard_k26-Oct-10 22:32 
GeneralUnhandled exception message Pin
david.ribeiro15-Oct-10 5:30
david.ribeiro15-Oct-10 5:30 
GeneralRe: Unhandled exception message PinPopular
AspDotNetDev15-Oct-10 6:03
protectorAspDotNetDev15-Oct-10 6:03 
GeneralRe: Unhandled exception message Pin
GibbleCH15-Oct-10 10:49
GibbleCH15-Oct-10 10:49 
GeneralRe: Unhandled exception message Pin
AspDotNetDev15-Oct-10 11:01
protectorAspDotNetDev15-Oct-10 11:01 
GeneralRe: Unhandled exception message Pin
Richard A. Dalton18-Oct-10 0:23
Richard A. Dalton18-Oct-10 0:23 
GeneralRe: Unhandled exception message Pin
Prerak Patel18-Oct-10 19:28
professionalPrerak Patel18-Oct-10 19:28 
GeneralWorst security flaws Pin
rohans8414-Oct-10 5:31
rohans8414-Oct-10 5:31 
GeneralRe: Worst security flaws Pin
Richard A. Dalton14-Oct-10 6:47
Richard A. Dalton14-Oct-10 6:47 
JokeRe: Worst security flaws Pin
PIEBALDconsult14-Oct-10 18:30
mvePIEBALDconsult14-Oct-10 18:30 
RantRe: Worst security flaws Pin
rohans8415-Oct-10 4:10
rohans8415-Oct-10 4:10 
GeneralRe: Worst security flaws Pin
Camilo Sanchez15-Oct-10 5:11
Camilo Sanchez15-Oct-10 5:11 
GeneralRe: Worst security flaws Pin
GenJerDan15-Oct-10 10:39
GenJerDan15-Oct-10 10:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.