Should I learn C before learning C++? Answer – NO!

C is Not C++!!!

A superset of nothing useful

I often hear those who really should know better giving the advice that before you learn to code in C++ you should first learn to code in C. At face value this would seem like reasonable advice; after all C++ is a superset of C and so by learning C you’ll be learning some of C++. Unfortunately, this advice overlooks some fundamental but very important differences between C and C++ that may very well damage the learning curve of the student. Continue reading

Is your password salty enough?

Passwords. They are ubiquitous. You can’t avoid them. Given all the amazing things that have been invented over the last 50 years or so there is still nothing that looks set to replace the humble password any time soon. Any thing you do online these days requires you to register an account. Often this is just unnecessary and just a way of companies harvesting your details to send you yet more targeted ads (spam!). Of course, registering necessitates yet another password.
Continue reading

Stop Reinventing C++ Wheels!

Necessity is the mother of invention

One thing that always amazes me is how often I see C++ programmers reinvent the wheel. The times I’ve seen engineers writing yet another sort routine or implementing their own version of a linked list, because they have a “special case” that necessitates it, just beggars belief. A “special case”? Really? Come on!

Continue reading