justChooseOneGoddamn Last updated: March 9, 2025 2:14 pm By InsertaGoodName Share Lounge 36 Comments Subscribe Login Notify of new follow-up comments new replies to my comments Label {} [+] Name* Email* Label {} [+] Name* Email* 36 Comments Oldest Newest Most Voted Inline Feedbacks View all comments chorna_mavpa 3 days ago or count(โฆ), or .Length. Who knows how many other options we have Taro_Acedia 3 days ago .Count, .Count() or Length ANd thats still C# only. drefvelin 3 days ago Meanwhile in C “How would i know how big the array is?” Kalimacy 3 days ago array.getLength() Adrewmc 3 days ago Itโs obviously array.__len__() LinuxPowered 3 days ago Or `#array` if Lua buzzon 3 days ago Also, array.length Tek_5 3 days ago std::size::<array>(myArray) Broad_Vegetable4580 3 days ago sizeof(array) Anaxamander57 3 days ago At least it isn’t a string. Do I need to know how many bytes, how many Unicode code points, or how many Unicode graphemes? foxj36 3 days ago Perl’s way of doing it is hilarious to me. You just evaluate the array as a scalar. “` my @arr = (1,2,3) my $arrSize = @arr “` Wildcatthou 3 days ago Wait. What language is this? Where am I? Who is I? Is me who? Who is who? ThreeCharsAtLeast 3 days ago Or `arra.length` in Java. Only Sun knows why. JimroidZeus 3 days ago I donโt always read the docs, but when I do, this is when I read the docs. No_Wait_5446 3 days ago … Ubound() and Lbound() casually stroll into the conversation … Mitka69 3 days ago sizeof(array) / sizeof(array[0]) fuxoft 3 days ago It’s length(array) jjdmol 3 days ago Every language can provide you with a dozen-page long manifesto why their way is objectively best. JackNotOLantern 3 days ago `sizeOf(array)/array[0]` unless array degenerated into a pointer NotSureWhyI 3 days ago maybe just a dot and IDE does the job for you? Hydrographe 3 days ago I’ve recently started learning java and the other day I couldn’t remember the one for python Ok-Chain-5496 3 days ago โOk its array.length()โ A few rows below, thankfully, Copilot has got your back, suggests โarray.width()โ redballooon 3 days ago Thatโs what I use LLMs for with 50% of my requests. akuma-i 3 days ago Yeah, with three projects in near windows: TS, Go and Rust Maleficoder 3 days ago When youโre working with Javascript and PHP -Danksouls- 3 days ago God I feel this on a visceral level RoberBots 3 days ago Bro, it’s like I’m playing the slots, waiting to get the good one. Particular_Role6100 3 days ago I thought it was in_array()… ๐ PyroCatt 3 days ago Write your own interface: getLength(areay) NaN Wtf? shlepky 3 days ago ๐ญnumel(array) Spice_and_Fox 3 days ago lines( array ) The spaces in the parantheses are important LredF 3 days ago This is where I’ll just ask an AI ๐ DarthRiznat 3 days ago It’s ok, daddy AI will remember it for me  Odd-Gur-8872 3 days ago Or just “#” in array -> #array (lua) foxer_arnt_trees 3 days ago When I’ll write my programming language they would all work Intrepid-Capital-436 3 days ago Thatโs when you hit Cmd + I and have copilot do it for you SearchSearchRecent PostsGraham Land, Antarctica [4030×2713] [OC] Stop doing this to me reddit! Palouse Falls, Washington [3461×3000] [OC] Jan Mayen and the moon [2160×2700] [OC] Anyone else try to sound as intelectual on an essay? Recent Comments
or count(โฆ), or .Length. Who knows how many other options we have
.Count, .Count() or Length
ANd thats still C# only.
Meanwhile in C
“How would i know how big the array is?”
array.getLength()
Itโs obviously
array.__len__()
Or `#array` if Lua
Also, array.length
std::size::<array>(myArray)
sizeof(array)
At least it isn’t a string. Do I need to know how many bytes, how many Unicode code points, or how many Unicode graphemes?
Perl’s way of doing it is hilarious to me. You just evaluate the array as a scalar.
“`
my @arr = (1,2,3)
my $arrSize = @arr
“`
Wait. What language is this? Where am I? Who is I? Is me who? Who is who?
Or `arra.length` in Java. Only Sun knows why.
I donโt always read the docs, but when I do, this is when I read the docs.
… Ubound() and Lbound() casually stroll into the conversation …
sizeof(array) / sizeof(array[0])
It’s length(array)
Every language can provide you with a dozen-page long manifesto why their way is objectively best.
`sizeOf(array)/array[0]`
unless array degenerated into a pointer
maybe just a dot and IDE does the job for you?
I’ve recently started learning java and the other day I couldn’t remember the one for python
โOk its array.length()โ
A few rows below, thankfully, Copilot has got your back, suggests โarray.width()โ
Thatโs what I use LLMs for with 50% of my requests.
Yeah, with three projects in near windows: TS, Go and Rust
When youโre working with Javascript and PHP
God I feel this on a visceral level
Bro, it’s like I’m playing the slots, waiting to get the good one.
I thought it was in_array()… ๐
Write your own interface:
getLength(areay)
NaN
Wtf?
๐ญnumel(array)
lines( array )
The spaces in the parantheses are important
This is where I’ll just ask an AI ๐
It’s ok, daddy AI will remember it for me 
Or just “#” in array -> #array (lua)
When I’ll write my programming language they would all work
Thatโs when you hit Cmd + I and have copilot do it for you