italie![Administrator Administrator](//www.mameworld.info/ubbthreads/images/adm.gif) |
MAME owes italie many thank yous, hah
|
|
|
Reged: 09/20/03
|
Posts: 15246
|
Loc: BoomTown
|
|
Send PM
|
|
|
Been a while since I saw this
#302217 - 01/09/13 04:55 AM
|
|
|
|
Mr. Do![Administrator Administrator](//www.mameworld.info/ubbthreads/images/adm.gif) |
MAME Art Editor
|
|
|
Reged: 09/21/03
|
Posts: 4883
|
Loc: California
|
|
Send PM
|
|
|
I was reading that last night...
[Re: italie]
#302218 - 01/09/13 05:23 AM
|
|
|
> Some gems in there > > http://stackoverflow.com/questions/18461...b=votes#tab-top
When I saw this one...
//When I wrote this, only God and I understood what I was doing //Now, God only knows
... first thing I thought of was Acho™ code.
|
RELAX and just have fun. Remember, it's all about the games.
|
|
GatKong![Moderator Moderator](//www.mameworld.info/ubbthreads/images/mod.gif) |
Tetris Mason
|
|
|
Reged: 04/20/07
|
Posts: 5908
|
Loc: Sector 9
|
|
Send PM
|
|
|
Re: I was reading that last night...
[Re: Mr. Do]
#302219 - 01/09/13 05:28 AM
|
|
|
Oh no, omg, I was typing a response about this one and you usurped me...
//When I wrote this, only God and I understood what I was doing //Now, God only knows
That's totally me. When I need to get something done, I learn enough code to get the job done, in short term memory no less, and so then when I go back later to do something and encounter it again, I can never remember why or how the hell I did that... I just know not to mess with it because that version of me obviously knew what he was doing at the time.
|
|
|
DMala |
Sleep is overrated
|
|
|
Reged: 05/09/05
|
Posts: 3989
|
Loc: Waltham, MA
|
|
Send PM
|
|
|
Re: Been a while since I saw this
[Re: italie]
#302221 - 01/09/13 05:37 AM
|
|
|
I wrote this one at work a few months ago, just to amuse myself on a slow day, and then accidentally checked it in:
case: NavigateDirection_LastChild // Just a punk in the street
I quietly reverted it in the next checkin, I don't think too many of my coworkers are Aerosmith fans.
|
|
|
DMala |
Sleep is overrated
|
|
|
Reged: 05/09/05
|
Posts: 3989
|
Loc: Waltham, MA
|
|
Send PM
|
|
|
Re: I was reading that last night...
[Re: GatKong]
#302223 - 01/09/13 05:42 AM
|
|
|
> Oh no, omg, I was typing a response about this one and you usurped me... > > //When I wrote this, only God and I understood what I was doing > //Now, God only knows > > That's totally me. When I need to get something done, I learn enough code to get the > job done, in short term memory no less, and so then when I go back later to do > something and encounter it again, I can never remember why or how the hell I did > that... I just know not to mess with it because that version of me obviously knew > what he was doing at the time.
I've done that a few times. Find some really awful code - "Who the fuck wrote this?!?" - Look at the file history - "Ah shit, I did."
|
|
|
|
Re: Been a while since I saw this
[Re: italie]
#302224 - 01/09/13 05:44 AM
|
|
|
I put this into some code once.
// it all starts here - Mikey, The Goonies main() {.......}
After having to explain it the 3rd time I took it out.
|
|
|
italie![Administrator Administrator](//www.mameworld.info/ubbthreads/images/adm.gif) |
MAME owes italie many thank yous, hah
|
|
|
Reged: 09/20/03
|
Posts: 15246
|
Loc: BoomTown
|
|
Send PM
|
|
|
Re: Been a while since I saw this
[Re: DMala]
#302235 - 01/09/13 07:19 AM
|
|
|
> I wrote this one at work a few months ago, just to amuse myself on a slow day, and > then accidentally checked it in: > > case: NavigateDirection_LastChild // Just a punk in the street > > I quietly reverted it in the next checkin, I don't think too many of my coworkers are > Aerosmith fans.
I would have immediately popped in Rocks. Such a good album.
|
|
|