eerolanguage / eero

Eero was a fully binary- and header-compatible dialect of Objective-C, implemented with a modified version of the Apple-sponsored LLVM/clang open-source compiler. It featured a streamlined syntax, Python-like indentation, and other features that improve readability and code safety. It was inspired by languages such as Smalltalk, Python, and Ruby.
https://web.archive.org/web/20171101134337/http://eerolanguage.org/
288 stars 7 forks source link

type inference alternative syntax #30

Closed ghost closed 11 years ago

ghost commented 12 years ago

for me: var car = Car new is more readable than car := Car new

It seems cleaner with less symbols.

fjolnir commented 12 years ago

But instead you get more keywords. (Although I must agree that a := b doesn't say "variable initialization" to me)

andyarvanitis commented 11 years ago

I definitely considered this, but ultimately decided to stick with ":=" for Version 2. Thanks for the great feedback!