Skip to content

More detail needed on Overview #2

@woosanghun

Description

@woosanghun
  1. At first, it looks like you are trying to teach the entire syntax by showing code with all the language features.

There should be a note that says this is a quick preview of the language, and look how similar it is to Java. enum, class, interface all work as you would expect. More details on each element are explained later in the document.

  1. Add a function call that prints something out. This would give the user a starting point to add code and play with it.

For example, under "enum", this would confirm that integers are sequentially assigned for enums as it is done in Java.

function main() {
console.log( Color.White=${Color.White} );
console.log( Color.Black=${Color.Black} );
console.log( Color.Red=${Color.Red} );

}

main();

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions