Alexander Plavin

Results 348 comments of Alexander Plavin

If only angles were dimensionful from the beginning... :)

> Dimensionless angles is the SI standard Yes. > it makes sense for Unitful to be the same Does not follow from the former. In computations, dimensionless angles make it...

I'm also all for providing an option for dimensionless/dimensionful angles! But it's important for such an option to work with other packages and functions defining/using units. Like, someone defines ```...

> make the unit m also a real number, i.e., m would be the same as 1m Nice approach! An advantage of real quantities & units would be that then...

Equality with zero is already convenient and perfectly general in Julia: `iszero(some_unitful_function())`. It doesn't require any further operators, especially breaking. As `isless` is bound with `isequal` according to their docstring,...

Given the "extension packages" feature of 1.9, splitting packages for the sake of loading time is not needed anymore. `Distributions` and others can just add `Unitful` as a weak dependency,...

Another motivation for splitting the "interface" part is that it would enable support for "static units" (Unitful) and "dynamic units" (DynamicQuantities, @MilesCranmer) with the exact same code. Would be great...

I thought more about the unification idea, and noticed that quite a lot of useful stuff is possible even without any buy-in from Unitful/DQ! Although, it would be cleaner with...

Totally, both the name and location of the repo are up to changes :) IMO would be best to have a lightweight UnitsBase with just two empty function definitions for...