|
From: BPJ <bp...@me...> - 2015-08-11 16:54:26
|
Den 2015-08-11 16:24, Sharon Correll skrev: > Yes, you can certainly use underscores and digits in class and attribute names. > It looks like they can't start with these, though. > > Personally I don't like underscores as much in GDL because they get confused > with the underscores in rules, which have specific meanings. But it is up to you. I'm used to making a distinction between underscore surrounded by whitespace and not so surrounded, so I don't perceive as big a problem with that as with parsing lots of low-redundancy camelcase words while scanning code. I guess variable names based on English words make the latter worse for me as a non-native speaker. > > > On 8/11/2015 6:24 AM, BPJ wrote: >> Hi, >> >> What are the valid characters and syntax of identifiers (classes >> etc.)? Most examples use CamelCase but I noticed one example in >> the tutorial mateial which uses underscored_words, which I much >> prefer. OTOH I nowhere see examples of identifiers with digits. >> What gives? >> >> /bpj >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> Silgraphite-fonts mailing list >> Sil...@li... >> https://lists.sourceforge.net/lists/listinfo/silgraphite-fonts > > > > ------------------------------------------------------------------------------ > > > > _______________________________________________ > Silgraphite-fonts mailing list > Sil...@li... > https://lists.sourceforge.net/lists/listinfo/silgraphite-fonts > |