Skip to main content
n bytes logo
Home » Blogs » naheed's blog

Calling global variable "foo" is a shooting offense

Submitted by naheed on Wed, 2008-03-12 12:06

How many times you come across the code and feel like 'arghh..., the programmer should be beaten to death'. Well, let's try to change the world step by step. Here I present the Linux Coding Style (Original) and Linux Coding Style (New) which mind you are quite opposite to GNU Coding Standards. I prefer former as they are much more obvious and cleaner than the latter. Nevertheless, GNU Standards are good to read and there are many good pointers and caveats for new programmers.

My pet peeve is "long lines.. almost running into screen of the person next door" For god's sake, I hate bugging him now and then just to read that line. Do everybody a favor and keep it to 80 columns please.

  • Work
  • naheed's blog

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
Input format
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • Lines and paragraphs break automatically.

More information about formatting options

  Meet me at LinkedIn   Meet me at LinkedIn

Tweets

20 weeks 10 hours ago — This post only used 240 bytes.

Follow me on twitter

  • 21 weeks 22 hours ago — Jim Collins : Whether you prevail or fail depends more on what you do to yourself rather than what the world does to you
  • 21 weeks 22 hours ago — Employee & Employer relationship | Can anything be done about the epidemic of unhappiness? | The Economist http://bit.ly/1HpnIo
  • 22 weeks 4 days ago — Denan Then and Now Pt1 | Ogaden Human Rights Group, O.H.R.G. | Causes http://bit.ly/Hl3sa
  • 23 weeks 2 days ago — ah that should be #artwiculate ! Competition of word usage, everyday on twitter | http://artwiculate.com/
  • 23 weeks 2 days ago — All this hubris, while standing 6 feet tall ! too late, if humility comes while laying 6 feet deep @articulate
  •  
  • 1 of 4
  • ››
more

Follow me on twitter

Recent blog posts

  • State of the Emergency Rooms
  • Relativity is Absolute
  • Why GMAIL is so 2004
  • Sound and Productivity
  • Early morning chirps
  • New skin | Orange/Black is my new favorite
  • World Economy vs. BRIC
  • BMW 130i Tii -- will render you speechless !
  • KUHN: When Israel expelled Palestinians:
  • Avi Shlaim : How Israel brought Gaza to the brink of humanitarian catastrophe
more
Syndicate content