background preloader

Tips

Facebook Twitter

Cooking

Memory. Brad Abrams : Internal Coding Guidelines. 1. Introduction………………………………………………………………………………………………………………………… 1 2. Style Guidelines…………………………………………………………………………………………………………………… 2 2.1 Tabs & Indenting……………………………………………………………………………………………………………….. 2 2.2 Bracing…………………………………………………………………………………………………………………………….. 2 2.3 Commenting………………………………………………………………………………………………………………………. 2 2.3.1 Documentation Comments………………………………………………………………………………………………. 2 2.3.2 Comment Style…………………………………………………………………………………………………………….. 3 2.4 Spacing…………………………………………………………………………………………………………………………….. 3 2.5 Naming…………………………………………………………………………………………………………………………….. 4 2.6 Naming Conventions……………………………………………………………………………………………………………. 4 2.6.1 Interop Classes…………………………………………………………………………………………………………….. 4 First, read the .NET Framework Design Guidelines. 2.1 Tabs & Indenting Tab characters (\0x09) should not be used in code. 2.2 Bracing Open braces should always be at the beginning of the line after the statement that begins the block.

If (someExpression){ DoSomething();}else{ DoSomethingElse();} Five simple steps to better typography - Typographic Hierarchy - – May 18th, 2005 – The final part in this series, I’m glad to say is a little more cut and dry than the last in the series. It’s more about historical typographic theory but with a simple, practical guide to ensuring a balanced use of typeface weights. Typeface weight, and the choice of weight, is perhaps one area of typography that to most designers is simply a matter of choice. That choice is dictated by answering a design problem which is aesthetically, or content, motivated. What many designers do not realise is that there are rules which should govern the choice of weight - a typographic pecking order - which when followed, aids the designer’s typesetting and can produce stunning results. Solving the design problem Let’s start by addressing the root of the decision to set type in different weights - solving a design problem. An aesthetic problem.

There may be other reasons as well, but I believe these are the main cause. First off a bit of history The practical bit A final word. Five simple steps to better typography - Measure the Measure. – April 13th, 2005 – Typography, I find, is still a bit of mystery to a lot of designers. The kind of typography I’m talking about is not your typical “What font should I use” typography but rather your “knowing your hanging punctuation from your em-dash” typography. Call me a little bit purist but this bothers me. So, in an attempt to spread the word here’s the first of five simple steps to better typography. To kick it off, part one is about the Measure. Measure the Measure. The Measure is the name given to the width of a body of type. One point = 1/72 of an inchOne pica = 12 pointsOne em = The distance horizontally equal to the type size, in points, you are using. But, with the advent of DTP packages and the website design the following are also now used: MillimetresPixels There is an optimum width for a Measure and that is defined by the amount of characters are in the line.

CSS and fluid? What is interesting here is fluid designs on the web. The Measure and leading. Reversing out? Tracking.