Here’s a very thorough article that supplements my recent const rant very nicely. I received a number of emails back arguing against my point that const is important and influential. …
C++ const Keyword Usage
Just as a follow up to my last post, here’s a quick overview of the const keyword 1. const int x = 5; 2. const int * px; 3. int …
C++ const Keyword
const is, in my opinion, the most influential and least frequeuently used keyword in the C++ programming language. This may seem like a very bold statement, but having recently started …
Intro to Python: Building Strings Using Lists
A while back I began posting an Intro to Python series, and for lack of time I haven’t posted anything in it for a while. Since I’ve started writing plugins …
Fast CPUs Make for Dissapointing Optimizations
As a follow up to yesterday’s post about using intermediate datastructures, I wanted to add some concrete numbers to my Big-Oh runtime statements. I came in to work this morning …
Data Structures in C++: A How Not To
It never ceases to amaze me the drastic impact our choice of datastructures has on application performance, and how little thought many developers seem to give it. I was charged …
C++ Expression Evaluation
I recently posted a link to Bjorne Stroustrup’s C++ FAQ, in which he points out that the value of: is undefined. I decided to throw together a couple little sample …
Bjarne Stroustrup’s C++ FAQ
That’s right, a C++ FAQ by Bjarne Stroustrup himself. I ran across this faq this morning while googling for the forgotten name of the famed designer of C++. This is …
Design Pattern: Inversion of Control
I had read something a while ago about a design pattern called Inversion of Control (IoC), which came back to me this morning as I was working. I looked it …
Intro to Python: Modules and CGI
I left off yesterday in my Python series having shown you the very basic language elements. Today, we’re going to expand on that a little bit by introducing modules and …