Undefined property : lenght
this post was submitted on 29 Aug 2023
62 points (71.5% liked)
Programmer Humor
32710 readers
98 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 5 years ago
MODERATORS
Syntax error: expected >
Yeah 💀 the for loop won't run then
Syntax error: ? is not a valid operator
Unexpected token 'public'
Unknown member 'lenght'
Speak for yourself
for(int i = 1; i > 0; i++)
-8 bytes
for (int i=1;;i++)
Not quite the same, there's a subtle but significant difference
Which is?
What happens on the next iteration when i = 2,147,483,647 for each of our loops?
Next!