fun. operator innovation is the funnest
@wilfredh You can never* remove syntax. Implement the 'long form' of the thing and only when it becomes a recurring pain to write, think about introducing sugar. The repeating things might not be where you think, and premature sugar means it might be harder to introduce the genuine affordances later on.
* ok but it's really hard
Daniel Terhorst-North@tastapod@mas.to
A huge list i started building last year 1studies/_lang at main · jerng/studies · GitHub
https://share.google/PwRFBMjLXrF6FWSvS@wilfredh My rule for PLs is "The features that will be used most are those that are easiest to use". So if you want people to use binary ops often, make them operators. If you're indifferent, I'd go with functions/methods.
@wilfredh I would definitely prefer functions, not only are you saving precious operators, you can also add a lot of commonly used stuff (bitwise rotation, setting specific bits, creating bitmasks of a specfic length) that usually don't have operators. And besides actually needing bitwise operations is quite rare.
Sounds similar to Rosetta Code?
Wilfred Hughes
RC has not been very well UIed imo.
My own notes are just for study. Toy lang prep