RSS Amplifier

soc.me · Nov 5, 2019

Language Design: Modern and Minimal

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.

A smaller language, not a bigger one namespaces: types, terms, packages , fields , methods , labels modifiers: keywords , annotations nesting: packages , modules, static members: fields, methods, properties control flow: if-then-else , return, while, break , continue , loop , exceptions , throw , catch constructors: primary, secondary literals: octal number literals , class literals , ……

  1. A smaller language, not a bigger one
    • namespaces: types, terms, packages, fields, methods, labels
    • modifiers: keywords, annotations
    • nesting: packages, modules, static
    • members: fields, methods, properties
    • control flow: if-then-else, return, while, break, continue, loop, exceptions, throw, catch
    • constructors: primary, secondary
    • literals: octal number literals, class literals, …
  2. Correctness
  3. Fewer special-cases, not more
  4. Simplicity, not familiarity
  5. Higher Standards
    • simple to specify
    • simple to implement
    • simple to understand

Read on /languages/modern-minimal.html

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.