• RoyaltyInTraining@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    7 hours ago

    Programming in C++ is downright horrifying to me after trying other languages. The way it does generics is fucked up on so many levels…

    • UnderpantsWeevil@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 hours ago

      Feels a bit like being told to do brain surgery and getting handed a hatchet, especially in the modern era.

      Like, its a great learning language precisely because it does force you to think about what’s actually under the hood of your objects and attributes. You actually have to learn what a pointer is. You actually have to think about memory usage and system states. Its like Bio 1 when they have you dissect a rat.

      But without a ton of library support, you’re doing so much heavy lifting. And with a bunch of library support… why not just use C#?

      • Pelicanen@sopuli.xyz
        link
        fedilink
        arrow-up
        0
        ·
        2 hours ago

        …do you mean C++ or just C? Cause, sure, you can poke around with pointers and references in C++ but it can also be used just like any other OOP language, whereas in C it’s absolutely necessary since it’s not an OOP language.

  • BartyDeCanter@lemmy.sdf.org
    link
    fedilink
    arrow-up
    0
    ·
    21 hours ago

    I was a C/C++ dev for a long time. Then a while back I got an ewaste Thinkpad running Linux and have started developing in Rust. When do my programming socks show up?

  • KokusnussRitter@discuss.tchncs.de
    link
    fedilink
    arrow-up
    0
    ·
    23 hours ago

    having a C# dev boyfriend would be such a boon. “hey honeyyy? unity is not doing what I want it to, can you be my rubber ducky? <3” Wait, I remebered I am using Unreal/ C++ now. Nevermind. 10/10 accurate diagram.

        • thevoidzero@lemmy.world
          link
          fedilink
          arrow-up
          0
          ·
          21 hours ago

          Good read, thanks

          But I believe in generics, just write your functions so that it can work with all the types ;)

          translation: Just get rid of what is a boy or a girl thing. Just let people do what they like.

          • luciferofastora@feddit.org
            link
            fedilink
            arrow-up
            0
            ·
            11 hours ago

            The idea of abolishing all gendering of things is a curiously contested one within LGBT+ spaces, as far as I can see.

            I can understand how people wishing to be identified a certain way have a vested interest in the existence of markers for that identity.

            On the other hand, I wish painting my nails wasn’t fem-coded on some level. Of course guys can do so too, but the only “guy” I knew who did so regularly eventually turned out not to be a guy, which doesn’t exactly help me ignore that connotation.

            • thevoidzero@lemmy.world
              link
              fedilink
              arrow-up
              0
              ·
              4 hours ago

              I can understand people wanting markers. But maybe we have like 10-20 markers and someone having 5-6 from the other side is not weird. Like if someone is presenting as a girl completely and is not, they could just reply with “oh, I’m a guy, I just dressed as a girl today” and people would be like “that’s fun” instead of being weirded out.

              Like long hair/short hair for example. Or how girls wearing pants is normal now.

              In my case, my culture does have people cross dressing during certain events so it’s not as ostracized. But that could also be because people didn’t actually think about wanting to be the other gender but just dressing up for one occasion.

              Few fun things:

              • My parents wanted a daughter but had me,
              • my nickname at home was a girl’s name version of my name,
              • only children close to my age and vicinity growing up were girls so I grew up playing “girl” games,
              • my mom didn’t stop me from painting my nails, or putting makeup or anything as a child. (I still paint my nails black sometimes),
              • In highschool I was the only guy among the group of students with nails too long on a biology lab,
              • a guy friend once told me I walk gay (I didn’t even know that was a thing?)
              • I don’t watch sports, so I don’t have many common things to talk to guys as much,
              • Good friends I had (guys) were based on either common interests (programming, philosophy, etc) or other nerds. And when I don’t have those and only friends are based on proximity then I don’t have as many things in common.

              All those considered I’m still a guy, I just don’t care about being “manly”, and just do things that interests me. Plus lots of the things people do to be manly seems to just make them spend even more time with other guys lol. And although I don’t want to do a lot of things that are for each genders, I just wish everyone was chill about doing whatever someone likes. Or for someone to just try it out to see if they like it not, instead of thinking “that’s what X do, I won’t do it”.

              • luciferofastora@feddit.org
                link
                fedilink
                arrow-up
                0
                ·
                3 hours ago

                I just wish everyone was chill about doing whatever someone likes.

                Preach, sibling.

                As an aside:

                Like long hair/short hair for example.

                This reminds me of the song “Turn The Page”, specifically the lines “Always the same old clichés: Is it woman, is it man?”

                They refer to the issue rock musicians with long hair faced, back when Seger wrote it. ~30 years later, when I first heard it, I was a metalhead with long hair. On one hand, I felt it keenly because classmates made fun of my “girl” hair. On the other, it struck me as odd because I saw plenty of metalheads with long hair (nevermind people from other cultures where that was never an issue).

                Eventually, with figures like Thor making long hair “manly” enough, that stopped. It’s curious how culture shifts can be so irregular, once slow and uneven and then suddenly very quickly.

  • FilthyShrooms@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    1 day ago

    MatLab user

    I like how it doesn’t say “coder” because everyone knows MatLab isn’t a real programming language

  • ButteryMonkey@piefed.social
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 day ago

    RStudio and SQL are the only ones of those things I’m aware of having experience with (no idea what language rimworld is coded in, but I’ve also only read that, not tried to modify it).

    But if some dude wanted to spend a bunch of time and energy to teach me all about their burning passion language or whatever, that’d be pretty hot. Maybe not JavaScript… ;)

    Not in a “dick me down immediately” sort of way, ofc, but in a “mmmm sexy brain and sexy willingness to teach complicated stuff” sort of way. And really to me that’s a solid spring-board to “dick me down immediately” territory.

    • thevoidzero@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      21 hours ago

      I second this. This is how I got my wife to like me.

      Be careful not to go overboard though, my wife, during the first few weeks, thought I might be hacking into her phone because I was tech savvy and we had too many weird things in common.

    • missfrizzle@discuss.tchncs.de
      link
      fedilink
      arrow-up
      0
      ·
      1 day ago

      I’m old and remember when all the trans women were Haskellers. now they’ve all moved to Rust and here I am, still toiling away with my monads and combinators, a lonely spinster. 😔

      • Lena@gregtech.eu
        link
        fedilink
        English
        arrow-up
        0
        ·
        21 hours ago

        I’m a trans woman and recently started learning Haskell :3

        It’s fun, I plan to eventually rewrite Lemvotes in Haskell (backend with Servant, frontend in Miso) as an exercise (and because the current codebase sucks and I didn’t know what I was doing when I wrote it)