3 ms·
It doesn’t predate sql and certainly not it’s use in mathematics. There are other options for concatenation so this is an unfortunate error. Shouldn’t copy Er
by mixmastamyk 2y ago
It doesn’t predate sql and certainly not it’s use in mathematics. There are other options for concatenation so this is an unfortunate error.
Shouldn’t copy Erlang, otherwise might as well use it.
- trenchgun 2y ago>It doesn’t predate sql and certainly not it’s use in mathematics. What do you mean by "it's use in mathematics"? To my knowledge <> was invented by Algol language creators to use it for inequality. There was no previous use in mathematics. And to my opinion, that was an unfortunate error.
- deleted 2y ago[deleted]
- sodapopcan 2y agoOh ha, duh me, I did not consider it wasn't invented by Postgres.
- mixmastamyk 2y agoInteresting, must have learned it so long ago… Pascal? that I conflated it with math class. Still ~1958 is rather venerable. The plot thickens, apparently ++ is used for erlang. So I still find it a poor choice.
- sodapopcan 2y ago++ is for concatenating lists, it's not the only functional language that uses this. Really though who cares? `=` is already misused in most programming languages.
- mixmastamyk 2y agoWhen looking at new languages, getting the basics right is the first thing I look at. Clumsy string concatenation is a blocker in my business, which is like 75% of the code.
- sodapopcan 2y agoActually in Elixir when doing string building you want to use "improper" lists which lets you very efficiently build up a string without doing any copying.