generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Using indentation in code.

Previous Thread :: Next Thread 
Bytecoded is not online. Bytecoded
Joined: 01 Dec 2013
Total Posts: 59
10 Dec 2013 05:43 PM
The pro's and con's of using indentation in programming languages.
Discuss.

I'll start:
Pro - The indented code is neater and is visually easier to interact with.
Con - Pasting the code into a txt file may ruin the formatting, possibly removing the indentation. Consequently, the code may not run properly.

And;
for those who may be wandering in haze, here is an example of a programming language that uses indentation: Python
Report Abuse
MemoryAddress is not online. MemoryAddress
Joined: 20 Apr 2013
Total Posts: 1297
10 Dec 2013 07:04 PM
[ Content Deleted ]
Report Abuse
TheLuaWeaver is not online. TheLuaWeaver
Joined: 09 Feb 2010
Total Posts: 1504
10 Dec 2013 07:06 PM
I hate you, and everything about you.

"pro's and con's"
*cringe*

"And;"
*cringe*

(post in general)
*cringe*

~LuaWeaver; Programmer, gamer, developer.
Report Abuse
MrgamesNwatch is not online. MrgamesNwatch
Joined: 02 Feb 2009
Total Posts: 7729
10 Dec 2013 07:07 PM
We're done here.

~The alpaca of the acting world.
Report Abuse
PhokiusV3 is not online. PhokiusV3
Joined: 07 May 2013
Total Posts: 805
10 Dec 2013 08:39 PM
I prefer indentation if you wish to be able to read and edit your code. A big block of chunked up letters, symbols, and numbers is a complete mess and can ruin the professional look of your code.

For an example, take a look at the map generation script I made. You can pick up a copy of it in my Models section so you can see the benefits of indentation.
Report Abuse
OneTrueGodTheHolyCow is not online. OneTrueGodTheHolyCow
Joined: 24 Oct 2013
Total Posts: 9350
11 Dec 2013 12:51 AM
indentation should always be used...

there aren't any downsides. you're not going to be pasting code into a .txt file. its just easier to read and prettier.
Report Abuse
Prehistoricman is not online. Prehistoricman
Joined: 20 Sep 2008
Total Posts: 12490
11 Dec 2013 10:44 AM
Even if you do copy and paste the code, the formatting with be retained. What are you taking?
Report Abuse
OneTrueGodTheHolyCow is not online. OneTrueGodTheHolyCow
Joined: 24 Oct 2013
Total Posts: 9350
11 Dec 2013 11:06 AM
@Prehistoricman,

I believe he's been mixing his Bloxy Cola with my milk...

Poor, poor dude. :(
Report Abuse
Tenal is not online. Tenal
Joined: 15 May 2011
Total Posts: 18684
11 Dec 2013 11:07 AM
scripters are quickly running out of things to talk about and it's amusing
Report Abuse
Oysi is not online. Oysi
Joined: 06 Jul 2009
Total Posts: 9058
11 Dec 2013 11:15 AM
[ Content Deleted ]
Report Abuse
OneTrueGodTheHolyCow is not online. OneTrueGodTheHolyCow
Joined: 24 Oct 2013
Total Posts: 9350
11 Dec 2013 11:33 AM
^

try using block, it worked for me :)
Report Abuse
Oysi is not online. Oysi
Joined: 06 Jul 2009
Total Posts: 9058
11 Dec 2013 11:35 AM
[ Content Deleted ]
Report Abuse
trappingnoobs is not online. trappingnoobs
Joined: 05 Oct 2008
Total Posts: 19100
11 Dec 2013 11:36 AM
wat is spooky skilentan
Report Abuse
OneTrueGodTheHolyCow is not online. OneTrueGodTheHolyCow
Joined: 24 Oct 2013
Total Posts: 9350
11 Dec 2013 12:20 PM
opposite thing happened to me, i blocked him and now i cant add him back
Report Abuse
MemoryAddress is not online. MemoryAddress
Joined: 20 Apr 2013
Total Posts: 1297
11 Dec 2013 12:38 PM
[ Content Deleted ]
Report Abuse
OneTrueGodTheHolyCow is not online. OneTrueGodTheHolyCow
Joined: 24 Oct 2013
Total Posts: 9350
11 Dec 2013 12:41 PM
what

noob above
Report Abuse
Tenal is not online. Tenal
Joined: 15 May 2011
Total Posts: 18684
11 Dec 2013 01:37 PM
@oysi
The spooky skilentons cannot get me with my euphoric neckbeard, cheeto fingers, bitcoins, Edward Snowden, libertarianism, atheism, and my fedora.
Speaking of fedoras, I might as well tip mine for you, good sir! ;^)
Report Abuse
Victimize is not online. Victimize
Joined: 09 Jun 2013
Total Posts: 1789
11 Dec 2013 01:59 PM
tenal you forgot your trenchcoat
Report Abuse
Basswobble is not online. Basswobble
Joined: 18 Jul 2011
Total Posts: 3249
11 Dec 2013 03:29 PM
Well, if you want it harder for people to steal code snippets and ideas from your code, you remove indentation after you publish your code.

~ Like a Bass ~
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image