## YODAAAAAAAAAAA

posted in Lame? Where?!
Published May 26, 2005
Advertisement
I like this version of Yoda better than George Lucas's:



I managed to get GeSHi installed on lameware.com so now I can view syntax hilighted source, and it's seamless with apache. For instance: My CSingleton class.

Notice how it's not some wonky-ass URL such as http://www.lameware.com/viewsource.php?file=/CSingleton.cpp. Good times.
Previous Entry ## Disky
Next Entry ## OMG I AM HEAR?!
0 likes 5 comments

Comments

Jesse Chounard
Why is the variable "instance" public? Seems dangerous to me.
May 26, 2005 01:13 PM
Ravuya
DOMOKUN YODA/!?!
May 26, 2005 01:15 PM
choffstein
You realize iRefCount never increments, right?
May 26, 2005 01:44 PM
johnhattan
Yoda killed a kitten?
May 26, 2005 01:57 PM
Laz
I never said my code was prefect ;)

But yeah, iRefCount never increments because it's, uhhhh, umm, a feature for the future, yeah! :P

And instance is public because .... uhh .... I'm sure I had a reason. Because I couldn't initialize it with the way I was using unless it was public. If it's private and I try to initialize it in the class functions, I get an error. That was the only way I knew to fix it.
May 26, 2005 02:01 PM
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Profile
Author
Advertisement

Latest Entries

Math is hard

1227 views

## uhh

1426 views

## lol

1175 views

## new gaem?!

1115 views

## GH Tourney

1241 views

## Guitar Hero

1185 views

## Beyond Hell

1162 views
Advertisement