durationcheck
Go linter to detect erroneous multiplication of duration values (by charithe)
phpmnd
PHP Magic Number Detector (by povils)
durationcheck | phpmnd | |
---|---|---|
2 | 3 | |
45 | 544 | |
- | - | |
0.7 | 5.5 | |
about 1 year ago | 2 months ago | |
Go | PHP | |
Apache License 2.0 | MIT License |
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.
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.
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
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
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.
phpmnd
Posts with mentions or reviews of phpmnd.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-10-18.
-
PHP libraries and tools
PHP Magic Number Detector: a tool that aims to help you to detect magic numbers in your PHP code.
-
How to generate PHP enums from database in Laravel?
A detailed installation guide can be found at https://github.com/povils/phpmnd
-
Please Put Units in Names
PHP mess detector has a rule for this called "Magic Number Detector" (https://github.com/povils/phpmnd) which will cause an error when it encounters numbers that violate the parameters you set.
What are some alternatives?
When comparing durationcheck and phpmnd you can also consider the following projects:
SI - A header only C++ library that provides type safety and user defined literals for physical units
wsdl-reader - A pure PHP wsdl metadata provider
kal - A powerful, easy-to-use, and easy-to-read programming language for the future.
go - The Go programming language
easytime - A small class based package to help with human readable calculations of time
Squants - The Scala API for Quantities, Units of Measure and Dimensional Analysis
unchained - The multi-language/multi-currency/multi-store, headless Node.js E-Commerce Framework with Native Web3 Integration
dimensioned - Compile-time dimensional analysis for various unit systems using Rust's type system.
Unchained - A fully type safe, compile time only units library.
zen