Both in PHP and ColdFusion I recently discovered that you don’t need to close certain script elements to have them run correctly, which is highly annoying coming from someone who has spent a considerable amount of time learning and abiding by XHTML rules. Internet Exploder was (and still is) famous for being flexible on [...]
10
2009
5
2009
Good Idea….Bad Idea
In general, I don’t care about the differences between server languages that so many have a personal beef with. The vitriol against CF is extremely virulent in some areas, but whatever, it serves its purpose well. It was also my first real markup language after HTML back when I was in college (1998, [...]
30
2009
$(”#efficient”).addClass(”shortcut”);
I love JavaScript frameworks. Coming from a time when you had to code uniquely for IE (document.all) and Netscape (document.layers) most (including me) just did it for IE. Also, many of us were just learning about JS via the highly recommended Peachpit books, so we copied but didn’t understand. This was the [...]
24
2009
Insensitive Case Sensitivity
Why must people insist on not following code protocol? Coding in general, and PHP in particular, uses lower case for variables (except constants), functions and whatnot. For coding languages that are case-insenitive we’ll use lower case on sheer principle. However, I found one coder who created this site that I’m constantly patching with [...]
19
2009
The (Under) Belly of the Beast
One habit I have when visiting websites is to look at their codebase, both for curiosity and for new/interesting code snippets. Today, I was going through Facebook’s code while playing Mafia Wars and, aside from the sheer volume of code, a few things that sort of surprised me:
Liberal use of onClick=”" for basically all [...]
17
2009
Set brillohëd.init()
First post! I’m not sure exactly how this site is going to progress in terms of my daily experience with coding or the type of people that I know work with it, but it’s mostly for ranting about programming that my other outlets just won’t work as well on.
This is also my first Wordpress [...]