Timeline for Shortest code to produce infinite output
Current License: CC BY-SA 3.0
17 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Apr 26, 2018 at 14:13 | comment | added | mbomb007 | This is no longer the shortest. codegolf.stackexchange.com/questions/13152/… | |
| Sep 1, 2017 at 15:17 | comment | added | Okx | @OliverNi But you can't use the static block. | |
| Aug 6, 2017 at 12:00 | comment | added | Oliver Ni | In Java 8 you can do for(;;) | |
| Jul 5, 2015 at 11:15 | review | Suggested edits | |||
| Jul 5, 2015 at 14:21 | |||||
| Jun 21, 2014 at 18:31 | review | Suggested edits | |||
| Jun 21, 2014 at 18:51 | |||||
| Mar 6, 2014 at 13:06 | comment | added | masterX244 | +1 for the idea; stupidly therea re no more ways to shave off bytes :( | |
| Feb 27, 2014 at 5:00 | history | edited | Justin | CC BY-SA 3.0 | Syntax Coloring |
| Feb 4, 2014 at 14:51 | comment | added | Fabinout | @Mechanicalsnail Yes, static blocks can't execute alone since java 7. | |
| Feb 3, 2014 at 3:38 | comment | added | Mechanical snail | @psgivens: javac 1.7.0_51 rejects that as non-terminating. | |
| Jan 14, 2014 at 22:35 | comment | added | Phillip Scott Givens | class A{static{while(0<1)System.out.print(1);}} | |
| Nov 21, 2013 at 17:56 | comment | added | Rich Smith | @CodesInChaos, Java doesn't normally disallow those patterns and normally I would consider them cleaner and more idiomatic. Here though we are trying to sneak an infinite loop past the compiler (those forms cause the compiler to complain about the static {} block not exiting). | |
| Nov 21, 2013 at 13:38 | comment | added | CodesInChaos | Does java forbid the classic for(;;) pattern? What about while(true)? | |
| Nov 12, 2013 at 1:50 | review | Suggested edits | |||
| Nov 12, 2013 at 9:54 | |||||
| Nov 11, 2013 at 15:03 | comment | added | manatwork | Functional, complies with the rules, golfed. Wondering why it was downvoted. | |
| Nov 11, 2013 at 14:36 | review | First posts | |||
| Nov 12, 2013 at 3:31 | |||||
| Nov 11, 2013 at 14:35 | history | edited | Rich Smith | CC BY-SA 3.0 | deleted 2 characters in body |
| Nov 11, 2013 at 14:18 | history | answered | Rich Smith | CC BY-SA 3.0 |