3 ms·
I've always felt that the choice to 1-index and favor mathematics over engineering has kept the engineers away. You can build a fantastic language for mathemat
by echelon 4y ago
I've always felt that the choice to 1-index and favor mathematics over engineering has kept the engineers away.
You can build a fantastic language for mathematicians, but people outside that domain won't feel welcome or compelled to use the language to scratch their itches.
It'll just sit there. For math folks.
- currymj 4y agoI don’t think “mathematicians” is the right category. More like scientists/engineers who would otherwise use Fortran and Matlab (both have 1 based indexing) to do number crunching. That’s actually a lot of people though writing quite a bit of code. It’s just they just don’t work in the software industry, and usually for them the code is not the work product. I think the aspiration was to provide something that a Matlab user can immediately pick up, that is almost as fast natively as Fortran, that also provides features to do good modern software engineering if you want to. And it succeeds amazingly at this. In my own view, adoption has not been wider because 1) most people don’t need speed so the trade offs with the compiler + using a weird language aren’t worth it, and more importantly 2) outside of some incredible software gems, the package ecosystem tends to be flaky and maintained by overworked academics in their spare time.
- echelon 4y ago> outside of some incredible software gems, the package ecosystem tends to be flaky and maintained by overworked academics in their spare time. That was the point I was trying to make. This language is too esoteric and leafy for most hackers / engineers / enthusiasts to spend their spare time building support packages. They'll pick up something like Nim or Rust as a new language before they'll look at Julia. By catering to mathematicians, scientists, and engineers, the broader population of software folks were excluded. Or, if "excluded" is too harsh, they at least weren't incentivized. Because of this, the best parsers, serializers, protocol implementations, scrapers, web servers, and other assortment of important technologies get written in other languages instead.
- currymj 4y agoI think you are right about this -- I just wanted to draw the distinction between mathematicians and the much larger population of scientists/engineers, who really do write a lot of code which is in its way "serious computing" even if it doesn't deal with any of the concerns and practices of "good software engineering". (I also think Julia would be okay with the current level of support for the "computer sciencey" technologies you describe like parser and web servers and so on -- it's pretty good at calling out to C or C++ if needed. But even many of the scientific/numerical packages don't have the maintenance resources they really need, so are often "good but flaky". This situation does seem to be slowly improving though.)
- canadianfella 4y ago[dead]
- rfoo 4y ago"How do you xor two numbers in Julia?" "a ⊻ b" "... am I supposed to type (or copy paste) that symbol every time I want to xor two numbers? There must be a better way right?" "Sorry, no." I immediately gave up the language after this. Too bad, I really loved it and was looking forward to progress in DL stack in Julia at that time. Too math-y.
- adgjlsfhk1 4y agoYou can always just use `xor(a,b)`. Julia makes sure that there aren't any unicode operators that don't have an ascii equivalent (in Base at least). Also, most editors will allow you to type ⊻ as `\xor` and tab complete to ⊻.
- shele 4y agoLa mayoría de humans ist gewohnt avoir mehr letters que clés de toute façon.
- DNF2 4y agoSo you gave up the language after someone gave you a flat out wrong answer to a single question? That's too bad.
- bobbylarrybobby 4y agoJulia has built in support for special characters like that by typing \charname<tab>. You have to remember the name but it's not all that hard to type.
- xdavidliu 4y ago> "... am I supposed to type (or copy paste) that symbol every time I want to xor two numbers? There must be a better way right?" > "Sorry, no." This just false. From https://stackoverflow.com/a/60173810/2990344 https://stackoverflow.com/a/60173810/2990344 help?> ⊻ "⊻" can be typed by \xor<tab>
- dunefox 4y agoIf this is why you stopped using the language then you can't have spent more than an hour on it. \symbol<tab>
- fluidcruft 4y agoI assume you mean specifically software engineers? Most traditional engineers are quite familiar with Matlab and Fortran.
- brickteacup 4y agoI've never understood why some people seem to care so much about 1- or 0-based indexing. Literally who cares? I cannot comprehend actually refusing to use an otherwise-perfectly-good language just because the indexes happen to start at 1.
- xdavidliu 4y agoPeople care about difference things. There are probably people who don't give a rat's behind about stuff you care passionately about or irks you in some significant way. Does that invalidate your caring?
- yuppiemephisto 4y agoBecause it’s wrong. Combinatorics taught me that, and I’ll be damned before I ignore what the universe keeps screaming at me