Thread: Good Programming Style for Win32

  1. #16
    Registered User
    Join Date
    Sep 2001
    From no style,some style, to any thing you want. It appears that the whole range is represented here. I guess that is why software projects don't meet deadlines and production releases have bugs. QA can't catch everything.

  2. #17
    Registered User
    Join Date
    Sep 2001
    Originally posted by Carlos

    Well, guys, as long as you're "developing" your homework only
    Well actually I'm not. I am currently working for a programming company that works with thousands of lines of code all the time in their projects. As well as currently I have a project on the go personally that is over a thousand lines of code which isn't even close to being done.
    Use the code Luke.

  3. #18
    Normal vector Carlos's Avatar
    Join Date
    Sep 2001

    Cerion, I didn't mean to offend you.

    I just hate messy code, like which we had to bugfix. It was 6 months of horrible work.
    After indenting (!) it (this took about 1 month, as the code was huge, redundant, and full of if/else instead of switch), we started to haunt and rename variables - globals got a "my-" prefix, locals "a-/an-", params "-in / -out" suffix, etc. + hungarian notation :P.
    After applying these rules, our life became easier.

    8 months passed, there are no new bugs (there were over 200 when we got the original source!), the code could get a prize for it's look, and even a newbie could easily understand it.

    Thanks hungarian notation...

  4. #19
    Former Member
    Join Date
    Oct 2001
    It doesn´t matter if you have a style or not, good, clean and organized code is more important than any notation, specially for debugging.

    just try using your own notation, use more time writing clean code rather than wasting time on notations

    if you have a notation or a style, cool, use it.


Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Button handler
    By Nephiroth in forum Windows Programming
    Replies: 8
    Last Post: 03-12-2006, 06:23 AM
  2. Good resources for maths and electronics
    By nickname_changed in forum A Brief History of
    Replies: 8
    Last Post: 12-22-2004, 04:23 PM
  3. Good C++ books for a begginer
    By Rare177 in forum C++ Programming
    Replies: 13
    Last Post: 06-22-2004, 04:30 PM
  4. what is good for gaphics in dos
    By datainjector in forum Game Programming
    Replies: 2
    Last Post: 07-15-2002, 03:48 PM
  5. i need links to good windows tuts...
    By Jackmar in forum Windows Programming
    Replies: 3
    Last Post: 05-18-2002, 11:16 PM