May-22-2018, 12:25 PM
(May-21-2018, 11:30 PM)malonn Wrote: Sorry to thread-break, but what is snake-style naming? I assume camel-style is capitalizing the first letter in the second word of the variable, i.e. camelStyle? I've seen that in videogame scripts and was wondering why some people named variables that way. Java, you say? Anywho, what's snake-style?
This is
snake_style
name. RTPEP-8
Test everything in a Python shell (iPython, Azure Notebook, etc.)
- Someone gave you an advice you liked? Test it - maybe the advice was actually bad.
- Someone gave you an advice you think is bad? Test it before arguing - maybe it was good.
- You posted a claim that something you did not test works? Be prepared to eat your hat.