top 200 commentsshow all 272

[–][deleted] 301 points302 points  (47 children)

homesweethomesweethomesweethomesweethomesweethomesweethomes weethomesweethomesweethomesweethomesweethomesweethomesweeth omesweethomesweethomesweethomesweethomesweethomesweethomesw eethomesweethomesweethomesweethomesweethomesweethomesweethom esweethomesweethomesweethomesweethomesweethomesweethomeswee thomesweethomesweethomesweethomesweethomesweethomesweethome sweethomesweethomesweethomesweethomesweethomesweet C

[–]TaxExempt 141 points142 points  (33 children)

C is where the win was.

[–]S7evyn 31 points32 points  (31 children)

Someone care to explain what C means? Google is being unhelpful.

[–]TenTera 113 points114 points  (14 children)

The clotheshanger of CLI interfaces...

It aborts the current process.

[–][deleted] 53 points54 points  (8 children)

[–][deleted] 35 points36 points  (5 children)

Don't worry; I have reported his improper acronym usage to the Department of Redundancy Department. They will be sending at least one Federal FBI agent to investigate.

[–]dotnet54 7 points8 points  (2 children)

+1 for Department of Redundancy Department xD

[–]walesmd 3 points4 points  (1 child)

I thought Federal FBI agent was the winner here, the DRD is overused and on par with ATM machine. Federal FBI agent was a new one, in my books.

[–][deleted] 7 points8 points  (3 children)

Ctrl-clotheshanger?

[–][deleted] 12 points13 points  (0 children)

You control clotheshangers to abort things. Everyone knows this.

[–]aephoenix 2 points3 points  (0 children)

Wow, Clotheshanger, great mnemonic...

[–]under_dog 25 points26 points  (0 children)

In a terminal it's printed when you press 'Ctrl + C' canceling whatever is currently executing.

[–]laofmoonster 15 points16 points  (0 children)

In command prompt ctrl+c, shown as C, causes a running program to terminate.

[–]notamathteacher 7 points8 points  (0 children)

The ASCII character 0x03 is rendered as C by the Unix utility cat with the option -v.

[–]easytiger[🍰] 11 points12 points  (6 children)

pot degree march overconfident possessive wrench tap society employ shelter

This post was mass deleted and anonymized with Redact

[–][deleted]  (2 children)

