Mercerenies / gdlisp

Lisp on the Godot platform
GNU General Public License v3.0
146 stars 1 forks source link

Class Compilation Order #48

Open Mercerenies opened 3 years ago

Mercerenies commented 3 years ago

Just a minor style quirk.

Currently, classes compile such that the constructor is unconditionally first, followed by variables and methods. It would be nice if the constructor was between variables and methods, as that's how most people normally write classes by hand.

Mercerenies commented 3 years ago

Applies to singletons (defobject) too.