Documenting function syntax (*without* using square brackets)

Status
You're currently viewing only Alamout's posts. Click here to go back to viewing the entire thread.
Not open for further replies.

Alamout

Ars Legatus Legionis
27,285
I don't think color is a good idea because it can be hard to read.

I think you should use square brackets because that's what everyone else uses and that makes it easier for people to understand. But if this is the language I think it is, then you've already mangled convention too much to use brackets for this...and you index from 1, to boot. :judge:

Angle brackets might be okay, although it'll still be confusing for people who are used to normal languages.
 

Alamout

Ars Legatus Legionis
27,285
This behavior is pretty standard across the language, and the language is very well-established and firmly entrenched in its niche. I wouldn't want to work there but presumably sweetpepper feels differently or at least is putting up with it for now. Telling her to change jobs is not a terribly useful answer to her question (not that there is a good answer, as far as I see it).
 
Status
You're currently viewing only Alamout's posts. Click here to go back to viewing the entire thread.
Not open for further replies.