3 ms·
Some things are obvious, some are not. Keywords are not really the problem, it's more when people start abbreviating their identifiers. One I saw in some code
by imron 10y ago
Some things are obvious, some are not.
Keywords are not really the problem, it's more when people start abbreviating their identifiers.
One I saw in some codebase a while back was xxxxRec and it took me a while to realise it was an abbreviation for Receiver because for whatever reason my initial mental auto-complete was Record and that wasn't making much sense.
And while it will always be obvious to the person writing the code, it might not always be obvious to the person reading the code. Sometimes that's even the same person.
So I agree that Rust feels a little too heavy on abbreviations at times.