• Anafabula
    link
    fedilink
    English
    arrow-up
    52
    ·
    1 year ago
    error: unknown start of token: \u{37e}
     --> src/main.rs:2:30
      |
    2 |     println!("Hello, world!");
      |                              ^
      |
    help: Unicode character ';' (Greek Question Mark) looks like ';' (Semicolon), but it is not
      |
    2 |     println!("Hello, world!");
      |                              ~
    
    error: could not compile `playground` (bin "playground") due to previous error
    
      • Mikina@programming.dev
        link
        fedilink
        English
        arrow-up
        5
        ·
        edit-2
        1 year ago

        I would rather see it just added to the standard definition as a valid character, so the compilation passes without issues. It would make lives of Greek programmers a little bit easier!

        But on a second though, it would probably make the lives of compiler programmers a living hell. Having to deal with two symbols for one thing sounds really annoying :D

  • delial@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    19
    arrow-down
    3
    ·
    1 year ago

    I love that this implies Visual Studio is not worth its salt, because it most certainly isn’t.

        • HTTP_404_NotFound@lemmyonline.comOP
          link
          fedilink
          arrow-up
          2
          ·
          1 year ago

          I hear lots of people say good things about rider- but, I have yet to actually try it out.

          Mostly- because, getting my company to spend $$$ on tools… is like pulling teeth.

            • HTTP_404_NotFound@lemmyonline.comOP
              link
              fedilink
              arrow-up
              3
              ·
              1 year ago

              That may be true- but, that doesn’t help navigate the evil known as corporate billing and bureaucracy.

              Trust me, some companies can be an absolute pain in the ass when it comes to getting funding… for even cheap stuff.

              Before the software can even be acquired, the legal team has to review contracts. Then, payroll/billing/accounts receivable has to setup their junk. Vendors have to sign invoices.

              As much as I wish it was as easy as just creating an account, and entering my paypal- it doesn’t work that way in many large companies.

              • hairyballs@programming.dev
                link
                fedilink
                arrow-up
                3
                ·
                1 year ago

                Fair point. I’ve experienced that in big corps, so I now you’re right. For example, we would lose a bunch of time because the PCs didn’t have enough memory, but they couldn’t get us more RAM sticks, because of the bureaucracy, it could take 2 years or so.

                • HTTP_404_NotFound@lemmyonline.comOP
                  link
                  fedilink
                  arrow-up
                  3
                  ·
                  1 year ago

                  After nearly 6 years of fussing about my PCs hardware, I DID finally get a massive upgrade… and became the owner of some of the fastest hardware my company had to offer.

                  Compile times, and everything was BLAZING fast.

                  Then… cyber rolled out a few new security agents. Nothing is fast anymore. :-(

      • delial@lemmy.sdf.org
        link
        fedilink
        English
        arrow-up
        10
        arrow-down
        1
        ·
        1 year ago

        You should check out Jetbrains Rider. It feels like cheating. Or ReSharper if you can’t leave VS completely

        • HarryEffingPotter@programming.dev
          link
          fedilink
          English
          arrow-up
          4
          ·
          edit-2
          1 year ago

          Bruh the refactoring is so goddamn amazing. And the shortcut to just automatically fix all indents? HNNNNNNNNG

          My biggest beef with it though is that it has no visual designer for .net core winforms. Like what the fuck is that. If I need to bang out a propietary app for an enterprise client in 8 hours winforms is the avenue of choice. It might not be winning any popularity contests but goddamn is it easy to have a working product in mere hours.

          • delial@lemmy.sdf.org
            link
            fedilink
            English
            arrow-up
            3
            ·
            1 year ago

            Then we can at least agree that DataGrip blows SSMS out of the water.

            By salt, I mean the total cost of the software. The install size, the launch time, the update time, whatever they’re charging my company, and any overhead in using it.

            For VS, it should be better. It’s big. It’s slow. It lacks features. There are poorly supported features and abandoned, half-baked stuff. I have to have multiple versions installed because they broke backwards compatibilty for some stuff. MS should be able to do better, but I don’t think the company can.

            • Mikina@programming.dev
              link
              fedilink
              English
              arrow-up
              3
              ·
              1 year ago

              Almost every Microsoft product is horrible. Our company has switched from our internal backoffice for attendance and project time allocation tracking, which was kind of terrible but aside from some slight issues (the only one I can think of being that if you wanted to create a time report for a project you’re not on, enabling “all projects” pretty much froze the page for a few seconds, since it was loading hundreds of projects into a single selection box), to O365 Dynamics.

              And oh my god it’s the worst UX I’ve EVER seen. Every click takes around 4-5 seconds before the page even loads. You can’t simply take project report from a single day, and copy it to the whole week. No, the only thing you can do is duplicate a single record, but you still have to manually change the date in like two fields - wich takes like 15 seconds since everything including a Data Picker takes ages.

              It’s not intuitive in the slightest. You can’t just search for a project somehow easily, you have to open like a million of submenus to find what you need, and if something is missing you have to create a bazillion of different stuff for it before you can even track the time. It takes me literally around an hour to properly log what I was doing during the last month, and I only work part-time, so I only need to report like 10 days.

              When we were switching the company was making a pitch about how it gives them more precise data about projects, but everyone I’ve talk to about it just stopped bothering with precisely recording every hour to a project it belongs, and just groups it up somewhat approximately. I can’t imagine having to properly log the 3-5 different projects I work on or am on a meeting for during a single day, just thinking about it makes me want to quit, so I just choose the project I was allocated to for the week and report whole 8 hours to that. Or just group a few hours of overtime into a single random day on a single project.

              And it’s the same with Microsoft Azure. I’ve worked with both GCloud and AWS, and nothing was as slow and annoying to use as Azure - but mind you, that was several years ago, it may be better now. But I guess that’s the price you pay for having such a large amount of developers. I’ve heard that they have whole teams for a small subset of features on every products - such as a team responsible only for one screen. That has to be such a mess.

              • HarryEffingPotter@programming.dev
                link
                fedilink
                English
                arrow-up
                3
                arrow-down
                1
                ·
                edit-2
                1 year ago

                Typescript would like a word. So would VS Code.

                They ain’t all misses.

                Also O365, while convoluted, shouldn’t run that shittily, sounds like your hardware/network is dated as f.

                ADO is vastly better than it was years ago, the pipeline stuff is a lot slicker.

                • Mikina@programming.dev
                  link
                  fedilink
                  English
                  arrow-up
                  2
                  ·
                  1 year ago

                  I concur, VS Code is amazing, I’ve totally forgotten about that. TypeScript I haven’t really used much, so I can’t judge that, but now that I think about I do most of my work in C# and don’t have anything bad to say about it, so that’s also nice.

                  Most of O365 is fine, while still a little bit slower than anything else, but the Dynamics just isn’t responsive no matter what network or hardware I’m on. It’s a convoluted CRM. And I do have a new desktop that I bought a few months ago, and 1Gbps network, so none of that should be a factor.

                • delial@lemmy.sdf.org
                  link
                  fedilink
                  English
                  arrow-up
                  2
                  ·
                  1 year ago

                  Algebraic types in TypeScript are game-changing. I immediately wanted them in C# for deriving domain models from database entities and then view models from domain models.

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

              I like DataGrip more than SSMS for just writing and running SQL. Not for managing databases. It doesn’t have as much functionality in that area.

              Visual Studio isn’t slow. It hasn’t been for a while. Visual Studio with Resharper is slow. I don’t think “lacking features” is a serious complaint, it has quite a lot.

    • ramesdunc@feddit.nl
      link
      fedilink
      English
      arrow-up
      11
      ·
      1 year ago

      nvim + coc.nvim + coc-clangd (or other language LSP implementations) will give you the conveniences of modern IDEs + the power and speed of vim 🙂

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

        Coc.nvim is kinda bloated though. Really wish developers put more effort into their LSP servers instead of just saying “go use vscode lol”.

        Then again, native LSP isn’t that bad. I’ve been using it daily for months now, it’s better than most people give it credit for.

      • rabirabirara@programming.dev
        link
        fedilink
        English
        arrow-up
        4
        ·
        1 year ago

        I use Helix and Nvim pretty much concurrently and whenever I have to use vim I feel slower on most basic movements. A fresh set of keybinds is really nice - though simultaneously there are one or two specific actions which are slower or unintuitive in Helix. But overall I love Helix.

  • stratoscaster@lemmy.zip
    link
    fedilink
    English
    arrow-up
    7
    ·
    1 year ago

    This would bite me in the ass because I often ignore these kinds of warnings in VSCode (SFDX for VSC is kinda crap, warns you about nonissues, and often doesn’t correctly identify the problem).

    • qwop@programming.dev
      link
      fedilink
      English
      arrow-up
      9
      ·
      1 year ago

      Confusable characters get a little yellow box which is different from the squiggly underlines most linters and stuff use which at least makes it a bit more recogniseable.

      Personally I can’t stand having underlines all over my code, so I’ll usually just “fix” the non-issue if possible, or otherwise just disable whatever the warning is entirely.

      • HarryEffingPotter@programming.dev
        link
        fedilink
        English
        arrow-up
        5
        ·
        edit-2
        1 year ago

        Ahh the solution is simple, in VS Code add these lines to your general config

            "workbench.colorCustomizations": {
                "editorError.foreground": "#00000000",
                "editorWarning.foreground": "#00000000",
                "editorInfo.foreground": "#00000000", 
            },
        

        Then get the error lens extension, it’s so much more pleasant. Visual example

        • 𝒍𝒆𝒎𝒂𝒏𝒏@lemmy.one
          link
          fedilink
          English
          arrow-up
          2
          ·
          1 year ago

          I love that look, ugh. The inline errors are much more visually appealing vs the usual squiggly underline

          I might need to look at vscodium since I’m not too keen on having more microsoft telemetry on my desktop. Been using Atom for personal projects thus far.