Java’s forever loop

If you want to loop forever in Java, just type


for(;;) { }


Coincidentally, “for(;;)” and “forever” have the same number of characters…

Notes

  1. melisucks reblogged this from publicboolean
  2. kl4xon reblogged this from fuckyeahcomputerscience
  3. hypnotiqlawls reblogged this from fuckyeahcomputerscience and added:
    coincidence i think not.. :P
  4. all-in-due-time reblogged this from fuckyeahcomputerscience
  5. nofearofchic reblogged this from publicboolean and added:
    romanticize Java. On second thought, I don’t like...word “forever”. I’d rather use the...
  6. hi-tech-college reblogged this from fuckyeahcomputerscience
  7. doobyy reblogged this from publicboolean and added:
    amazing. nerd mode, go.
  8. punyaoz reblogged this from fuckyeahcomputerscience
  9. noayudantiwi reblogged this from fuckyeahcomputerscience
  10. cheejelly reblogged this from fuckyeahcomputerscience
  11. rhapsodicoutburst reblogged this from fuckyeahcomputerscience
  12. thoughtsofjamie reblogged this from fuckyeahcomputerscience
  13. maggiegelz reblogged this from fuckyeahcomputerscience and added:
    If you want to loop forever in Java, just type for(;;) { } Coincidentally, “for(;;)” and “forever” have the same number...
  14. justin-herrera reblogged this from fuckyeahcomputerscience
  15. sinceramenteamare reblogged this from fuckyeahcomputerscience
  16. lemus reblogged this from fuckyeahcomputerscience
  17. araritta reblogged this from fuckyeahcomputerscience
  18. tcfusion reblogged this from fuckyeahcomputerscience and added:
    I think some of those coded into osome of the most popular websites. Why else could they be that slow :D
  19. zaokun reblogged this from fuckyeahcomputerscience
  20. donalove reblogged this from fuckyeahcomputerscience
  21. turtlerobot reblogged this from fuckyeahcomputerscience and added:
    why would you even want to make an infinite loop tho
  22. chineyphoenix reblogged this from fuckyeahcomputerscience
  23. derpkneenar reblogged this from fuckyeahcomputerscience