This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Line limit to 80 chars

How to limit line limit to 80 charactres. Do keil has any setting for this which gives an indication of max length on top, or it has to be done manually.

Parents
  • but if the decision is up to me, I prefer 8 character wide real tabs. You clearly see if you mess up and that you're nesting too many loops and conditions and would be better off reconsidering what you're doing.
    tabbing 8 in C ??? you will get lines a mile long. Even with my 'rule' (rare exceptions allowed) of max 4 indentions you would start at pos 32 and a reasonable complex expression with descriptive names woukd run off the screen.
    The last 4 places I have worked has been tab 2 and tab 3.

    anyhow, your statement is invalid since any sensible person would use the tab key and set the editor to "convert tabs to spaces" and thus, the "position precision" would be there.

    Erik

Reply
  • but if the decision is up to me, I prefer 8 character wide real tabs. You clearly see if you mess up and that you're nesting too many loops and conditions and would be better off reconsidering what you're doing.
    tabbing 8 in C ??? you will get lines a mile long. Even with my 'rule' (rare exceptions allowed) of max 4 indentions you would start at pos 32 and a reasonable complex expression with descriptive names woukd run off the screen.
    The last 4 places I have worked has been tab 2 and tab 3.

    anyhow, your statement is invalid since any sensible person would use the tab key and set the editor to "convert tabs to spaces" and thus, the "position precision" would be there.

    Erik

Children