objectscript / cos-guidelines

Caché ObjectScript contibutors guidelines
MIT License
15 stars 15 forks source link

Spaces between assignments #1

Closed eduard93 closed 8 years ago

eduard93 commented 8 years ago

I propose mandatory spaces before and after assignment:

set a = 1 
for i = 1:1:10 {

Instead of current:

for i=1:1:10
tsafin commented 8 years ago

This may be recommended as optional (as part of general recommendation to insert spaces around binary operators) but not mandatory. As you might reognized I didn't use it at the for example. That was oversight (because I do prefer to wrap it in spaces in most of the cases), but here it seemed quite legit