Exit Full View

Feather2 / documentation / ComparisonWithVersion1.md

Comparision with Feather Version 1

  • Feather v1 permitted the extends list to omit the super constructor call (as long as the superclass had a no-arguments constructor).

  • Feather2 takes Kotlin's approach to open vs final classes. i.e. final by default, unless the open keyword is present.

  • Version 2 has deprecated the static keyword. Static methods are now uses the keyword meth, whereas and fun is used for functions (which is what Java calls static methods). What used to be called static fields are now called class fields, and use the class keyword.

Back to Contents