Advertisement

How come... (Please Read) :D

Started by April 07, 2005 02:11 AM
16 comments, last by traiger 19 years, 10 months ago
How come I always make the most programming accomplishments... ...and implement one of the most powerful classes I've done yet... ...or atleast the most versatile or easy-to-use class I've ever done... ...when I'm the most tired and exhausted???? Could it be that my analytic part of my brain is too tired to think which results in my "shut-up-and-let-get-this-shiet-done" part of my brain takes over completly? Any suggestions? :D Do any of you have some really weird habbits involving programming, I for example do my best programs when I've had the least sleep :) Let's hear it! :D
Js
Hello!

heh! familiar situation :)

sometimes i also do the coolset, the most acceptable - ideologically and so on, part of the program kinda in a meditation :) well, in the deep evening, with a good cup of tee...
Also, they say that the code written during hangover is to be marked red, and is never to be changed! Because it is the trickiest working code ever, and any change will just spoil it!
C++ RULEZ!!! :)
Advertisement
Quote:
Original post by BrennendeKomet
Also, they say that the code written during hangover is to be marked red, and is never to be changed! Because it is the trickiest working code ever, and any change will just spoil it!


While we're talking about tricky codes...
The trickiest code I've come up with tonight and up till now is the use of Function Pointers. Now, I know how they work and all... but just check out this line of code which for my eyer just look silly (but works!):

(*this.*RenderX)(dev,vb,primRendered,primRendered+primitiveSpace)

I mean, what the heck is *this.*??? :D
Js
My moment of enlightenment always happens about 20 minutes after giving up and going to bed.

Always then faced with that dilema of dilemas; sleepless night or naked coding.
Quote:
Original post by the_recon
(*this.*RenderX)(dev,vb,primRendered,primRendered+primitiveSpace)

wouldnt

(this->*RenderX)(dev,vb,primRendered,primRendered+primitiveSpace)

have done the same thing? :s
Quote: Original post by BosskIn Soviet Russia, you STFU WITH THOSE LAME JOKES!
What are pointer functions anyway?
Advertisement
Quote:
Original post by grekster
Quote:
Original post by the_recon
(*this.*RenderX)(dev,vb,primRendered,primRendered+primitiveSpace)

wouldnt

(this->*RenderX)(dev,vb,primRendered,primRendered+primitiveSpace)

have done the same thing? :s


Actually, yes it does :) But it's strange. I tried doing that 1/4 of my programming time during the night and my compiler thought I was crazy.

But NOW it works.
Odd. :)
Js
I dunno about tired, but working late at night is very effective for me.

ace
I really believe that for whatever reason, the same type of person becomes involved in programming...I have the same experience with sleep and good code. I think that we share enough characteristics for some reason that sometimes you can tell someone is a programmer just by their personality traits.
Quote:
Original post by Steve132
I really believe that for whatever reason, the same type of person becomes involved in programming...I have the same experience with sleep and good code. I think that we share enough characteristics for some reason that sometimes you can tell someone is a programmer just by their personality traits.


Well said :)
Js

This topic is closed to new replies.

Advertisement