Too many Ambitions
So, it’s 2:30am on Thursday night, and I can’t sleep because I’m thinking about programming. This evening I spent a few hours reading “Ghost in the Wires” by Kevin Mitnick and then a few hours Reading...
View Article//TODO: Ugly!
Today is all about cleaning up ugly code for me. Remember when I said I removed all pointers from my project? well, it left me with some ugly looking code. Of course, when you know how much trouble...
View ArticleDECLSPECLDECLSPECLDECLSPECL
Here is a doozy that is kinda hard to notice If you have a “common.h” with this #ifdef _WINDLL #define DECLSPEC __declspec(dllexport) #else #define DECLSPEC __declspec(dllimport) #endif and you use...
View Articleit JS got better
want some coffee with your script? coffeescript baby it’s javascript yet less a pain in the ass http://bodil.github.com/coffeescript/#landing-slide also, a great slideshow
View ArticleJVM is not part of Java Language Design
I just read this snippet from “Programming Languages” by Robert W. Sebesta. “Java’s portability, at least in intermediate form, has often been attributed to the design of the languages, but it is not....
View ArticleThe C/C++ ‘goes to’ operator
Did you know there is an operator in c++ called ‘goes to’ ? it looks like this ‘–>’ int x = 10; while(x --> 0) { cout << "x is " << x << endl; } try it out! Maybe for my next...
View ArticleExporting the Std
So here is a piece of C++ advice. Don’t export classes which are derived from std. Your DLL will actually export the base class as well, and you will get crazy linker errors saying you have defined...
View ArticleThe Weak and the Strong
So, I’ve been writing a lot about C++ and pointers. My initial reaction to the things I’ve been reading and learning online has been that they are very bad and should be avoided wherever possible. I’m...
View ArticleRust and D
So, here are two languages I’m interested in right now. I’ve kinda put off my Jazz language ideas, however, a lot of the things I really thought would be great for a new language are already here in...
View Article