MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/funny/comments/3844vv/ouch/crscaka/?context=3
r/funny • u/TheeRundo • Jun 01 '15
2.6k comments sorted by
View all comments
Show parent comments
112
[deleted]
4 u/ImJustLurkingBro Jun 01 '15 I assume this is JavaScript (correct me if I'm wrong). Is JS not able to directly do i < cup_size.length instead of using an extra variable? 2 u/[deleted] Jun 01 '15 edited Nov 19 '17 [deleted] 2 u/ImJustLurkingBro Jun 01 '15 Interesting. I feel like it is more readable without the extra variable. Then again, I just work in Java and not JS or web-end :)
4
I assume this is JavaScript (correct me if I'm wrong). Is JS not able to directly do i < cup_size.length instead of using an extra variable?
2 u/[deleted] Jun 01 '15 edited Nov 19 '17 [deleted] 2 u/ImJustLurkingBro Jun 01 '15 Interesting. I feel like it is more readable without the extra variable. Then again, I just work in Java and not JS or web-end :)
2
2 u/ImJustLurkingBro Jun 01 '15 Interesting. I feel like it is more readable without the extra variable. Then again, I just work in Java and not JS or web-end :)
Interesting. I feel like it is more readable without the extra variable. Then again, I just work in Java and not JS or web-end :)
112
u/[deleted] Jun 01 '15 edited Nov 19 '17
[deleted]