Why VARCHARs (Strings) make bad Keys.


When you construct a database, you often have to make decisions based on incomplete information. Oftentimes you’re given a small subset of data and you have to decide what kind of datatype goes where, how entities naturally link to each other and when to denormalize.

There’s one debate when it comes to building out tables for databases and that’s what do you use as the key.

From C# to PHP and WordPress ( Part 2 : The Syntax )

computer languages

PHP: Get serious? PHP is quirky. It’s that odd cousin that no one really admits to being related to (Sorry cousin Rupert). It’s also very simple. It’s interpreted, not compiled, it’s got non-serious function names like implode and as a result, some think it’s not serious. People don’t REALLY think PHP isn’t a serious language, after all it runs a LOT of […]