Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nadako
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
nadako
7y ago
> Haxe does not typecheck macros. That is a weird statement. Haxe expression macros by definition return untyped AST to be processed further normally by the typer, just like hand-written code. And it will be type-checked. And then there&
2.
▲
by
nadako
7y ago
Oh, and regarding "how compact are your programs", well every time I see boilerplate code or reflection usage that cannot be refactored into something nice without sacrificing clarity and/or performance, I use meta-programmin
3.
▲
by
nadako
7y ago
Haxe has pretty good metaprogramming capabilities. It has expression macros (compile-time evaluated calls that return expressions to be inserted at call place) as well as type-building macros (build fields and/or define whole new types
4.
▲
New Haxe language feature: import.hx
(haxe.org)
3 points
by
nadako
11y ago
|
0 comments