da-unit VS durationcheck

Compare da-unit vs durationcheck and see what are their differences.

da-unit

Typescript unit conversions (by mannershark)

durationcheck

Go linter to detect erroneous multiplication of duration values (by charithe)
SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
da-unit durationcheck
1 2
1 45
- -
0.0 0.7
almost 3 years ago about 1 year ago
TypeScript Go
- Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

da-unit

Posts with mentions or reviews of da-unit. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-03-21.
  • Please put units in names
    7 projects | /r/programming | 21 Mar 2022
    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.

durationcheck

Posts with mentions or reviews of durationcheck. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-03-21.
  • Please put units in names
    7 projects | /r/programming | 21 Mar 2022
    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.
  • Please Put Units in Names
    12 projects | news.ycombinator.com | 20 Mar 2022
    Now I insist on using the durationcheck lint to guard against this (https://github.com/charithe/durationcheck). It found a flaw in some exponential-backoff code I had refactored but couldn’t easily fully test that looked right but was wrong, and now I don’t think Go’s approach is reasonable anymore.

What are some alternatives?

When comparing da-unit and durationcheck you can also consider the following projects:

newtype-ts - Implementation of newtypes in TypeScript

SI - A header only C++ library that provides type safety and user defined literals for physical units

kal - A powerful, easy-to-use, and easy-to-read programming language for the future.

go - The Go programming language

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

dimensioned - Compile-time dimensional analysis for various unit systems using Rust's type system.

zen

Unchained - A fully type safe, compile time only units library.

phpmnd - PHP Magic Number Detector

NodaTime - A better date and time API for .NET

F# - Please file issues or pull requests here: https://github.com/dotnet/fsharp