Avatar

ɤplaguethenet

Hates Murlocs

Games | Blogs | Screenshots | Pictures | Fan Art

yup, this is an ad!
Blog

Random thoughts of a programmer.


Blog Code
  • Mood:

Napalm riot has a nice layout, Although at times it doesnt make sense to me. Like why are the avatars links, but not the username?

The ajax for the comments is really nice. I like how it pops up in the middle.

Why dont comments show a link to the comment that it is in response to?

A chat network would be awesome :) Hope for it in the future.

Some people may not be a fan of C# :P But C# > all (well, C++ > C# > all) :P How many languages can boast that they run UNMODIFIED on several platforms even when using advanced features like threading, semaphores, mutexes and sockets? (Ok well quite a few actually, But how many are C ish?)

"Real programmers dont write comments, If it was hard to write then it damn well better be hard to read too."

Thread.SpinWait(x); is bad. (while(x > 0) x--;)
Thread.Sleep(0); is good. (when pending threads are done with their timeslice, wake up and continue.)

Beware the deadlock. It will eat your soul. Also, In C# Please dont lock(this), Its bad practice and can cause a deadlock. Make an object named Locker (make sure you initialize it to a new object()) and lock that instead. Much more portable.

Comments