Hacker Read top | best | new | newcomments | leaders | about | bookmarklet login

I feel like there is/should be some kind of programming language design equivalent of this. If you wanted to make programmers basically incapable of writing correct programs, how would you do it?

Here's where I'd share examples and it wouldn't be funny and instead start a flamewar.



sort by: page size:

Another one:

"Design a [programming] language that even idiots can use it and only idiots will use it".


We already have that: People who don't declare good variable names, people who don't follow DRY, creating spaghetti code. That's like the punk of programming.

Yes, I'm thinking of some mad-scientist types I've met who spin out WTF-worthy code on a daily basis. They love computers and programming, and can get workable output eventually, but it's terrible code.

Really? I think that sounds like a dreadful way to code anything useful.

Maybe there should be a competition to see who can write the worst piece of code. :)

Honestly, that sounds like making bad code even worse.

I bet you could go farther and make a really bad piece of code and introduce it as such, and then have them talk about just how many things are bad about it.

On one hand, funny. On the other, potentially useful for either teaching yourself or learning to read other people's code. Intentionally botching or skewing code and teaching yourself to deal with it/fix it.

Would use if I was even halfway decent at coding


Shit like this is why people mock programmer brain and they are right to.

I'm going to make up hypothetical problem. then have the developer use the most retarded solution, and then use the resulting make believe coding chaos to prove my point.

Yay Programming Blogging

:/


Haha, this is a hilarious diss of programming.

This, but more specifically for me, writing code for features that you find utterly repugnant.

Or you've seen an approach fail spectacularly in a programming language you're familiar with, which causes you to throw out the baby with the bath water.

This sounds like a great way to enforce bad programming practices.

Well, a creative abuse of the language. Programmer humor.

Oh I love this.

Take it one step further: hire sufficiently terrible spaghetti coders that nobody, not you or even they know what the code does, and any hacker trying to make sense of it will feel ill.


I have encountered code written by people just psycho enough to think that's a clever way to handle just that scenario. They were not wrong it was indeed clever. It was also terrible.

That would be a terrible coding practice!

That could be worked into a great programming language misappropriation-based comedy routine! Also the one about the guy who said "overriding" when he meant "overloading" is usually good for a laugh.
next

Legal | privacy