I've come up with my best ideas at 2am but I've learned from experience that's the worst time to try implementing them.
In the wee hours typos, syntax errors and simple transposition bugs seem to abound and those take an annoying amount of time to track down and fix. Best to just write the plan out in detail and leave the implementation until morning, unless you want to peck at the keyboard for much longer than you would have when awake.
I start to have problems implementing ideas at night as well, but that only starts happening around 5am. On the other hand I'm pretty useless for at least 2 hours after I wake up.
In the wee hours typos, syntax errors and simple transposition bugs seem to abound and those take an annoying amount of time to track down and fix. Best to just write the plan out in detail and leave the implementation until morning, unless you want to peck at the keyboard for much longer than you would have when awake.