Register | Login | |||||
Main
| Memberlist
| Active users
| ACS
| Commons
| Calendar
| Online users Ranks | FAQ | Color Chart | Photo album | IRC Chat |
| |
0 user currently in Craziness Domain. | 2 guests |
Acmlm's Board - I2 Archive - Craziness Domain - This makes me feel evil | | | |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread |
User | Post | ||
Kyoufu Kawa I'm not bad. I'm just drawn that way. Level: 70 Posts: 1166/2481 EXP: 3008456 For next: 7355 Since: 03-19-04 From: Catgirl Central Since last post: 14 hours Last activity: 13 hours |
| ||
How to write unmaintainable code Especially since... 1) EliteMap has been hard to read ever since Bouch |
|||
knuck Hinox Banned until 19-58-5815: trolling, flaming, spamming, being a general fucktard... Level: 62 Posts: 1157/1818 EXP: 1894574 For next: 90112 Since: 03-15-04 Since last post: 14 hours Last activity: 9 hours |
| ||
xD I loved that link. If i ever write open source shit, i'll use those tips. >D |
|||
Jesper Busy, busy, busy. Level: 69 Posts: 1956/2390 EXP: 2856000 For next: 13743 Since: 03-15-04 From: Sweden. Since last post: 176 days Last activity: 79 days |
| ||
Originally posted by knuckYes, because if you quit your job, and someone else gets hired, they won't have to maintain your code. Doesn't just apply to open source - in fact I seem to recall that being written for someone to save his ass at the job and not get replaced. |
|||
Kitten Yiffer Purple wand Furry moderator Vivent l'exp����¯�¿�½������©rience de signalisation d'amusement, ou bien ! Level: 135 Posts: 7849/11162 EXP: 28824106 For next: 510899 Since: 03-15-04 From: Sweden Since last post: 3 hours Last activity: 4 min. |
| ||
Man, belive me. I have seen some Microsoft closed source code, and that's messy. Open source is nothing. Yep, I heard about the classical ASM trick. And incase it dosen't work, blame it on the compiler. |
|||
HyperLamer <||bass> and this was the soloution i thought of that was guarinteed to piss off the greatest amount of people Sesshomaru Tamaranian Level: 118 Posts: 3228/8210 EXP: 18171887 For next: 211027 Since: 03-15-04 From: Canada, w00t! LOL FAD Since last post: 2 hours Last activity: 2 hours |
| ||
Lol, I've seen this before. Fun, but you need to be able to maintain it yourself... One nice trick is to know how the compiler will interpret expressions like "x = 2 * 5 + 3 & 21" and use it to your advantage. Or just cause all sorts of mayhem with #define. And of course, you can write all sorts of horribly unreadable code in ASM. Look at Tetris for Game Boy for examples. Jumping to partway through an instruction or data block, or using instructions like "ld b,b" in place of "nop" and "ld bc, $5678; push bc; ld hl,$1234; jp hl" in place of "call $1234" - especially where it isn't at all necessary - is always a nice way to confuse people. For that matter, if you REALLY want to confuse them, take a big data file, disassemble it, and copy and paste it into your code. Make it look like a real procedure. Maybe even start it off with a small chunk of useless data that includes a 'ret' instruction and call it. |
|||
Emptyeye Real American Level: 67 Posts: 1448/2273 EXP: 2488421 For next: 104451 Since: 05-24-04 From: I DUNNOOOOOOOO!! Since last post: 9 hours Last activity: 4 hours |
| ||
Originally posted by JesperOriginally posted by knuckYes, because if you quit your job, and someone else gets hired, they won't have to maintain your code. Doesn't just apply to open source - in fact I seem to recall that being written for someone to save his ass at the job and not get replaced. Only works in theory. My Comp. Sci. professor told us a story like that. What happened? The predictable scenario--the next person to look at the code looked at the hard-to-read parts, decided s/he couldn't decipher, and simply re-wrote it in a more legible manner. Seriously, why would you think this wouldn't happen in the real world? |
|||
windwaker Ball and Chain Trooper WHY ALL THE MAYONNAISE HATE Level: 61 Posts: 1152/1797 EXP: 1860597 For next: 15999 Since: 03-15-04 Since last post: 4 days Last activity: 6 days |
| ||
This is really lame. Anyone who attempts this is an elitist bastard. | |||
knuck Hinox Banned until 19-58-5815: trolling, flaming, spamming, being a general fucktard... Level: 62 Posts: 1159/1818 EXP: 1894574 For next: 90112 Since: 03-15-04 Since last post: 14 hours Last activity: 9 hours |
| ||
Originally posted by windwakerSome people (like me) simply don't like open source. That doesn't make us elitists. |
|||
windwaker Ball and Chain Trooper WHY ALL THE MAYONNAISE HATE Level: 61 Posts: 1153/1797 EXP: 1860597 For next: 15999 Since: 03-15-04 Since last post: 4 days Last activity: 6 days |
| ||
I don't care if you make something open source or not, but releasing illegible source code so that no one can read it is lame. | |||
Jesper Busy, busy, busy. Level: 69 Posts: 1961/2390 EXP: 2856000 For next: 13743 Since: 03-15-04 From: Sweden. Since last post: 176 days Last activity: 79 days |
| ||
And everyone continues to miss the point. This does not in any way relate to open source. Guess what? People write code for money too. "In the interests of creating employment opportunities in the Java programming field, I am passing on these tips from the masters on how to write code that is so difficult to maintain, that the people who come after you will take years to make even the simplest changes. Further, if you follow all these rules religiously, you will even guarantee yourself a lifetime of employment, since no one but you has a hope in hell of maintaining the code. Then again, if you followed all these rules religiously, even you wouldn't be able to maintain the code!" Neither does it mean that his scheme will work, Emptyeye. It's all a joke, although the techniques are all valid. I end with this note on being replaced, from the intro: "You don't want to overdo this. Your code should not look hopelessly unmaintainable, just be that way. Otherwise it stands the risk of being rewritten or refactored." |
|||
Smallhacker Green Birdo SMW Hacking Moderator Level: 68 Posts: 1302/2273 EXP: 2647223 For next: 81577 Since: 03-15-04 From: Söderhamn, Sweden Since last post: 10 hours Last activity: 9 hours |
| ||
Add to favorites | "RSS" Feed | Next newer thread | Next older thread |
Acmlm's Board - I2 Archive - Craziness Domain - This makes me feel evil | | | |