Toot

Written by Ben Ramsey on 2024-12-11 at 21:43

@heiglandreas @dseguy Passing a literal array to sort() is a common mistake because most people probably expect it to return the sorted array. After 25 years of using sort(), I’ve even found myself doing this and forgetting that it doesn’t return the sorted array.

=> More informations about this toot | View the thread | More toots from ramsey@phpc.social

Mentions

=> View heiglandreas@phpc.social profile | View dseguy@phpc.social profile

Tags

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

This content has been proxied by September (ba2dc).