{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreiab6sgdbrscs24lublnqkfys6edskqidp556sorcp62qmhbiokgja",
"uri": "at://did:plc:4n6wgsqsqm6q2hjncgwmreey/app.bsky.feed.post/3mk2euz27m6s2"
},
"path": "/post/49127561",
"publishedAt": "2026-04-20T17:30:15.000Z",
"site": "https://programming.dev",
"tags": [
"Godot",
"MousePotatoDoesStuff",
"5 comments"
],
"textContent": "submitted by MousePotatoDoesStuff to godot\n8 points | 5 comments\n\nThere is a distinct lack of random functions for vectors, so I decided to add some to the Mouse Potato Utils Plugin.\n\nHowever, I’m not sure whether I should make the right end of the range inclusive (make it a maximum) or exclusive (like the range() function) when it comes to integer vectors.\n\nI’ll make it inclusive for now, but what do you think?",
"title": "I'm adding a random vector function to my plugin. Is range or min/max better?"
}