News for hackers. Stuff that matters.
Re:D as a Better C by gmfawcett on Wednesday August 23, 2017 @03:54PM (#15084519)
You can also emit the type during compilation, rather than at runtime:

pragma(msg, "var has type: ", typeof(var));

Re:D as a Better C by nurettin on Thursday August 24, 2017 @01:07AM (#15087734)
You can also emit the type as a compile error by assigning it to a list or something. A trick I often used when studying C++ back when it was cool.