RSSAmplifier

soc.me · Jul 21, 2017

Language Design: Use `ident: Type`, not `Type ident`

0
Sign in to vote or save

This page cannot be shown here. You can still read it on the original site — the toolbar below keeps your place in the directory.

In expressive languages, developers generally need to use fewer temporary variables. This means that in a typical piece of code there are fewer names defined, but those names carry higher importance. The ident: Type syntax lets developers focus on the name by placing it ahead of its type annotation. This means that the vertical offset of names stays consistent, regardless of a type annotation’s…

Read on /languages/type-annotations.html

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.