In most of the cases, its even better to just forget about the comments at all. Comments won't be translated into machine code... but the source code will, and that's what's going to run in the end. It's unlikely that a programmer will adjust all the comments (if there are changes in the code) to be completely consistent all the time. You simply can't trust comments.
Compilers have bugs too. If you want to be absolutely sure what the program does, you should read the assembly code output from the compiler - or better yet, the binary program produced by the linker...
...and so on ad absurdam.
And yes, I have just experienced the very situation where comments differed from the code. They don't any longer - and they won't while I'm responsible for that code.
I'd like Opera to understand Unicode (big Doh! on that one, guys)
Not yet, anyway. Quote from Opera's website(http//www.opera.com):
Opera does not "understand" the character encoding needed to automatically switch between and show some character sets for languages such as Russian, Polish, Greek, Hebrew, nor does it render the multi-byte characters of Japanese, and Chinese. support for Unicode and character encoding is planned for Opera 4.1.
Otherwise it's a quite nice and not the least portable browser. Hey, it runs on my Psion 5mx too:-)
Compilers have bugs too. If you want to be absolutely sure what the program does, you should read the assembly code output from the compiler - or better yet, the binary program produced by the linker...
...and so on ad absurdam.
And yes, I have just experienced the very situation where comments differed from the code. They don't any longer - and they won't while I'm responsible for that code.
Ebbe
Not yet, anyway. Quote from Opera's website(http//www.opera.com):
Opera does not "understand" the character encoding needed to automatically switch between and show some character sets for languages such as Russian, Polish, Greek, Hebrew, nor does it render the multi-byte characters of Japanese, and Chinese. support for Unicode and character encoding is planned for Opera 4.1.
Otherwise it's a quite nice and not the least portable browser. Hey, it runs on my Psion 5mx too :-)