Tag : Coding Style
-
Using Tables to Improve Code Layout
April 29th 2007
Problem Solving C++ Coding Style
Code layout is a surprisingly subtle problem. Or, maybe not so surprising if we remember that typesetting is its own profession, with hundreds of years ...
-
A Literate Program on the 3rd Normal Form
May 8th 2007
Python Coding Style
I wrote this article in an unusual way: I started from the source code of a Python module, commented it thoroughly, made some minor formatting ...
-
LBYL vs. EAFP
May 23rd 2007
Coding Style Engineering
There are basically two error handling strategies: * Look Before You Leap (LBYL) * It's Easier to Ask Forgiveness than Permission (EAFP) I'm going to ...
-
A Nostalga Trip Down Java Lane
June 5th 2007
Silly Coding Style Java
When I was in college, I got a copy of NetBeans (a Java IDE) and did some Java projects to see what the language was ...
-
JSON Rex
November 27th 2007
Coding Style Web
Aristotle writes on tragedy: > The protagonist should be renowned and prosperous, so his change of fortune can be from good to bad. This change ...
-
Clone() In JavaScript
January 23rd 2008
Coding Style Web Tutorial Popular
I recently did a google search for "javascript clone", and noticed there's a lot of confusion about *cloning* vs. *copying* out there. Every function called ...
-
Semantic Code
April 30th 2008
Problem Solving Coding Style Engineering
> [se·man·tic][SD] (sĭ-măn'tĭk) adj. > 1. Of or relating to meaning, especially meaning in language. [SD]: http://www.answers.com/topic/semantic Programming destroys meaning. When we program, we first ...
-
Function Scope in JavaScript
May 21st 2008
Coding Style Web Tutorial
JavaScript's `this` keyword doesn't have to be confusing. This tutorial will help you use it correctly and effectively. JavaScript is designed to support true object-oriented ...
-
Factory Methods
October 12th 2008
C++ Coding Style Engineering Java
Ah, object creation. Why must you be so problematic? Is it the way you inject dependencies on global classes into the most innocent of code? ...
Didn't find the essay you were looking for?
See all essays grouped by tag
or or the alphabetical index of essays.