• 0 Posts
  • 4 Comments
Joined 2 years ago
cake
Cake day: September 26th, 2023

help-circle
  • BewitchedBargain@reddthat.comtoProgrammer Humor@programming.devWat
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    11 months ago

    This might be from an old version of ruby, but:

    irb(main):001:0> a
    NameError: undefined local variable or method `a' for main:Object
            from (irb):1
            from C:/Ruby23-x64/bin/irb.cmd:19:in `<main>'
    irb(main):002:0> b
    NameError: undefined local variable or method `b' for main:Object
            from (irb):2
            from C:/Ruby23-x64/bin/irb.cmd:19:in `<main>'
    irb(main):003:0> a=b
    NameError: undefined local variable or method `b' for main:Object
            from (irb):3
            from C:/Ruby23-x64/bin/irb.cmd:19:in `<main>'
    irb(main):004:0> a
    => nil
    

    This NameError doesn’t stop the assignment, going through despite the error.


  • As to the auto industry bailout, would you rather have had a major American industry simply collapse?!

    There’s allegedly 94 American automobile manufacturers, per Wikipedia. If there’s a disruption that would collapse all of them, that would be extremely serious - something which should be handled by making sure the industry is not at the whims of the economy.

    The simplest quick-fix is having the company give partial ownership to the government in exchange for a bailout, and the alternatives involve arguing about what color to use on the bike shed.