hilite.me is an online tool for formatting source code from any language into HTML. All of the color and formatting information is inline, obviating the need for any accompanying CSS or JavaScript. The resulting HTML can be pasted into wherever HTML is welcome — such as emails, blog posts and websites. The one downside to the hilite.me service is that the available styles are listed only by name and not visually. As a result, one needs to cycle through them one at a time in order to recall what a particular style looks like. To remedy this…
Read moreJavaScript Style: Whitespace
Good code is not just functional, but also elegant. Elegant code must be:
Well-factored
Well-commented
Consistent in its style
In a series of posts, we'll discuss coding style for the JavaScript language. In this second post, we'll focus on style guidelines for whitespace.
Read moreJAVASCRIPT STYLE : VARIABLES
Good code is not just functional, but also elegant. Elegant code must be:
Well-factored
Well-commented
Consistent in its style
In a series of posts, we'll discuss coding style for the JavaScript language. In this first post, we'll focus on style guidelines for variables.
Read more