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

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

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

    • renzev@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      9 months ago

      Accurate. LaTeX is great, it makes you feel like you have superpowers compared to “office suite”-style software. But every once in a while you just run into some bullshit that feels like it’s stuck in 1985 and it completely breaks your flow. I remember wanting to make a longtable where text in the “date” column would be rotated by 90 degrees to leave more horizontal room for the other columns. It took me two rotateboxes, a phantom, a vspace, a hspace and 40 minutes of my life to get the alignment right. Would probably have taken a duckduckgo search and three clicks in Libreoffice.

      • tetris11@lemmy.ml
        link
        fedilink
        arrow-up
        1
        ·
        9 months ago

        I still have no idea how to exit the build process. It tells I need to type H or \end but it also just lies. I find the easiest way is to invoke Ctrl-Z and then kill the background process, and the younglings children

        • renzev@lemmy.worldOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          9 months ago

          Yeah, what the hell is up with that? I always just echo | pdflatex to make it shut up and exit on error. Maybe one day I’ll learn how to actually use that interactive compilation thing, but not today lol.

      • voxel@sopuli.xyz
        link
        fedilink
        arrow-up
        1
        ·
        9 months ago

        btw what do you think about typst?
        i only used it for simple stuff so far but it seems pretty fun and easy to use

        • renzev@lemmy.worldOP
          link
          fedilink
          arrow-up
          1
          ·
          9 months ago

          Never heard of it before, but might give it a try at some point. From the website, it seems like something halfway in between LaTeX and Markdown? Sounds exactly like what I need at times, tbh.

        • PixelProf@lemmy.ca
          link
          fedilink
          arrow-up
          1
          ·
          9 months ago

          My two cents, after years of Markdown (and md to PDF solutions) and LaTeX and a full two years of trying to commit to bashing my head against Word for work purposes, I’m really enjoying Typst. It didn’t take long to convert my themes, having docs I can import which are basically just variables to share across documents in a folder has been really helpful. Haven’t gone too deep into it but I’m excited to give it a deeper test run over the next little bit.

  • Swedneck@discuss.tchncs.de
    link
    fedilink
    arrow-up
    2
    ·
    9 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”

  • nintendiator@feddit.cl
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    9 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
      ·
      9 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)