Keep the Braces!

Discuss plans for the development of Denizen2Sponge here.
Post Reply
User avatar
Possibility
User
User
Posts: 2
Joined: August 6th, 2016, 12:03 pm
Location: Germany

Keep the Braces!

Post by Possibility » August 6th, 2016, 12:20 pm

7. The if x { ... } notation is now if x:, same for loop commands and anything else that used braces.
Why do u want to remove all braces in Denizen2?

The Braces perfectly shows, where an if-Function starts, and ends, also for the other Functions. The double points arent showing it as good as the braces in my opinion. If u have a bigger Function who's longer than just 10 Lines, you cant just set the Mouse behind the braces and see where the function ends.

Since more than a year, the braces were in use in Denizenscripts, and now u want to eliminate them instantly? :cry:
Wouldnt it be a compromise, if u add the double point notations, and keep the braces? D:

User avatar
mcmonkey
Site Admin
Site Admin
Posts: 229
Joined: August 5th, 2016, 7:27 pm
Location: Los Angeles, California, USA
Contact:

Re: Keep the Braces!

Post by mcmonkey » August 6th, 2016, 12:28 pm

We don't like the braced system from Denizen1 because it is absolutely horrid internally.

HOWEVER

Due to much feedback from you here and others on IRC,
I have looked for and today found a way to make it work anyway, using preparser code.

View commit here: https://github.com/DenizenScript/Denize ... e4511f98ad

As of latest commit, Denizen2 for the most part supports {braced} syntax.

Thanks for your feedback!
Denizen lead developer.
http://mcmonkey.org

User avatar
Possibility
User
User
Posts: 2
Joined: August 6th, 2016, 12:03 pm
Location: Germany

Re: Keep the Braces!

Post by Possibility » August 6th, 2016, 1:00 pm

<3

BloodEko
User
User
Posts: 4
Joined: August 5th, 2016, 11:59 pm

Re: Keep the Braces!

Post by BloodEko » August 6th, 2016, 2:54 pm

'like'

BlackCoyote
Regular
Regular
Posts: 78
Joined: August 6th, 2016, 1:44 am

Re: Keep the Braces!

Post by BlackCoyote » August 7th, 2016, 2:13 am

braces suuuuuuuuuuck

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest