Try writing 20 algebraic manipulations of the equation on paper and you’ll quickly understand why it’s written that way.
Try writing 20 algebraic manipulations of the equation on paper and you’ll quickly understand why it’s written that way.
Why not just add function overloading to the language and have a function named copy
that takes a string and an optional character count?
To be honest, my comment probably applies more to gets
, but the point is the same.
Good for you. Not all of us have terabytes of free space on our computers.
Only a part. A lot of the complexity is completely unnecessary.
Or Nim?
What’s the point of having a function in the standard library if the universal recommendation is to never use it?
Rust is downloading 1546 dependencies
Not only that, it makes your entire purchase free due to NaN arithmetic.
They said “the official version”.
As the OP said, there are FOSS hosted forges. You don’t need to self-host.
With SourceHut, other people can submit patches by e-mail, no need to create an account.
Removed by mod
Removed by mod
Removed by mod
Not if the language is standardized from the start.
An alternative would be a language with a simpler syntax. Something like XML, but less verbose.
Have you read the CommonMark specification? It’s very complex for a language that’s supposed to be lightweight.
Markdown is terrible as a standard because every parser works differently and when you try to standardize it (CommonMark, etc.), you find out that there are a bajillion edge cases, leading to an extremely bloated specification.
You’re so close to reinventing Smalltalk…