The title itself is a recipe for disaster. Also this is a semi rant.

Yesterday I was informed that I will have the honour to implement the core functionality - which is an interface layer to use the driver of a very expensive hardware shit - of the software I’ve been working on as a frontend dev.

There are two possibilities for the language: C++ or C#. The one that was proposed/imposed is C#, which I know nothing of, while at least I have some hobbyist experience with C++; when asked if I could take some time to familiarise myself with C# I was basically laughed in the face, saying I will learn on the field and at least some of them have some experience with it.

Should I insist to go with C++, or is that an even worse idea in an already fucked up situation?

  • totallynotarobot@lemmy.world
    link
    fedilink
    arrow-up
    80
    ·
    1 year ago

    If you’ve firmly but politely articulated what your skill set is, and they’ve told you it’s fine, you’re literally being paid to skill up. I don’t see the problem. You haven’t lied about your qualifications, instead you’ve been told they want you on the project, even though you don’t know the language yet. This is a good thing.

  • MagicShel@programming.dev
    link
    fedilink
    arrow-up
    73
    arrow-down
    1
    ·
    1 year ago

    This doesn’t feel like a disaster to me at all. This is an opportunity to grow and learn new things and new ways of doing things. It looks like your environment is very supportive and understanding that it will take some time and effort to get up to speed and are offering mentoring. And businesses often have valid technical or non-technical reasons for using a particular software stack - for example C# developers are likely easier to find than C++ developers which makes hiring easier in the future.

    My suggestion is to take some deep breaths reset your perspective. Yes, sometimes it’s not fun to push outside of your comfort zone, and it sounds like that is creating a lot of anxiety for you, but you’ll do fine. This is very similar to how I got started professionally programming 25 years ago.

  • JackbyDev@programming.dev
    link
    fedilink
    English
    arrow-up
    31
    ·
    1 year ago

    What do you mean? Your team says they’re going to help you learn as you go. I think you’ll be fine. Be proactive when asking questions, you’ll be fine! Just set expectations. Make sure your manager knows you don’t know this language and tell them you can learn as you go with assistance but you’ll need some time before you’re very productive.

  • marcos@lemmy.world
    link
    fedilink
    arrow-up
    31
    arrow-down
    1
    ·
    1 year ago

    If you have “some hobbyist experience” with C++, then you should definitively avoid it and go with C#.

    You should be at least “C++ is a landmine, be careful there” tall before allowed to play with it alone.

    • nitefox@lemmy.worldOP
      link
      fedilink
      arrow-up
      4
      arrow-down
      1
      ·
      1 year ago

      Yeah, probably. In the end maybe I will end up using c++ cause a coworker is pushing for it (although he knows nothing of the language). Ironically, I’m the one advising not to cause I know I don’t know lol

      • wth@sh.itjust.works
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        I’ve had a few years experience in both C++ and C#. The learning curve is a lot steeper for C++ with many more opportunities to shoot yourself in the foot or create horrible hidden memory leaks. It sounds like the person making the recommendation is talking out of their arse.

        If you have any experience in Java or any OO language, then the transition to C# is not so large. The language itself is not difficult - it will probably a couple of weeks to be comfortable. Its the frameworks and libraries that takes time, and there are a lot.

        Here’s my view… it takes 10 or more years (IMHO) for a sharp person to become a senior developer. It takes a few weeks to learn a language. If I have to choose for a big project, I prefer to focus on choosing the right person, rather than just focusing on the language, because a good senior will just learn whatever they need at the start. They will also bring their years of experience in good design, methodologies, communication, mentoring, testing etc to the party.

      • marcos@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        There’s so much hidden rope in it, that will catch you if you happen to pass through. It doesn’t only give you some to misuse.

  • amio@kbin.social
    link
    fedilink
    arrow-up
    25
    ·
    1 year ago

    Other team members already being familiar with the other alternative makes it a better bet already. Besides, C# is fairly nice, it’s arguably much easier to learn than C++, C# and similarly (or more) high-level languages have been focused more than C++ in a lot of education, etc.

  • kurosawaa@programming.dev
    link
    fedilink
    arrow-up
    17
    ·
    1 year ago

    Have you used Java before? It’s not a big leap from Java to C#, most of the concepts are the same. At least C# is a memory safe language, although I’m not sure if you’re unfamiliar with the code base and languages if it really makes a difference which language you use here. Hopefully your coworkers can help hold your hand a bit here, this situation sucks.

    • nitefox@lemmy.worldOP
      link
      fedilink
      arrow-up
      4
      arrow-down
      1
      ·
      1 year ago

      There is no codebase, I have to write it from scratch. Also nope, I’ve religiously avoided Java so far

  • planish@sh.itjust.works
    link
    fedilink
    arrow-up
    16
    ·
    1 year ago

    C++ is a worse idea, it is not a good web backend language.

    C# is pretty easy. As long as your boss doesn’t expect you to magically already be good at the thing they refused to allocate time for you to train in, you probably can just start trying to glue bits of C# web API examples together as your first project.

      • planish@sh.itjust.works
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        Oh sorry, I saw “frontend dev” and assumed that meant web and not like local application.

        If you are doing something less popular involving non-web messaging between processes that might be harder to break into.

  • heartlessevil@lemmy.one
    link
    fedilink
    English
    arrow-up
    16
    ·
    1 year ago

    It’s not a fucked up situation. I’m a Ruby developer and I got hired in a Scala shop with no experience. It took just a couple weeks to get up to speed and everyone was understanding.

    Since you know programming principles already, the difference between languages is mostly in their APIs. But even experienced developers spend half their time reading docs about APIs. It’s nothing out of the ordinary.

  • PmMeFrogMemes@lemmy.world
    link
    fedilink
    arrow-up
    12
    arrow-down
    1
    ·
    1 year ago

    I would say C# is a better bet as it abstracts a lot more from you than cpp. And as the name suggests the syntax is much like C so if you already have some basic understanding you should be fine. Also as others have said you’d is a learning opportunity, try to have fun with it!

  • aggelalex@lemmy.world
    link
    fedilink
    arrow-up
    11
    ·
    1 year ago

    C# isn’t that difficult to learn. Don’t be overwhelmed by languages or frameworks, they aren’t so different from each other.

  • Lmaydev@programming.dev
    link
    fedilink
    arrow-up
    8
    ·
    edit-2
    1 year ago

    C# isn’t too complicated tbh. A lot of things are done for you i.e. memory management.

    Honestly if you’re not a cpp pro that seems like it would go worse as there are so many ways to shoot yourself in the foot.

    You should be able to learn c# as you go.

    ChatGPT is a great resource for this. If you paste in a snippet and ask it to explain you’ll get a decent answer with enough context for follow up questions or things to Google.

    You can also ask it to explain how to do things. As long as it’s pretty general.

    Getting paid to learn is always great in my experience.

  • DieguiTux8623@feddit.it
    link
    fedilink
    arrow-up
    8
    ·
    edit-2
    1 year ago

    Tell me you are employed by an Italian IT company without telling me you are employed by an Italian IT company. While reading “I will learn on the field” it reminded me of my previous employer who was very fond of this “learning on the job” approach. To the clients’ detriment who had their expensive software developed by inexperienced programmers.

    • Damage@slrpnk.net
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      If it’s any consolation, it’s the same in all fields, I’m a field tech for industrial machinery and they throw me into all kinds of shit I’m not familiar with, all the time.

      “Oh, you’ll figure it out, you’re good!” Yeah, fuck you.

  • jadero@programming.dev
    link
    fedilink
    arrow-up
    5
    ·
    1 year ago

    If you’ve been working the front end, you know what the backend is supposed to provide, so you might have been picked because see you as a domain expert. Don’t be surprised if you end up acting as a leader in that regard.

    And C# isn’t that hard. I earned my living with Visual Basic, Access, and VBA until thrown into a C# job. Other than the damned braces and semicolons, it wasn’t that big a deal.

  • Lord_ToRA@lemmy.world
    link
    fedilink
    English
    arrow-up
    6
    arrow-down
    1
    ·
    1 year ago

    A good developer doesn’t need to worry themselves over the language used. For the most part programming principles are universal, besides Object Oriented vs Functional programming languages. Since you’re not moving from, say, Java to Elixir, you should be fine.

  • Jakdracula@lemmy.world
    link
    fedilink
    arrow-up
    6
    arrow-down
    2
    ·
    1 year ago

    Do you / can you work from home? If so, outsource to India for 1/10 the costs, stay home and chill, keep the difference.