Skip to content

The Weird and The Wonderful

It was the best of code, it was the worst of code. Coding Horrors, Worst Practices, and flashes of brilliance

This category can be followed from the open social web via the handle the-weird-and-the-wonderful@forum.codeproject.com

1.8k Topics 20.7k Posts
  • 0 Votes
    3 Posts
    0 Views
    C
    hey, I just moved this over to the forum - wasn't paying attention. Charlie Gilley Stuck in a dysfunctional matrix from which I must escape... "Where liberty dwells, there is my country." B. Franklin, 1783 “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
  • Since when does "optional" mean "required"?

    com tools question
    11
    0 Votes
    11 Posts
    0 Views
    L
    This is simply the design pattern "Only One Radio Button" exists :laugh: Bruno
  • 0 Votes
    1 Posts
    0 Views
    No one has replied
  • Neither weird nor beatyful

    csharp security xml help announcement
    19
    0 Votes
    19 Posts
    4 Views
    A
    :thumbsup: :-D Your time will come, if you let it be right.
  • Give me my gtalk back, I no want hangouts

    beta-testing help question
    6
    0 Votes
    6 Posts
    0 Views
    N
    Hangouts is the release version of Google Talk - renamed and 2.0. That's all.
  • Low testosterone levels are also linked inside

    com code-review
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • What is next?

    question
    19
    0 Votes
    19 Posts
    0 Views
    P
    http://www.kongregate.com/games/Coolio_Niato/light-bot[^]
  • It's Primes as far as the eye can see!

    question
    44
    0 Votes
    44 Posts
    3 Views
    D
    Looks like OP is trying to get odd numbers and two.
  • A disturbing new trend?

    database question csharp com data-structures
    57
    0 Votes
    57 Posts
    2 Views
    P
    It's not a new trend, it's an ongoing current trend :-) Seriously though, it's actually to do with the current state of I.T education (Well at least here in the UK anyway) Put simply, there are way too many "General Purpose Teachers" and not enough "Specialist Teachers" , as a result many teachers that are teaching the next generation (and to be clear here, we are on about 6th form and colleges too), are teaching them from text books. A friend of mine, recently decided that programming was for him after getting inspired watching a community presentation I delivered. So he trotted off to his local community college and signed up for "Computer Programming Essentials" His guide book for the college, stated: "You will learn the fundamentals of software engineering, application design and general software problem solving, enabling you to build high quality software applications for now and the future and providing you with a firm foothold through the gateway of professional software development" All sounds, rather splendid if I do say so my self. We are now, 5 months in on his course, and so far he's learned nothing more than putting together simple desktop applications using Visual Basic .NET He's let me see every assignment he's been set, every bit of homework he's been asked to do and all he's done is learn how to wire VB components together. He's done nothing even remotely near understanding application architecture, good development practices or anything like that. He's not been told what the difference between integers, doubles & reals are, he understands nothing about how computers do maths. All he's been doing is learning how to pull data out of various "Things" , reshape it, then display it in ever changing fancy ways. ---------- Not too long ago, my Niece announced she was doing computing at comprehensive school, she came home with an A+ in computing and I.T, needless to say I was a proud uncle, until I dug into her curriculum and looked at the subjects she'd been getting taught. See attained the A+ because she'd figured out how to do animated sound & graphics on her own using PowerPoint, her teacher then sat her on a virtual pedestal and encouraged the rest of the class to strive to attain these high standards, if they wished to go into the software development & programming industry. ------------- Lastly, a very good friend in India recently explained to me how I.T and software education works out there. There are basically a bunch of private companies, th
  • Copy and Paste should be banned from a code editor

    com xml functional question
    18
    0 Votes
    18 Posts
    0 Views
    F
    Ravi Bhavnani wrote: Marc Clifton wrote: there must be something we can put into the water There is.  Code reviews. Well, we could put the offending developer into the water ... head-first. That would solve the issue. The good thing about pessimism is, that you are always either right or pleasently surprised.
  • 0 Votes
    3 Posts
    0 Views
    S
    I dunno. There's another?
  • How not to do a countdown

    com tools
    6
    0 Votes
    6 Posts
    0 Views
    B
    :doh: What do you get when you cross a joke with a rhetorical question? --- The metaphorical solid rear-end expulsions have impacted the metaphorical motorized bladed rotating air movement mechanism.
  • Weird but not so wonderful

    css sales tools help question
    2
    0 Votes
    2 Posts
    0 Views
    W
    Just went through (and am still going through) a perfectly fine application bombing after a thin client OS was updated. I rebuilt it on my system (in the thin-client environment) and it worked fine: put on user's system and it crashed mightily. Considering the unique environment of a development system, there's no question why that cry is heard oft-enough: "I works on my machine". "The difference between genius and stupidity is that genius has its limits." - Albert Einstein "As far as we know, our computer has never had an undetected error." - Weisert "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010
  • In the words of Sallah -- bad dates

    csharp announcement
    6
    0 Votes
    6 Posts
    0 Views
    L
    Just in case...
  • IF-free codes

    html com tutorial
    32
    0 Votes
    32 Posts
    1 Views
    I
    SarK0Y wrote: Ingo, did you write asm codes ever??? :laugh: Okay. I talked about higher languages. If you write asm codes, I won't mind if you code another way. :rolleyes: SharePoint Consultant and Developer at acocon Author of Primary ROleplaying SysTem I'm the ninth in a row of seven!
  • Till death, my code and I

    question
    12
    0 Votes
    12 Posts
    0 Views
    M
    Just do your own thing if it's comfortable. What other people say are just opinions.
  • for(int i=0; i<size; i++)

    csharp c++ java question
    67
    0 Votes
    67 Posts
    7 Views
    R
    mc42 wrote: Yes, this is probably a good candidate for the most delayed response ever. It did take me a while to get the context there. Thanks for explaining. It does tickle me that an Imaginary being defaults to Real, while i is definitely not imaginary. Mathematicians would shudder. (Edited for grammar) "If you don't fail at least 90 percent of the time, you're not aiming high enough." Alan Kay.
  • War of the Words

    com graphics
    4
    0 Votes
    4 Posts
    0 Views
    B
    :laugh: :thumbsup: And unfortunately, that is probably true. What do you get when you cross a joke with a rhetorical question? --- The metaphorical solid rear-end expulsions have impacted the metaphorical motorized bladed rotating air movement mechanism.
  • MS SmallBasic? Did you know? Silverlight plugin required

    com game-dev question
    9
    0 Votes
    9 Posts
    0 Views
    B
    Eventually they invented the perpetuum mobile. It works in their code already.
  • What the clusterf*ck?

    help sales question workspace
    7
    0 Votes
    7 Posts
    0 Views
    R
    Before anyone else points it out - I just checked the standard and XML (unusually) does not allow a space there. "If you don't fail at least 90 percent of the time, you're not aiming high enough." Alan Kay.