top 50 comments

sorted by: hot top controversial new old
[–] 140 points 2 years ago (7 children)

Rust:

Cannot move princess out of castle which is behind a shared reference

  • source
  • hideshow 7 child comments
  • [–] 41 points 2 years ago (3 children)

    It will also complain that trying to break into the castle is unsafe, so you have to tell it that you know.

  • source
  • parent
  • hideshow 3 child comments
  • [–] 9 points 2 years ago* (last edited 2 years ago)

    "Alright, but you better be outside of a properly locked up and OSHA-compliant castle with the princess by the time I get back, or I'm not compiling"

    And then you do that, but you miss a smoldering ember from one of the castles torches, and everything including the horse and princess catches fire. Next time, pick an escape plan that only requires unsafe for the drawbridge.

    There's a totally safe way to do it too, I guess, but it involves building a series of replacement castles, and it's also totally ugly and sinfully slow.

  • source
  • parent
  • load more comments (1 reply)
    [–] 112 points 2 years ago (12 children)

    no python? how are normie programmers like me supposed to relate to this?

  • source
  • hideshow 12 child comments
  • load more comments (2 replies)
    [–] 93 points 2 years ago (3 children)

    Python:

    from Rescues import Princess
    Princess.rescue()
    
  • source
  • hideshow 3 child comments
  • load more comments (1 reply)
    [+] 85 points 2 years ago (9 children)
  • [–] 53 points 2 years ago (6 children)
  • load more comments (1 reply)
    [–] 77 points 2 years ago (3 children)

    Swift: Apple releases a new version of the castle and deprecates the princess before you finish your implementation

  • source
  • hideshow 3 child comments
  • [–] 68 points 2 years ago (4 children)

    You have Rust. (the knight in this panel looks very cool, wears sunglasses, and probably has a ponytail)

    You've been told how easy it is to rescue the princess. Absolutely nothing will get in your way, they say; nobody can possibly get access to your plan, and you can even rescue multiple princesses simultaneously! (in this panel, the knight is imagining rescuing three princesses from three different castles at the same time)

    You start working on your plan. It's elegant and beautiful. You write articles on Medium to tell other knights how to rescue their princess. You tell everyone who will listen about your plan. You become a Rust zealot. You never rescue the princess. (In this panel, the knight is nowhere to be seen, and the princess looks bored in her tower. The knight is across the field, at a festival with the banner "RUSTCONF" flying overhead)

  • source
  • hideshow 4 child comments
  • [–] 40 points 2 years ago (5 children)

    Always good to see Jon Skeet get some love. I'd love to know in terms of quantity just how many people he's helped over the last decade or so.

  • source
  • hideshow 5 child comments
  • load more comments (1 reply)
    [–] 40 points 2 years ago (2 children)

    Omg Lisp. I'm dying. Our object oriented programming class in college involved programming in Scheme. This was... a while ago.

    Saving this forever.

  • source
  • hideshow 2 child comments
  • [–] 14 points 2 years ago

    Yup, Scheme was the only programming language taught in our comp-sci department so we could "learn how to learn." Two years and a broken parentheses button later, and I switched to being a theatre major.

    Today, my legal career stands as a testament to the pointlessness of a declared major.

  • source
  • parent
  • load more comments (1 reply)
    [–] 39 points 2 years ago

    You have Rust.

    Forget rescuing the princess, that's unsafe. Lock her down even more!

  • source
  • [–] 33 points 2 years ago (3 children)

    You use Assembly.

    You describe each and every leg movement and each and every step to the castle and over the castle bridge and inside the castle.

    You somehow end up in the castle kitchen.

  • source
  • hideshow 3 child comments
  • [–] 21 points 2 years ago (2 children)

    PHP 8 makes it finally possible to rescue the princess, but you accidentally princess the rescue instead.

  • source
  • hideshow 2 child comments
  • [–] 21 points 2 years ago*

    You have rust.

    You get a horse and arrive at the castle within seconds but the horse is too old and doesn't work with the castle.

    You remove the horse, destructure the castle and rescue the princess within seconds, but now you have no horse.

    While you're finding a compatible horse and thinking whether you should write your own horse, Bowser recaptures the princess and moves her to another castle.

  • source
  • [–] 19 points 2 years ago*

    Rust: You declare the castle type as unsafe and then search for a crate with a rescue_princess function. You discover the princess you rescued is a femboy wolfkin named Pawws. You now have pubic lice and an inexplicable smug sense of superiority.

  • source
  • [–] 18 points 2 years ago (4 children)

    The Patsy from Monty Python in the PHP section got me

  • source
  • hideshow 4 child comments
  • load more comments (4 replies)
    [–] 18 points 2 years ago* (last edited 2 years ago) (1 child)

    So let me summarise this:

    Only C and Lisp actually completed the initial task of getting the princess free, and Author clearly favors C over the drooling and homeless lisp hacker. Also, turns out, C greatest weakness helped to save not only the princess but everything she ever possessed! How convenient!

  • source
  • hideshow 1 child comment
  • load more comments (1 reply)
    [–] 17 points 2 years ago (1 child)

    Rust:

    You crushed the princess under the weight of all the crates you imported

  • source
  • hideshow 1 child comment
  • [–] 14 points 2 years ago (1 child)

    C# is about right. LINQ was meant to make things easier, or at least the code easier to read. Instead, you gain this addiction to seeing how much functional logic you can fit into one line of code (or a single multi-line query) while still remaining readable.

  • source
  • hideshow 1 child comment
  • load more comments (1 reply)
    [–] 13 points 2 years ago (2 children)

    Ruby: there is a built in method called free_the_princess()

  • source
  • hideshow 2 child comments
  • load more comments (2 replies)
    [–] 10 points 2 years ago (12 children)

    Why's this look so poo on my phone?

  • source
  • hideshow 12 child comments
  • load more comments (2 replies)
    [–] 9 points 2 years ago

    You have rust, you decide to rewrite the C plan but the only library that supports it uses unsafe code so you go back and rewrite it. Wait what were you working on?

  • source
  • load more comments
    view more: next ›