News for hackers. Stuff that matters.
Re:Ravi – Lua 5.3 with optional static typing by CyberDildonics on Saturday October 17, 2015 @04:34PM (#10405950)
Typing becomes a tool for solving multiple problems and its uses become more vague under these terms.

In the most basic sense, types can offer the size in bytes of the data.

They can also be used to verify that certain data can be used in certain ways.

If you look at C++ you can use polymorphism if you want a uniform interface and generality elsewhere. You can use templates if you want uniform data size and interface.

There are no comments on this comment yet.