|
| 01 Jun 2015 10:21 PM |
what style do you code in
i asked this before but that was a long time ago
me: xDa25mm.png |
|
|
| Report Abuse |
|
|
| |
|
Locard
|
  |
| Joined: 13 Apr 2014 |
| Total Posts: 3516 |
|
|
| 01 Jun 2015 10:25 PM |
prntscr 7c4bgk
Crossed out an important algorithm, but yeah that's basically how I format mine. |
|
|
| Report Abuse |
|
|
|
| 01 Jun 2015 10:27 PM |
you're pretty much like me but you use camelCase
i tend to vary in casing conventions depending on what i'm coding for. if for myself, then i PascalCase it all the way and use my C# habits all over my code if for/with other people (like polymorphic), i tend to use camelCase |
|
|
| Report Abuse |
|
|
thea96
|
  |
| Joined: 09 Feb 2011 |
| Total Posts: 37634 |
|
|
| 01 Jun 2015 10:29 PM |
camelCase for in-script references to objects
actual name property of object is PascalCase
like
gateObject = game.Workspace:WaitForChild("GateObject") |
|
|
| Report Abuse |
|
|
Locard
|
  |
| Joined: 13 Apr 2014 |
| Total Posts: 3516 |
|
|
| 01 Jun 2015 10:31 PM |
| I stick with camelCase because it's just easier for me to identify for some reason. I've been doing it for all the time that I script and code so I prefer to stick with what I've always been doing. |
|
|
| Report Abuse |
|
|
|
| 01 Jun 2015 10:34 PM |
when i'm programming in c# i use what the industry uses and it's confusing af but hey this this is casing the pros use so lV5v5ho.png
it's like a bad marriage between camel and Pascal |
|
|
| Report Abuse |
|
|
thea96
|
  |
| Joined: 09 Feb 2011 |
| Total Posts: 37634 |
|
|
| 01 Jun 2015 10:34 PM |
MY OLD WAY OF SCRIPTING PASTE BIN 9q58zHeX
STUFF I DID 2 MONTHS AGO FOR V O I D PASTE BIN 66ciqfv6 |
|
|
| Report Abuse |
|
|
|
| 01 Jun 2015 10:37 PM |
prntscr:
7c4e5w 7c4eda
not sure lol |
|
|
| Report Abuse |
|
|
thea96
|
  |
| Joined: 09 Feb 2011 |
| Total Posts: 37634 |
|
|
| 01 Jun 2015 10:39 PM |
| lol two character references? |
|
|
| Report Abuse |
|
|
| |
|