Please put units in names

This page summarizes the projects mentioned and recommended in the original post on /r/programming

Our great sponsors
  • Appwrite - The open-source backend cloud platform
  • Onboard AI - Learn any GitHub repo in 59 seconds
  • InfluxDB - Collect and Analyze Billions of Data Points in Real Time
  • Squants

    The Scala API for Quantities, Units of Measure and Dimensional Analysis

    Not everything has to be as good as squants, but better typing should always be plan A unless there's a hard limit keeping you back.

  • da-unit

    Typescript unit conversions

    For this purpose I'm pretty ok with Hungarian notation. Haven't found a nice type based solution yet. I tried to roll my own, but looking back I'm not really satisfied with it. Besides, I'm no longer doing anything with physics calculations.

  • Appwrite

    Appwrite - The open-source backend cloud platform. Add Auth, Databases, Functions, and Storage to your product and build any application at any scale while using your preferred coding languages and tools.

  • F#

    Please file issues or pull requests here: https://github.com/dotnet/fsharp (by fsharp)

    F# is a JavaScript and .NET language for web, cloud, data-science, apps and more.

  • durationcheck

    Go linter to detect erroneous multiplication of duration values

    And there's also a fancy pancy linter that checks for this bug for you that's conveniently already integrated with golangci-lint for you, you just need to turn it on.

  • NamedType

    Implementation of strong types in C++

    I haven't used this library in particular or this one, but bless the authors and all the others for trying to make it happen… the project I'm now leading uses strongly typed strings for different component addresses, and it saves me to constantly look up the documentation what the functions need – it's beautiful.

  • newtype-ts

    Implementation of newtypes in TypeScript

    I haven't used this library in particular or this one, but bless the authors and all the others for trying to make it happen… the project I'm now leading uses strongly typed strings for different component addresses, and it saves me to constantly look up the documentation what the functions need – it's beautiful.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts