Why Nostr? What is Njump?
2024-04-06 09:44:03

npub15n…z76nx on Nostr: When representing a rectangle in code, I have values named "width" and "height", and ...

When representing a rectangle in code, I have values named "width" and "height", and it is immediately clear that those values represent "the length of the top & bottom edges" and "the length of the left & right edges"

When representing a square in code, what do you call the equivalent single value which represents "the length of the top, bottom, left & right edges"? "sideLength" would work but it's so much more clunky than "width"

#math #maths #programming
Author Public Key
npub15n88y7t2qydfmeu45emyhyzcq2c2et3ct2us6ruy68mnf23v5cgq6z76nx