3 ms·
Emulating Functions in Dart
- moomin 15y agoThis is how Clojure implements functions on top of Java. It still raises the question: if you can build your own runtime, why not just have first class functions? It seems like all anyone knows how to do is reimplement HotSpot.
- mraleph 15y agoDart _has_ first class functions: http://blog.sethladd.com/2011/12/learning-functions-for-dart.html http://blog.sethladd.com/2011/12/learning-functions-for-dart... What Gilad describes is a way to make an instance of a class to behave like a function.