RSSAmplifier

soc.me · Jul 21, 2017

Language Design: Generics

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.

Two interconnected design decisions achieve a particularly interesting sweet-spot in language design: The ident: Type syntax allows consistent and straight-forward placement of generics, compared to languages which use Type ident 1 : Generics ( [T] ) always follow the name of a class or a method, both at the definition-site and at the use-site. A clearly defined use of brackets results in a more…

Read on /languages/generics.html

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.