HaxeFoundation / haxe.org-comments

Repository to collect comments of our haxe.org websites
2 stars 2 forks source link

[haxe.org/manual] Class Instance #61

Open utterances-bot opened 4 years ago

utterances-bot commented 4 years ago

Class Instance - Haxe - The Cross-platform Toolkit

Haxe is an open source toolkit based on a modern, high level, strictly typed programming language.

https://haxe.org/manual/types-class-instance.html

wickedjargon commented 4 years ago

The section titled "Class Instance" shows how to write a class / class constructor, while the section titled "Class constructor" shows how to instantiate a class. seems to me like these two sections should swap their titles.

See also YouTube video: https://youtu.be/B_-lcY0USBk?t=3263

0b1kn00b commented 2 years ago

I think they're talking about an instance of the haxe.macro.type.ClassType and a constructor of a class instance.