Re:JuliaMono – a monospaced font for scientific and technica...
by solidasparagus on Friday October 09, 2020 @06:07PM
(#24734906)
I dread the day that codebases are filled with unicode and it's up to you to notice that "x ⊗ y" is not the same as "x ⊛ y" or "x ⊗ ȳ".
[ Parent
| on HN ]
Re:JuliaMono – a monospaced font for scientific and technica...
by krastanov on Friday October 09, 2020 @06:23PM
(#24735042)
I am sincerely of the opposite opinion. Code that I write on a whiteboard or in a paper or in a textbook is much easier to read than ASCII code.
The over bar example you give is a bad notation independently whether it is code or not. But Unicode indices and superscripts are amazingly useful. And .dot and .kron are simply terrible notation compared to the standard Unicode operators for the same operations.
Re:JuliaMono – a monospaced font for scientific and technica...
by jcelerier on Saturday October 10, 2020 @04:45AM
(#24737550)
This opinion most likely depends of your field and day job.
When I was at the university, most of the software written here was single purpose, rarely more than a couple thousand lines - you've got the time to actually think about every step of the few algorithms that'll be in there.
My last freelance gig was about delving and fixing performance bugs in a multi-million-line codebase that I'd never seen before, in a few days' time. There is absolutely no time to stop and think about ⊗ vs ⊛ in that case.
Re:JuliaMono – a monospaced font for scientific and technica...
by akjssdk on Saturday October 10, 2020 @08:31AM
(#24738506)
Note that this is the main use case of Julia code: relatively short academic code, where more thought goes into coming up with the equations than with the code itself. For me it is not uncommon to spend a week doing the full derivativation of a formula, which is basically a one liner in code.
Re:JuliaMono – a monospaced font for scientific and technica...
by djaque on Saturday October 10, 2020 @12:52PM
(#24740196)
Not at a week yet, but all of my time is spent on derivations and then translating them to code too.
Re:JuliaMono – a monospaced font for scientific and technica...
by cfeduke on Friday October 09, 2020 @10:46PM
(#24736356)
Scala made this available, it was a mess, so this has been to my knowledge largely ignored by the community. Early Scala projects were rife with this sort of impossible to read or maintain code.