Re:Show HN: Numbat – A programming language with physical di...
by praveen9920 on Thursday November 16, 2023 @01:21PM
(#38293334)
It’s interesting that they support currency units. Wonder how the conversion works. Probably have to provide conversion factor as well?
[ Parent
| on HN ]
Re:Show HN: Numbat – A programming language with physical di...
by eminence32 on Thursday November 16, 2023 @02:11PM
(#38293936)
It'll fetch current conversation rates from the internet
Re:Show HN: Numbat – A programming language with physical di...
by sharkdp on Thursday November 16, 2023 @02:55PM
(#38294576)
Yes. We use up-to-date currency exchange rates from the European Central Bank [1].
https://github.com/sharkdp/numbat/blob/786512175b99c195a7d5b...
Re:Show HN: Numbat – A programming language with physical di...
by freistil on Thursday November 16, 2023 @03:55PM
(#38295380)
That's one of these things where you can spend quite some effort to get that right but it's not going to be useful for anything deeper. That's like saying "here, we have implemented Newton's mechanics in fundamental types, now you can in theory simulate a body up from its atoms!" and while that would sound compelling if you don't know much about physics, it would quickly become useless once you know more about physics.