Undefined property : lenght
this post was submitted on 29 Aug 2023
66 points (72.3% liked)
Programmer Humor
32356 readers
1156 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!