Post AQV9p1SmoJZ7RX3ISO by jeroen94704@fosstodon.org
(DIR) More posts by jeroen94704@fosstodon.org
(DIR) Post #AQV7a3ZySfq3km9NSa by jvalleroy@fosstodon.org
2022-12-11T15:13:33Z
1 likes, 0 repeats
I wish programming languages would just accept synonyms of method names. Like if I write "contains" instead of "includes", that should just work, right?#programming
(DIR) Post #AQV7a4TH944gWI1Xeq by tuxicoman@social.jesuislibre.net
2022-12-11T15:18:20Z
0 likes, 0 repeats
@jvalleroy uses javascript, even mispelling works : https://docs.npmjs.com/cli/v8/commands/npm-installAnd i hate having multiple ways to write the same stuff. Horrible for code review
(DIR) Post #AQV9p1SmoJZ7RX3ISO by jeroen94704@fosstodon.org
2022-12-11T15:43:27Z
0 likes, 0 repeats
@tuxicoman @jvalleroy I once had the displeasure of having to work with a scripting language that included the keyword "unless", which was the inverse of "if". Gave me such a headache I spent an afternoon rewriting all instances of unless to if.