creatures caves welcome, guest
downloads   gallery   dev   community   creatchi   forum   mycaves
bookmarks | search | post new topic
Development Forum
old
Should I end code with a newline?   
eprillios
Geek Ettin

eprillios
Netherlands  

 visit eprillios's website: CreaturesCommunity.net
  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

Tarilithina


 visit Tarilithina's website: Miscellaneous Creatures Stuff
  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!
 


downloads
cobs
adoptions
creaturelink
metarooms
breeds
 
gallery
art
wallpaper
screenshots
graphics
promos
sprites
dev
hack shack
script reservations
dev resources
active projects
dev forum
 
community
links
advice
chat
polls
resources
creatchi
 
forum
bookmarks
general
news
help
development
strangeo
survivor
mycaves
log in
register
lost pw
1 online
Cervith
creatures caves is your #1 resource for the creatures artificial life game series: creatures, creatures 2, creatures 3, docking station, and the upcoming creatures family.

contact    help    privacy policy    terms & conditions    rules    donate    wiki