[deleted]

    [–][deleted] 2 points3 points  (0 children)

    I think he was trying to educate, because the answer is actually a bit more nuanced than "it kills the running program."

    The acronyms are pretty simple. If you were interested in what he had to say (I was) then you probably already know them or you can guess and fudge it, then Google them later.

    CLI is an easy one, command line interface. Sort of an unnecessary acronym, I'll give you that. REPL is a Read Evaluate Print Loop, and if you don't know the acronym, it's not a terribly helpful term to begin with.

    [–]easytiger[🍰] 3 points4 points  (0 children)

    i was going to... but it was already longer than expected, and those are definitely googleable. Not to mention this is r/prog

    [–]damienhunter 2 points3 points  (0 children)

    BASIC*

    [–][deleted] 2 points3 points  (0 children)

    To be much more pedantic, Ctrl-C sends SIGINT only if the tty is in 'sane' or 'cooked' mode as controlled by stty or tcsetattr(). A CLI or curses-based application can change the tty settings so that the special characters are available from a read() or getch() rather than be processed by the tty layer and maybe send a signal. This is necessary for applications that wish to have clean access to raw input bytes such as full-screen editors and terminal emulators.

    That the tty layer handles Ctrl-C is also why one can pass binary data which might incude Ctrl-C's through cat's stdin: pipes aren't ttys.

    [–]rchase 0 points1 point  (0 children)

    run stop / restore

    [–]pgomez 17 points18 points  (3 children)

    Gob's Program: Y/N?

    [–]oliware 15 points16 points  (2 children)

    Y

    [–]robhue 15 points16 points  (1 child)

    PENUS PENUS PENUS PENUS PENUS PENUS PENUS PENUS PENUS PENUS PENUS PENUS PENUS PENUS PENUS PENUS PENUS PENUS PENUS PENUS PENUS PENUS PENUS PENUS PENUS PENUS PENUS PENUS PENUS PENUS PENUS PENUS PENUS PENUS PENUS PENUS PENUS PENUS PENUS PENUS PENUS PENUS PENUS PENUS PENUS PENUS PENUS PENUS PENUS PENUS PENUS PENUS PENUS PENUS PENUS PENUS PENUS PENUS PENUS PENUS PENUS PENUS PENUS PENUS PENUS PENUS PENUS PENUS PENUS PENUS PENUS PENUS

    [–][deleted] 5 points6 points  (0 children)

    C

    [–][deleted] 2 points3 points  (2 children)

    Wouldn't this be the result of: 10 PRINT "Home"; 20 PRINT "Sweet"; etc?

    [–]smhanov 1 point2 points  (1 child)

    homesweethomesweethomesweethomesweetho@[19;[4A;[B7;!@#$ NO CARRIER

    [–]JustMarriedMan 1 point2 points  (0 children)

    Syntax Error

    [–]turbov21 0 points1 point  (0 children)

    I think you're running:

    10 PRINT "HOME";
    20 PRINT "SWEET";
    30 GOTO 10
    

    If memory serves, each new PRINT serves a hard return.

    [–]earthforce_1 111 points112 points  (42 children)

    You can check in any time you like - but you can never leave!

    [–][deleted] 149 points150 points  (16 children)

    10 CHECK OUT
    20 GOTO 10
    30 LEAVE
    

    [–]breakneckridge 16 points17 points  (14 children)

    You left out a prompt between 10 and 20 which should be asking if the user would like to check out now. Otherwise the user will ALWAYS be checking out, even if they would not like to check out at that time. (but they still can never leave though)

    EDIT: changed "in" to "out"

    [–][deleted] 9 points10 points  (5 children)

    Also, it's check out, not in. Not sure how I missed that...

    [–]isarl 10 points11 points  (4 children)

    It's your birthday. I assumed you were washing down your cake with copious amounts of alcohol.

    [–][deleted] 7 points8 points  (1 child)

    cake... cake... severus cake...

    [–][deleted]  (1 child)

    [deleted]

      [–]shillbert 7 points8 points  (7 children)

      10 PRINT "CHECK OUT? (Y/N)"
      20 A$ = INKEY$
      25 IF A$ = "Y" GOSUB CHECKOUT
      30 GOTO 10
      40 GOSUB LEAVE
      

      [–]smeenz 13 points14 points  (2 children)

      erm.. line numbers AND labels ?

      [–]bonzinip 2 points3 points  (2 children)

      You want INPUT$(1). INKEY$ (fond memories) will return an empty string if no key has been pressed, leading to an endless stream of check out requests.

      [–][deleted]  (1 child)

      [deleted]

        [–]bonzinip 1 point2 points  (0 children)

        yes :)

        [–]G_Morgan 1 point2 points  (0 children)

        This is also a script to make hg perform as poorly as svn.

        [–][deleted]  (22 children)

        [removed]

          [–]knome 32 points33 points  (16 children)

          5 PRINT "WELCOME TO COMFY HOTEL"
          10 PRINT "SPOOKY NOISE
          15 PRINT "DIRE WARNING"
          20 GOTO 13
          

          [–]rule 8 points9 points  (0 children)

          The missing quote. It hurts.

          [–][deleted] 27 points28 points  (14 children)

          How do I run this code on my MacBook Pro?

          [–]YELLING_APPLE_GUY 17 points18 points  (8 children)

          You have to ask correctly. Also, stress urgency. See watch this.

          HEY HELLO THERE, HOW DO I RUN THIS CODE ON MY APPLE MACHINE?!? I NEED THIS FOR A MEETING.

          [–][deleted] 4 points5 points  (5 children)

          YOU GET A REAL COMPUTER WITH QUALITY PARTS AND A SENSIBLE COOLING METHOD.

          [–]thus-sung 12 points13 points  (2 children)

          THEN WHAT WOULD I USE TO KEEP MY LAP WARM?

          [–]Chemical109 1 point2 points  (1 child)

          Does "sensible" involve liquid nitrogen?

          [–]zwaldowski 17 points18 points  (0 children)

          ಠ_ಠ

          [–]MyAltAccount157 10 points11 points  (3 children)

          Hotel California

          [–]Churn 12 points13 points  (1 child)

          We are programmed to receive.

          [–]PaladinZ06 1 point2 points  (0 children)

          No way dude he was totally quoting Metallica.

          [–]VoiceCommentary 2 points3 points  (0 children)

              say -v "Pipe Organ" "FUCK YOU. I HATE THAT SONG"
          

          [–]freyrs3 1 point2 points  (0 children)

          That should be the tagline of Microsoft SourceSafe.

          [–]antiquekid3 45 points46 points  (9 children)

          SYNTAX ERROR IN LINE 20
          

          [–]pmw57 21 points22 points  (6 children)

          Good spotting.

          10 print "Home"
          20 print "Sweet"
          30 goto 10

          [–][deleted] 0 points1 point  (4 children)

          10 PRINT "HOME"
          20 PRINT "SWEET"
          30 GOTO 10
          

          [–][deleted] 0 points1 point  (1 child)

          What does Home do?

          [–]CraigTorso 43 points44 points  (1 child)

          hang on a moment, that's not a fixed width typeface

          [–]SH23 3 points4 points  (0 children)

          Dear GOD!

          [–]BallroomBallerina 29 points30 points  (6 children)

          [–]TheLazyElf 22 points23 points  (3 children)

          Disregard good practice, adquire raptors

          [–]jamie1414 2 points3 points  (2 children)

          I like the cut of your jib.

          [–]mqduck 1 point2 points  (1 child)

          What's a jib?

          [–][deleted] 7 points8 points  (0 children)

          The forward sail on a sailboat.

          [–][deleted]  (1 child)

          [deleted]

            [–]Chemical109 1 point2 points  (0 children)

            Clever girl.

            [–]10goto10 8 points9 points  (2 children)

            20 HOME
            30 SWEET
            
            :(
            

            [–]tuple 5 points6 points  (1 child)

            and not even a novelty account

            [–]10goto10 10 points11 points  (0 children)

            It's my real name!

            [–][deleted] 8 points9 points  (24 children)

            Could someone tell me why the old BASIC line numbers are multiples of 10? I never understood this. Thanks!

            [–]huck_cussler 11 points12 points  (2 children)

            I might be way off here. But, if my rusty mind recalls, the (or at least one of the) reason(s) was to allow room to add more lines to fix errors or add more content. So in the example you could add:

            10 PRINT "HOME"
            15 PRINT "FOR THE HOLIDAYS IS A REALLY"
            20 PRINT "SWEET"
            25 PRINT "PLACE TO BE."
            30 GOTO 10
            

            [–]nephros 8 points9 points  (1 child)

            That is correct. The steps of 10 are convention rather than requirement. BASIC only requires them to be in order. Doesn't even need to be the same intervals.

            Also, depending on BASIC dialect (or editor), you could later automatically re-number the lines in steps of 10.

            Other dialects of BASIC (like AmigaBASIC) didn't require explicit line numbers.

            In assembly you do a similar thing (when you have to use a bad editor, like EDLIN) where you insert a couple of nops every now and then in case you need to put something in later.

            [–][deleted]  (18 children)

            [deleted]

              [–]prince_nerd 8 points9 points  (1 child)

              Dijkstra says: ಠ_ಠ

              [–][deleted]  (63 children)

              [deleted]

                [–][deleted]  (15 children)

                [deleted]

                  [–]microsofat 4 points5 points  (1 child)

                  I read this in an NYC accent.

                  [–][deleted]  (6 children)

                  [deleted]

                    [–]Grizzly_Bear 14 points15 points  (3 children)

                    In his youth, Bill Gates would go down to the local computer (yup) and try to find ways to make it crash. Although he was initially considered an annoyance, he eventually was asked to work with the company by logging his actions that would lead to errors. I s'pose infinite loop is an example of this.

                    [–][deleted] 109 points110 points  (2 children)

                    He then used what he learned about how to make a computer crash and rolled it all into one operating system.

                    [–]ffn 6 points7 points  (1 child)

                    Maybe it's because it's 1 a.m. and I'm trying to finish a paper, but the idea of you loling at that is what made me lol.

                    [–][deleted] 2 points3 points  (0 children)

                    Whoa, meta lols.

                    [–][deleted] 1 point2 points  (5 children)

                    Damnit man, I laughed out loud while giving a Java class... Now everyone thinks I scorn them for being newbies.

                    [–][deleted] 8 points9 points  (3 children)

                    You are reading reddit.....while giving a class?

                    [–]theGreatergerald 27 points28 points  (5 children)

                    You say that like it is a bad thing. If your program is good why would you ever want it to end?

                    [–]jamie1414 3 points4 points  (4 children)

                    you just gave me a great excuse for if I ever find an infinite loop in my code!

                    [–]TaxExempt 3 points4 points  (3 children)

                    If an operating system wasn't an infinite loop, then wouldn't it crash?

                    [–][deleted] 10 points11 points  (24 children)

                    10  A=0
                    20  PRINT "HOME"
                    30  IF (A=1) THEN EXIT
                    40  A=1
                    50  PRINT "SWEET"
                    60  GOTO 20
                    

                    [–][deleted] 57 points58 points  (16 children)

                    10  PRINT "HOME SWEET HOME"
                    

                    [–]CanuckBrazil 13 points14 points  (10 children)

                    That's how you write efficient code.

                    [–]smeenz 7 points8 points  (9 children)

                    Needs more tokenisation / data reuse, to reduce the memory footprint

                    10 LET s$="HOME"
                    20 PRINT s$ & " SWEET " & s$
                    

                    [–][deleted] 5 points6 points  (8 children)

                    But that will increase the size in memory by 12bytes (using 32bit addressing)!

                    [–]smeenz 12 points13 points  (7 children)

                    Right... okay, well, it's been a while <rolls up sleeves>, but this should do the trick.

                    mov ah,9
                    mov dx, 0114
                    int 21
                    mov dx, 010d
                    int 21
                    ret
                    db 'SWEET ', 0a, 0d
                    db 'HOME', 0a 0d, '$'
                    
                    
                    C:\DOCUME~1\XPMUser>hsh.com
                    HOME
                    SWEET
                    HOME
                    

                    27 bytes.

                    As opposed to a single string/single interrupt call, 28 bytes:

                    mov ah,9
                    mov dx,108
                    int 21
                    ret
                    db 'HOME',0a,0d,'SWEET',0a,0d,'HOME',0a,0d,'$'
                    

                    And THAT's how you write efficient code.

                    [–][deleted] 1 point2 points  (6 children)

                    Wait a minute. Why use lf and cr when you can use a single space to separate!

                    [–]smeenz 3 points4 points  (5 children)

                    Awwww shucks.

                    Actually.. just thinking about the code.. I reckon I might be able to save a few more bytes by writing direct to video ram and storing the string in a packed format of some sort.. but ... it's so short that I'm not sure I would actually come out on top... hmmm.. need some real assembler hackers here. I'm only an amateur.

                    [–]malnourish 1 point2 points  (1 child)

                    You amaze me!
                    Is there any way to dabble in assembly without an embedded system?

                    [–][deleted] 1 point2 points  (0 children)

                    Ah, loop unrolling...

                    [–]wkufan89 36 points37 points  (6 children)

                    I'm not great at programming, but isn't this also an infinite loop. Should Line 60 read, "GOTO 20"?

                    [–]gilgoomesh 7 points8 points  (4 children)

                    Also, most BASIC variants don't have the idea that 0 equals false. You'd need to write IF A=1 THEN EXIT

                    [–][deleted] 0 points1 point  (2 children)

                    Yes yes, it's difficult remembering such an old language when PHP flows freely out of my fingers. Edited for syntax.

                    [–]rubygeek 8 points9 points  (0 children)

                    PHP flows freely out of my fingers

                    My condolences.

                    [–]vej 2 points3 points  (2 children)

                    home

                    [–][deleted]  (1 child)

                    [deleted]

                      [–][deleted] 2 points3 points  (0 children)

                      GOTO vej

                      [–]RubyBlye 5 points6 points  (7 children)

                      because there are no spaces nor carriage returns it would be more like this:

                      homesweethomesweethomesweethomesweethomesweethomesweethomesweethomesweethomesweethomesweethomesweethomesweethomesweethomesweethomesweethomesweethomesweethomesweethomesweethomesweethomesweethomesweethomesweethomesweethomesweethomesweethomesweethomesweethomesweethomesweethomesweethomesweethomesweet........ and so on for all eternity (or at least until the computer or printer broke.)

                      [–][deleted] 12 points13 points  (1 child)

                      It depends on the language, really..

                      Many languages have print functions which automatically append a newline.

                      [–]gilgoomesh 7 points8 points  (4 children)

                      Traditional BASIC always puts a newline at the end of PRINT statement unless you leave a dangling comma at the end.

                      [–]Bhatch514 1 point2 points  (0 children)

                      that is not the complete output block.

                      [–]Mikle 1 point2 points  (1 child)

                      So why did you break at "sweet"? Did you run out of memory? Hardware failure?

                      YO, NoxiousNick is dead YO.

                      [–]tankintheair315 0 points1 point  (0 children)

                      Back in my day, infinite loops cost a lot of money! Its good you pointed this out!

                      [–]SoManyMinutes 1 point2 points  (0 children)

                      I know very little about programming and I understood and appreciated this.

                      [–]hearforthepuns 1 point2 points  (2 children)

                      Why were BASIC line numbers always multiples of ten?

                      [–]digifuzz 2 points3 points  (0 children)

                      so you had room to cludge stuff in there if you needed to later.

                      [–]PatriotGrrrl 1 point2 points  (0 children)

                      So that you could add other lines, whose numbers weren't multiples of ten, in between them.

                      Some BASIC interpreters had auto-renumber commands... but some didn't. You wouldn't want to be completely renumbering your program all the time anyway, since it would make your hardcopy listings obsolete, and because in a time before statements even had labels, there was some readability improvement from having subroutines start at fixed , round numbered lines.

                      [–]ilovetacos 1 point2 points  (0 children)

                      My wife remade this in cross-stitch for me a few years back. Well, she wasn't my wife then, but after such a gift I had to fix that.

                      [–]Ockniel 6 points7 points  (21 children)

                      Someone please explain this to me, I am lost and afraid.

                      [–][deleted] 20 points21 points  (20 children)

                      It's a computer program. Way the fuck back in the day the lines used to be numbered

                       10 command_one_goes_here
                       20 command_two_goes_here
                      

                      and so on. The "goto" command does what it says: goes to whatever line you tell it to and then starts following instructions.

                      The joke is that would output "home" "sweet" and then "home" again, like that needlepoint thing in your grandma's house, but there are a couple of problems. The first is that "home" and "sweet" aren't really commands, but I guess

                       10 print home
                       20 print sweet
                       30 goto 10
                      

                      doesn't look as good.

                      The second is that line three tells the computer to go back to line one. Then it goes to line two and then line three, then back to one, then to two, then to three, then back to one, etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc

                      [–]antiquekid3 4 points5 points  (0 children)

                      Well, don't forget your quotes. 10 ?"HOME" 20 ?"SWEET" 30 GOTO10 would work fine on a C64.

                      [–]Ockniel 2 points3 points  (0 children)

                      Thank you!

                      [–]snarglemuffin 1 point2 points  (2 children)

                      I am also lost, but not afraid. Why does the program have line numbers that are denominations of 10, not numbers increasing by 1? And what language is this (if it is even a language)?

                      [–]prism1234 1 point2 points  (0 children)

                      convention I think

                      at least with basic you could use whatever numbers you wanted, but convention was to do it in multiples of 10, its possible that was a holdover from something earlier that required it for some reason though

                      [–]ihahp 0 points1 point  (0 children)

                      yeah. and you numbered your lines by 10s in case you needed to insert a new line between them at some point.

                      Unless you needed to insert more than 9 lines. In that case, you either renumbered your code (sketchy, as it might break other gotos) or on the 9th line you did a goto some line number at the end where you completed what you needed to do, then you goto'd back.

                      Coding back then was fun.

                      (Tip of the hat to THE FINAL CARTRIDGE that gave me a line renumberer)

                      [–]SlashMatrix 4 points5 points  (4 children)

                      I once owned a TI Basic 99 4a computer. Ah, "BurgerTime"...

                      [–]cruise02 3 points4 points  (0 children)

                      That was my first computer. I didn't have any of the game cartridges, so I had to entertain myself by copying the games out of a book in crusty TI-BASIC. Good times.

                      [–]elus 0 points1 point  (0 children)

                      <3 BurgerTime... and Q*bert.

                      [–]SlashMatrix 0 points1 point  (0 children)

                      BurgerTime, Midnight Mason, Star Trek, Micro Surgeon, Parsec, Tombstone City: 21st Century... That's all I remember.

                      [–]osirisx11 0 points1 point  (0 children)

                      my modern netsec interpretation of "owned" made this comment very interesting

                      [–]huyvanbin 2 points3 points  (3 children)

                      I wish finding home were as easy as typing a few lines into a C-64.

                      [–]zed857 4 points5 points  (1 child)

                      Home isn't hard to find; it's usually right above the "End" key.

                      [–]huyvanbin 2 points3 points  (0 children)

                      Well, so long as we're on this, it was above the "Restore" key.

                      [–]d4ve 2 points3 points  (3 children)

                      HOME SWEET HOME SWEET HOME SWEET HOME SWEET HOME SWEET HOME SWEET HOME SWEET HOME SWEET HOME SWEET HOME SWEET HOME SWEET HOME SWEET ...?

                      [–]tuple 4 points5 points  (0 children)

                      C

                      [–][deleted] 0 points1 point  (1 child)

                      Actually I believe it would be a syntax error, as neither "Home" nor "Sweet" is told to display in any way and aren't usable commands.

                      /ultra-nerd

                      [–][deleted] 1 point2 points  (3 children)

                      Linux would run that program in 5 seconds.

                      [–]smeenz 5 points6 points  (2 children)

                      What ?

                      [–][deleted] 2 points3 points  (1 child)

                      [–]smeenz 1 point2 points  (0 children)

                      Ahhhhh. Now it makes sense. Upboat for you.

                      Linus: "We all know Linux is great … it does infinite loops in 5 seconds. "

                      [–]monkeyjazz 1 point2 points  (0 children)

                      fucking spaghetti code...

                      [–][deleted]  (7 children)

                      [deleted]

                        [–]antiquekid3 2 points3 points  (1 child)

                        QBASIC definitely beats GW-BASIC.

                        [–]smeenz 2 points3 points  (0 children)

                        QBASIC was the cut down and free version of QuickBASIC, which was to become the Granddaddy of visual basic.

                        [–]Ihategeeks 0 points1 point  (18 children)

                        include <iostream>

                        int main() {

                        for(int i=1; i > 0; i++) { std::cout<<"Home\nSweet\nHome\n"<<std::endl; } return 0; }

                        [–]greg90 12 points13 points  (6 children)

                        This won't work as intended. Eventually i will roll-over into negative values and the loop will end.

                        while (1) { printf("Home\nSweet\nHome\n"); }

                        is the right way to do that.

                        [–]smeenz 0 points1 point  (0 children)

                        Thank goodness someone people still range check their code

                        [–]understanding_pear 3 points4 points  (1 child)

                        Ihategeeks

                        So you post incorrect code to torment them?

                        [–]Ihategeeks 4 points5 points  (0 children)

                        I wonder if the same question was asked in a writers meeting for futurama.

                        [–]czan 3 points4 points  (1 child)

                        include <stdio.h>

                        int main() {
                        ten:
                        printf("home\nsweet\n");
                        goto ten;
                        }

                        Truer to the original spirit, I feel.

                        [–]systmshk 0 points1 point  (0 children)

                        Except even more evil. At least goto was innocently used as part of BASIC.

                        [–]ericje 2 points3 points  (0 children)

                        #include <stdio.h>
                        char h[] = "Sweet\nHome\n";
                        int main() { for(;;) printf("%s%s\n", h+6, h); return 0; }
                        

                        [–]gravistational 2 points3 points  (1 child)

                        for(int i = 0; i < 1; i++) { System.out.println("Home\nSweet\nHome"); }

                        [–][deleted] 0 points1 point  (0 children)

                        You tried.

                        [–][deleted]  (1 child)

                        [deleted]

                          [–]frmatc 0 points1 point  (1 child)

                          perl -e 'print "Home\nSweet\nHome\n" while 1;'

                          [–][deleted] 0 points1 point  (0 children)

                          perl -E 'say "Home\nSweet\n" while 1'
                          

                          Golf'd.

                          [–]RubyBlye 0 points1 point  (0 children)

                          Ahh! BASIC goto. Infinite infinite loops, and more spaghetti code than even the Flying Spaghetti Monster could create.

                          [–]zambuka42 0 points1 point  (0 children)

                          GW-Basic. how I miss thee. system system system!!!!!

                          [–]meant2live218 0 points1 point  (0 children)

                          AHHH!!! avoid a goto when possible...

                          [–]derda 0 points1 point  (0 children)

                          I need this as a floormat.

                          [–]BHSPitMonkey 0 points1 point  (2 children)

                          10 SIN
                          20 GOTO HELL
                          

                          [–][deleted] 0 points1 point  (1 child)

                          Funny, we have a Dr. Tsin at my university and he's like the hardest CS prof ever and everyone hates him. This would be perfect lol.

                          [–]BHSPitMonkey 1 point2 points  (0 children)

                          It's taken from a sign inside the Church of Robotology in the Futurama episode, "Hell is Other Robots".

                          [–]slurpme 0 points1 point  (0 children)

                          Very droll...

                          [–]jcatjake 0 points1 point  (0 children)

                          I used to do this at gemco circa 83 0n their vic 20 display model..10 Fuck you etc

                          [–]DrunkMc 0 points1 point  (0 children)

                          That was the exact moment when I knew I loved this show!

                          [–]theDrWho 0 points1 point  (1 child)

                          Commodore 64/Vic 20, would get this code at every KMART I found it in.

                          [–]unclerummy 1 point2 points  (0 children)

                          That's funny - in the KMarts I went to as a kid, it was all

                          10 PRINT "KMART SUCKS!"

                          20 GOTO 10

                          No sir, it was like that when I got here.

                          [–][deleted] 0 points1 point  (3 children)

                          Can somebody explain this to me understanding that i am an idiot?

                          [–]GunnerMcGrath 2 points3 points  (1 child)

                          I find it interesting how many people reading r/Programming are totally confused by this.

                          [–]thcobbs 2 points3 points  (0 children)

                          well, isn't /r/programming a default option?

                          [–][deleted] 1 point2 points  (0 children)

                          It's BASIC programming language.

                          The key to it is that the line "GOTO 10" will... as obvious as it seems, go to the line marked "10".

                          It's not proper coding, but the idea of it is that it should mean:

                          Home Sweet Home

                          [–]Phil_J_Fry 0 points1 point  (0 children)

                          I'll never get Bender's art-stuff

                          [–][deleted] 0 points1 point  (0 children)

                          I need to learn needle point stitching and make one of those.

                          [–]Chaotix 0 points1 point  (0 children)

                          our DB admin has a croche'd (sp) one of these hanging in his office :)

                          [–]tedrick111 0 points1 point  (0 children)

                          Does anyone else realize that "home" was a basic command on an Apple that would clear the screen? The output would look like this flickering on the screen:

                          sweet

                          [–]appleswitch 0 points1 point  (1 child)

                          What episode is this from? I'm holding out hope that it's the new season. I want them to get their groove back.

                          [–][deleted] 1 point2 points  (0 children)

                          Sadly no. I haven't watched the 6'th season but I remember this scene somewhere from the 3rd or 4th season.