|
Development Forum |
 |
| Should I end code with a newline? | |
|  Geek Ettin
eprillios
    

|
8/13/2013 | |
Should I end code with a newline? This applies to development in general. Some devs do it, some don't. It seems it's a tradition that originates from the fact that some terminal commands (like more or cat) won't output text correctly and some programs won't accept the code otherwise. Because ending with a newline is not always required, I'm wondering if I should do it always.

Geek Ettin's Lab (New!)
Bill Gates: "Be nice to nerds. Chances are you'll end up working for one."

|

Tarilithina
  

|
8/13/2013 | |
Well, if you do it every time, it will be a habit for when it's required, but I think you should just do whatever you feel good with.
Hi! |
|