Re:Microfeatures I'd like to see in more languages
by Pet_Ant on Saturday January 07, 2023 @09:45AM
(#34288406)
Only downside I can see is performance hit. You need to check if it’s negative then you need now calculate the length first… which is a bit of overhead but considering how often you use arrays in a tight-loop… I mean if you can optimize out the check because you can detect that the index is always positive…
[ Parent
| on HN ]