Funny programming pictures, jokes & quotes
I just remembered something I saw like a year ago
Code: Select all
#define true 0
#define false 1
//Happy debugging, suckers!
irrRenderer 1.0
Height2Normal v. 2.1 - convert height maps to normal maps
Step back! I have a void pointer, and I'm not afraid to use it!
Height2Normal v. 2.1 - convert height maps to normal maps
Step back! I have a void pointer, and I'm not afraid to use it!
nice one hahaent1ty wrote:I just remembered something I saw like a year agoCode: Select all
#define true 0 #define false 1 //Happy debugging, suckers!
My company: http://www.kloena.com
My blog: http://www.zhieng.com
My co-working space: http://www.deskspace.info
My blog: http://www.zhieng.com
My co-working space: http://www.deskspace.info
-
- Posts: 1
- Joined: Mon May 17, 2010 4:52 am
I like the last picture
Dustbin::Games on the web: https://www.dustbin-online.de/
Dustbin::Games on facebook: https://www.facebook.com/dustbingames/
Dustbin::Games on twitter: https://twitter.com/dustbingames
Dustbin::Games on facebook: https://www.facebook.com/dustbingames/
Dustbin::Games on twitter: https://twitter.com/dustbingames
Found this randomly today: http://thegamemonkey.wordpress.com/2010 ... rchetypes/
while(!asleep) sheep++;
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
How to program in C++
----------------------------
1] Use a lot of global varibles
2] Give them mysterious names such as: X67, i_gcl or Horace
3] Write everything in one big file. h
4] Implement the entire program at once.
5] Use macros, in order to emulate Pascal.
6] Assume that the compiler will take care of all the detail that may not understand.
Economist, lawyer and C++ programmer debated whether to have a lover:
- (Economist), is not worth, you need to buy gifts and for his wife,
and the lover - goes too expensive.
- (Lawyer) is not worth it. From a legal point of view, it is illegal,
in the event of divorce wife takes it all ...
- (C++ programmer) is worth. The wife thinks I'm with the lover,
lover thinks I'm with my wife and I can program in peace ...
----------------------------
1] Use a lot of global varibles
2] Give them mysterious names such as: X67, i_gcl or Horace
3] Write everything in one big file. h
4] Implement the entire program at once.
5] Use macros, in order to emulate Pascal.
6] Assume that the compiler will take care of all the detail that may not understand.
Economist, lawyer and C++ programmer debated whether to have a lover:
- (Economist), is not worth, you need to buy gifts and for his wife,
and the lover - goes too expensive.
- (Lawyer) is not worth it. From a legal point of view, it is illegal,
in the event of divorce wife takes it all ...
- (C++ programmer) is worth. The wife thinks I'm with the lover,
lover thinks I'm with my wife and I can program in peace ...
What?
Something I just made up. I'm not sure if it's that funny though.
So, with this in signature, some might think that I do drugs, but I'm actually just using namespace stdI'm using. Are you?
irrRenderer 1.0
Height2Normal v. 2.1 - convert height maps to normal maps
Step back! I have a void pointer, and I'm not afraid to use it!
Height2Normal v. 2.1 - convert height maps to normal maps
Step back! I have a void pointer, and I'm not afraid to use it!
Hmm ... I don't have that eMail any more, so I'll see if I can reproduce a part of the anti coding guidelines from my mind:
1. make huge methods for perfomance reasons, with lots of if-else statements and a lot of exit points
2. always re-use variables in your huge methods for memory reduction reasons - int GuiElementCount is just used to count GUI elements in the very beginning, but it is not necessary to use a new variable if you want to get a time stamp
3. use void pointers often - very powerful (especially for re-use - see #2)
4. make sure your methods and functions do more than one thing because of performance
5. use comments - but make sure you only comment one of the things your function does (see #4)
6. make you method and function names long and use characters that look similar, e.g. "l" (little "L") and "I" (big "i")
7. use rule #6 for #defines as well
8. using the "?" operator can decrease your codesize - use it instead of "if" statements wherever possible
I am sure there were a lot of other rules that I just can't remember right now. This is especially good if you want to do coding all by yourself
1. make huge methods for perfomance reasons, with lots of if-else statements and a lot of exit points
2. always re-use variables in your huge methods for memory reduction reasons - int GuiElementCount is just used to count GUI elements in the very beginning, but it is not necessary to use a new variable if you want to get a time stamp
3. use void pointers often - very powerful (especially for re-use - see #2)
4. make sure your methods and functions do more than one thing because of performance
5. use comments - but make sure you only comment one of the things your function does (see #4)
6. make you method and function names long and use characters that look similar, e.g. "l" (little "L") and "I" (big "i")
7. use rule #6 for #defines as well
8. using the "?" operator can decrease your codesize - use it instead of "if" statements wherever possible
I am sure there were a lot of other rules that I just can't remember right now. This is especially good if you want to do coding all by yourself
Dustbin::Games on the web: https://www.dustbin-online.de/
Dustbin::Games on facebook: https://www.facebook.com/dustbingames/
Dustbin::Games on twitter: https://twitter.com/dustbingames
Dustbin::Games on facebook: https://www.facebook.com/dustbingames/
Dustbin::Games on twitter: https://twitter.com/dustbingames
-
- Posts: 758
- Joined: Mon Mar 31, 2008 3:32 pm
- Location: Bulgaria
Hehe! Here`s a badge I found sold here for 0.75€. Please remove it or I`ll remove it myself if you find it inappropriate. I think it`s original.
http://www.kapachki.com/index.php?main_ ... cts_id=995
http://www.kapachki.com/index.php?main_ ... cts_id=995
"Although we walk on the ground and step in the mud... our dreams and endeavors reach the immense skies..."