Why not just add function overloading to the language and have a function named copy
that takes a string and an optional character count?
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
It does not give the exact answer, only an approximation.
Not only that, it makes your entire purchase free due to NaN arithmetic.
Removed by mod
Removed by mod
Removed by mod
If you’re in the EU, request a GDPR export.
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.
All you need to know to get upvotes on Lemmy is “left good, right bad”.
Try writing 20 algebraic manipulations of the equation on paper and you’ll quickly understand why it’s written that way.