Re:Electr, a language for electronic formulas
by mallin on Thursday August 27, 2015 @08:39PM
(#10133034)
In practical engineering (on circuit diagrams, bills of
materials, etc), you almost never see the "Ω" symbol. "K" is used for kΩ, "M" for MΩ, and "R" for Ω (as in 330R is a 330Ω resistor).
It's nothing to do with programming language design.
Re:Electr, a language for electronic formulas
by lkdjiin on Friday August 28, 2015 @04:06AM
(#10134222)
Like said before it has nothing to do with language design.
That said, I like the idea of having Ω, √, etc. But I'm afraid that our keyboards/editors/terminals are still not good to type that kind of characters quickly. But maybe I could use R or Ω, K or KΩ, why not…
And yes I think you're right, I could infer that 10K + 200 is 10.2K, like 3V times 2 is 6V, etc
Why kilo-ohms are denoted with "K" while milliamperes are using the proper SI unit "mA"? Why not to use "Ω" and "kΩ"? We have that symbol in high ASCII.
Probably just my ignorance of programming language design speaking but I really have to ask.