Toot

Written by onor.io on 2025-01-08 at 14:11

Another thing that language designers should be very aware of: defaults are extremely important! Most developers will never bother to use anything other than a default even if another choice would better suit the use case.

I mean how many people use an unsigned integer as an index in a looping construct? Yet consider how many times you've needed a negative index into, well, any data structure? But because signed integer is the default that's what usually ends up getting used!

=> More informations about this toot | View the thread | More toots from onorio@mastodon.acm.org

Mentions

Tags

Proxy Information
Original URL
gemini://mastogem.picasoft.net/toot/113793139643997738
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
223.570909 milliseconds
Gemini-to-HTML Time
0.47443 milliseconds

This content has been proxied by September (3851b).