Skip to content

Language Defines #3

@wild-billy

Description

@wild-billy

Originally the stddef was pretty conservative since I assumed everyone wants to code like a real programmer™: it only had ALGOL-style AND,OR, NOT, TOGGLE and such.
But then the very first PR (now deleted sadly) proposed much more aggressive syntactic sugar (giving most operators english variants), which got me thinking.

DM is supposed to be a language in the vein of Python, Ruby, and co (noob-friendly, pretty, easily readable, modern) right?
So doesn't it make sense to use syntactic sugar to try to move DM closer to its intended purpose?

See languages like Ruby, Python, the Lisp family, and especially CoffeeScript (which is centered around this: see the doc http://coffeescript.org/). Many people like and appreciate them, even though they're heretical abominations by the standards of the past few decades;

Since this is meant to be a standard library serving the DM community as a whole, it'd be good to get consensus here.
Specifics can be worked out later, but first of all, what are your opinions on this topic in general?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions