The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

    • RT @Astropartigirl: If you touch two CLEAN blocks of the same metal together in space, they weld! Atoms in solid metals move a bit. Touch t… 30 minutes ago
    • RT @harryhol: Is het trouwens niemand opgevallen dat sinds 5G in Nederland is uitgerold, het aantal corona ziekenhuisopnamen dramatisch is… 44 minutes ago
    • RT @FrankBLM: Ik ben oud aan het worden. Ik leer over nieuwe complot- en waantheorieën via de debunks. "Fact check: Metal strip in medical… 46 minutes ago
    • RT @kvlly: Asking the USA to understand epidemiology was maybe a bit too much. We’re still trying to explain the importance of using turn… 48 minutes ago
    • RT @locuta: Ik mis All Your Base Are Belong To Us. Je weet wel, uit de tijd dat het internet nog leuk was. 50 minutes ago
  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,994 other followers

Playing around with semantic typing in Oxygene: https://github.com/carlokok/…

Posted by jpluimers on 2019/12/05

Interesting: [WayBack] Playing around with semantic typing in Oxygene: https://github.com/carlokok/semantictyping adding operators and methods to type aliases to store distin… – Carlo Kok – Google+

Playing around with semantic typing in Oxygene: https://github.com/carlokok/semantictyping adding operators and methods to type aliases to store distinct types like distance, speed, acceleration while storing them as floats.

Check the repository linked; It essentially has types like Kelvin, Celsius ( https://github.com/carlokok/semantictyping/blob/master/SemanticTyping/Temperature.pas ), and Speed, Velocity, Acceleration ( https://github.com/carlokok/semantictyping/blob/master/SemanticTyping/Physics.pas ) using standard Oxygene features.

–jeroen

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

 
%d bloggers like this: