Please dont take this seriously guys its just a dumb meme I haven’t written a single line of code in half of these languages

  • nintendiator@feddit.cl
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    8 months ago

    C:

    Problemreturn Solution;

    C++:

    Problem

    const [auto]&& (Problem&& problem) noexcept(noexcept( Solution<Problem>{}(std::forward<Problem>(problem)) )) { return Solution<Problem>{}(std::forward<Problem>(problem)); } -> decltype( Solution<Problem>{}(std::forward<Problem>(problem)) )
    
    • Venia Silente@lemm.ee
      link
      fedilink
      English
      arrow-up
      1
      ·
      8 months ago

      But this doesn’t return the Solution. You don’t invoke the lambda.

      (Or does C++ have implied returns now? Last I heard there was implied move)

  • bort@sopuli.xyz
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    8 months ago

    Latex: Problem --> \def\please@#1#2#3#4{\e@kill#2#3{\me#1}#4@now} -->

  • Swedneck@discuss.tchncs.de
    link
    fedilink
    arrow-up
    1
    ·
    8 months ago

    missing the stage of C where it’s all incomprehensible bitfucking with comments like “this works, i do not know why it works, do not touch this”