sweet syntactic sugar
consider the following chunk of code:
Day dreaming during a tech.ed lecture this morning, I thought:
Ah, but what if the syntax waz reversed?
What if the following code compiled to the same thing under the hood....
Okay... it mightn't change our lives... but it's a wacky thought none the less. Don't reject it too quickly. Drink it in. Suck it up. Chew on it. Swill it around before you spit it out.
When you type the words
"in (people visit..." the intellisense would have a chance to think:
You'd get a nice little intelliswiftness in there i thinks.
Nextly, whatif, instead of calling a Object.Method(), we allowed the syntax: Method Object, for example, instead of:
Imagine you were allowed to say:
Method First, Object Aft!
When you write the method name "Writeline" the intellisense then thinks to itself...
This is a different kind of intellismarts you're calling on -- it's about putting verbs before nouns, like that steveyegge article joel spolsky pointed to recently (you know the one). tink about it.Next → ← Previous
I'm currently writing a book about how to build your first product. If you want to build your first product, please sign up to be notified when the book is available.