The Dink Network

Reply to Re: SEMICOLONS ARE THE SPAWN OF BEELZEBUB

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
February 19th 2013, 07:09 AM
goblins.gif
Well, I think I'll keep brackets for procedures, just because they look cleaner to me. But I do believe you are right, semicolons don't actually do anything and the brackets aren't really necessary.

Once I took a look into your Lost Forest romp story folder, and I saw how you scripted everything. I was surprised that the scripts even worked with how different they looked from the normal conventions. If I was used to it, I might code like that too. But with how long I've read it like:
void procedure( void )
{

}


It's a very jarring adjustment that makes it harder for me to read to remove the brackets. I also like to use big indents for every bracket like:

void main( void )
{
     if (&quest == &cheese)
     {
          //go on a quest for cheese
     }
}


It's just something I've got used to and is easiest for me to read. But you should continue using whatever format is easiest for you, and it's true you will save on a few KB or so of disk space every megabyte by removing the unnecessary things.

I'll think about not typing the semicolons anymore, though.