?

Log in

No account? Create an account
Мечта Q&A - How to Write Unmaintainable Code - Valse oubliée [entries|archive|friends|userinfo]
aruslan

[ userinfo | livejournal userinfo ]
[ archive | journal archive ]
[ delicious | aruslan's delicious ]

Links
[Links:| Tags Profile Friends FG1 PP gamedev XNA FF Entries Comments Memories ]

Мечта Q&A - How to Write Unmaintainable Code [Oct. 1st, 2004|09:11 pm]
aruslan
[Tags|, , , , ]
[Current Mood |просветленный]
[Current Music |Sumo Lounge - One Note Cripple]

Практически вся неделя прошла под знаменем How To Write Unmaintainable Code.

Your code should not look hopelessly unmaintainable, just be that way.
Otherwise it stands the risk of being rewritten or refactored.
LinkReply

Comments:
(Deleted comment)
[User Picture]From: aruslan
2004-10-02 12:46 am (UTC)

Зажги!

Не бывает безнадежных - бывают ленивые ;)
(Reply) (Parent) (Thread)
[User Picture]From: _winnie
2005-11-03 11:25 am (UTC)
Учись.

#include <iostream>
//(c) _Winnie
int P(int p,int i){return i--==p&&p-2&&P(i,i),i<2&&std::cout<<p<<' '||p%i&&P(p,i); }
int main() {  P(100,100); }
(Reply) (Parent) (Thread)