Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Geek Culture / A very interesting article about how to programming or not! (everyone should read this)

Author
Message
Giff
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Drinking Beer - All Of It!!!
Posted: 24th Nov 2005 15:08
I found this on a PHP RSS feed earlier today and found it really funny.

Everyone should read and for those that do any of the things explained in the article, its time you changed!!!!!

http://thc.org/root/phun/unmaintain.html

Giff

3Ghz P4, 512 Mb, Win XP, Geforce Fx5200
Mnemonix
21
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: Skaro
Posted: 24th Nov 2005 15:10
Hahaha. This is hilarious

Quote: "When To Use Exceptions
Use exceptions for non-exceptional conditions. Routinely terminate loops with an ArrayIndexOutOfBoundsException. Pass return standard results from a method in an exception."


I love that one.

WE SHALL BECOME ALL POWERFUL! CRUSH THE LESSER RACES! CONQUER THE GALAXY! UNIMAGINABLE POWER! UNLIMITED RICE PUDDING ! ! ! ETC. ! ! ! ETC.! ! !
John Y
Synergy Editor Developer
22
Years of Service
User Offline
Joined: 4th Sep 2002
Location: UK
Posted: 24th Nov 2005 15:32
Wow, that is one long document. I started to read it properly until I saw the length; what I did read was all interesting stuff. It is perfectly serious if you just reverese what they say

Hawkeye
21
Years of Service
User Offline
Joined: 19th Sep 2003
Location: SC, USA
Posted: 24th Nov 2005 16:03
Wow... someone has too much freetime on their hands


I am but mad north north-west; when the wind is southerly I know a hawk from a handsaw - Hamlet, Hamlet
Me!
19
Years of Service
User Offline
Joined: 26th Jul 2005
Location:
Posted: 24th Nov 2005 19:53
sounds like the MS developer guidelines to me , they have been making OS`s like that for years.



Do parachute manufacturers have a refunds policy?
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 25th Nov 2005 19:24
i read that on slashdot. reminds me of a lot of students i saw in classes.


Deadly Night Assassins
JoelJ
21
Years of Service
User Offline
Joined: 8th Sep 2003
Location: UTAH
Posted: 25th Nov 2005 21:05 Edited at: 25th Nov 2005 21:05
Quote: "
total += array[j+0];
total += array[j+1];
total += array[j+2]; /* Main body of
total += array[j+3]; * loop is unrolled
total += array[j+4]; * for greater speed.
total += array[j+5]; */
total += array[j+6];
total += array[j+7];
"

that's my favorite

[center][center]
Manticore Night
21
Years of Service
User Offline
Joined: 23rd Oct 2003
Location: Ouinnipeg
Posted: 26th Nov 2005 00:15
Quote: "marypoppins = (superman + starship) / god; "
I like this the most, just because it sounds funny.

[center]It's amazing how much TV has raised us. (Bart Simpson)

He's back! With 20% less intelligence!
Mattman
21
Years of Service
User Offline
Joined: 5th Jun 2003
Location: East Lansing
Posted: 26th Nov 2005 05:54
Gah, I read it, to find out Manticore stole my quote!


Down with GTA! Let's have Mario Ground Pound 'em!
David R
21
Years of Service
User Offline
Joined: 9th Sep 2003
Location: 3.14
Posted: 26th Nov 2005 20:14
Quote: "Never document gotchas in the code. If you suspect there may be a bug in a class, keep it to yourself. If you have ideas about how the code should be reorganised or rewritten, for heaven's sake, do not write them down. Remember the words of Thumper in the movie Bambi "If you can't say anything nice, don't say anything at all". What if the programmer who wrote that code saw your comments? What if the owner of the company saw them? What if a customer did? You could get yourself fired. An anonymous comment that says "This needs to be fixed!" can do wonders, especially if it's not clear what the comment refers to. Keep it vague, and nobody will feel personally criticised. "




Jeku
Moderator
21
Years of Service
User Offline
Joined: 4th Jul 2003
Location: Vancouver, British Columbia, Canada
Posted: 26th Nov 2005 21:49 Edited at: 26th Nov 2005 21:49
Although you can't write anonymous comments in code nowadays, as the large videogame companies use CVS' that track every change. Oh well

Login to post a reply

Server time is: 2024-11-16 04:43:51
Your offset time is: 2024-11-16 04:43:51