2009/3/5 Jonathan S. Shapiro <[email protected]>: > Anybody want to argue for curly braces?
Arguing for a particular syntax is hopeless, but the topic has the magic word "poll" in it. :) Although I'm a fan of Haskell's aesthetically pleasing syntax, I have to say that the way Scala mixes traditional C-like and functional syntax is quite nice. Granted, Scala has too much punctuation-based syntactic sugar, but curly braces aren't the issue. Considering that C is the lingua franca of system programming, copying Scala might not be a bad idea. In addition, BitC may look like "worse Haskell" if it copied the ML syntax in a less pleasing way. My view is that the syntax should either resemble C or math, not mix these two together. I wouldn't worry about braces on international keyboards (programmers are used to them anyway), but something like ~ or `op` is definitely a no-no: where I come from, they happen to be dead keys. I do like keywords better and significant indentation even more so, though. Aleksi Nurmi _______________________________________________ bitc-dev mailing list [email protected] http://www.coyotos.org/mailman/listinfo/bitc-dev
