1. 15 Sep, 2020 7 commits
  2. 23 Jul, 2020 1 commit
    • Zack Juhasz's avatar
      Made concrete quantity classes public for the following reasons. · ffb88948
      Zack Juhasz authored
      1. There are times when you actually want to specify that a function takes a quantity of a specific type. For example a function that applies some equation to a quantity often first converts that quantity to a Double in a specific unit because the equation is only valid for a specific unit. In this case it is preferable to specify in the type system that the function takes a quantity of that unit so the caller knows if they are providing that function with a quantity of a different unit a conversion has to take place.
      2. Currently Kotlin cannot inline classes when they are passes to a function that takes an interface as a parameter. i.e. they will always be boxed. This makes it possible to retain dimensional type safety without requiring all values to be references. While it may be possible to inline a value passed to a function that takes an interface type in the future, invalidating this reason, I think reason one still makes this the correct choice as there is always the option to use the interface instead.
      ffb88948
  3. 10 Mar, 2020 3 commits
  4. 05 Mar, 2020 2 commits
  5. 03 Mar, 2020 2 commits
  6. 13 Feb, 2020 2 commits
  7. 05 Feb, 2020 6 commits
  8. 04 Feb, 2020 1 commit
  9. 03 Feb, 2020 2 commits
  10. 01 Feb, 2020 3 commits
  11. 30 Jan, 2020 2 commits
  12. 29 Jan, 2020 2 commits
  13. 28 Jan, 2020 5 commits
  14. 27 Jan, 2020 2 commits