ghost icon indicating copy to clipboard operation
ghost copied to clipboard

Add `new` keyword to create new class instances

Open kaidesu opened this issue 2 years ago • 0 comments

Instead of newing up class instances based off a method:

flight = Flight.new()

I think I'd like to explore how most other language new up instances through a dedicated new keyword:

flight = new Flight()

Reads easier when parsing code and is already intuitive for most developers coming in with past experience.

kaidesu avatar Oct 08 '23 23:10 kaidesu