Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.
Code Golf

Timeline for print "Hello, World!"

Current License: CC BY-SA 4.0

17 events
when toggle format what by license comment
May 28, 2021 at 16:49 comment added Makonede OK, well the problem here is this will print Usage: python stuck.py program.stk. Thankfully though, after looking through the source code, naming the file stk and then running it with stuck stk>PRN will print out Hello, World!
May 28, 2021 at 16:47 comment added caird coinheringaahing @Makonede Don't edit people's code in order to fix it, leave a comment pointing out the problem and potentially suggesting a fix
May 28, 2021 at 16:46 history rollback caird coinheringaahing
Rollback to Revision 7
May 28, 2021 at 16:45 comment added Makonede Assuming your default printer is set to LPT1, this can be 4 bytes with stuck stk>PRN.
May 28, 2021 at 16:44 history edited Makonede CC BY-SA 4.0
this currently prints "Usage: python stuck.py program.stk", this edit fixes that
May 28, 2021 at 16:37 history edited Makonede CC BY-SA 4.0
added 11 characters in body
Jun 17, 2020 at 9:04 history edited Community Bot
Commonmark migration
May 30, 2017 at 21:40 comment added CalculatorFeline IMO you need to add 1 byte for the 1 byte filename.
Apr 22, 2017 at 6:10 comment added user5434231 You can save a byte here by redirecting to PRN instead of LPT1.
Apr 13, 2017 at 12:38 history edited Community Bot
replaced http://codegolf.stackexchange.com/ with https://codegolf.stackexchange.com/
Jan 3, 2017 at 10:24 comment added Daniel @ais523 I conquer - I should count the glue, and because of that, raised it from 5 bytes to 12
Jan 3, 2017 at 10:23 history edited Daniel CC BY-SA 3.0
deleted 51 characters in body
Jan 2, 2017 at 14:39 comment added redstarcoder Can you show distinctly the Windows batch script, and explicitly the command used to call Stuck and pass the result to the printer? By explicitly I mean something like stuck empty > LPT1. BTW if this uses a REPL I believe the consensus is that should be clearly stated (I believe it's to minimise confusion exactly like this).
Jan 2, 2017 at 12:20 history edited Daniel CC BY-SA 3.0
added 49 characters in body
Jan 2, 2017 at 10:59 comment added user62131 If you're using multiple languages, you also need to count the glue that connects them together as part of your byte count. I'd count this as 15 for the Batch program, plus 0 due to the need for a 0-byte external file.
Jan 2, 2017 at 9:56 history edited Daniel CC BY-SA 3.0
added 55 characters in body
Jan 2, 2017 at 9:46 history answered Daniel CC BY-SA 3.0
toggle format

AltStyle によって変換されたページ (->オリジナル) /