jll63 / openmethods.d

Open multi-methods for the D language. OPEN! Multi is cool. Open is great.
44 stars 8 forks source link

Deprecation warnings #10

Closed denizzzka closed 6 years ago

denizzzka commented 6 years ago
../openmethods.d/source/openmethods.d(710,12): Deprecation: struct std.datetime.StopWatch is deprecated - Use std.datetime.stopwatch.StopWatch.
../openmethods.d/source/openmethods.d(1199,15): Deprecation: struct std.datetime.StopWatch is deprecated - Use std.datetime.stopwatch.StopWatch.
jll63 commented 6 years ago

Ready in https://github.com/jll63/openmethods.d/tree/use-new-stopwatch but gdc is not up to it yet.

denizzzka commented 6 years ago

Huh, ok. And thanks for this project - it is very helpful! Maybe this mechanism shold become a part of any OOP language.

jll63 commented 6 years ago

Thanks. Open methods are native in several languages and object systems. The Common Lisp Object System was, AFAIK, the first implementation of the idea. Clojure, Dylan, Cecil, Julia, TADS, etc all implement polymorphism via open multi-methods.