Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
donkulator2900282dC# is my dirty secret. It's far from perfect, and if I was a genius then I'd use something else. But nothing else I've tried can touch it in terms of having a low cognitive load.
-
Hazarth9501282dI mean, you do realize you're hating on a language for it's build tools?
That's like saying C++ sucks because clang can't load their configuration properly in vscode
or that Python sucks, because pip failed to install some package properly
you should probably hate on Visual Studio or whatever build system you're using in this case, not the language itself -
Grumm1810282dOn a side-note, what do you all use to make a desktop app ?
All I find are stuff like Electron or xamarin. I don't want it to be a web app or multi-platform...
All I need is to create a modern windows 11 desktop software. I tried WinUI 3. It is working, but the xaml is hell without designer. -
cafecortado7870282dMe yesterday in Android Studio:
- clicks Run: I get a weird compilation error that makes zero sense.
- does a clean + rebuild: the same error
- does a invalidate caches, this always solves everything, right? Still the same error
- runs a git clean -xdf in the project to remove all /build, /bin, etc folders: still the same error
- deletes the .android, .gradle and similar fucking folders from my home directory: now it works! -
Lensflare17134282d
-
tosensei8411282di can't tell you what you're doing wrong without having access to the project where you're doing it wrong, and knowing what exactly you are doing while you are doing something wrong.
that's the first thing you're doing wrong: not providing any information that could be used to answer your question. -
tosensei8411282d@Grumm try eto.forms - it's a wrapper for native UI libraries on windows, linux and osx. and it's completely c#, no stupid xml to torture yourself with.
-
hasnainsaad9314282dWell I mean every platform has their thing. I am nowadays working with NextJs and sometimes we delete .next, node_modules etc to get things working.
(Its not their fault it happens due to irregularities in node version between the workspaces etc but still…) -
lorentz15268281d@Hazarth C++ is unique in that the language itself is a standard adopted by multiple implementations that share nothing besides the language. The problems of Pip and NuGet and Cargo are absolutely problems of the language, because there's no way to get around these tools, and they're managed by the same organization that manages the development of the language.
-
Hazarth9501281d@lorentz to be fair, you don't have to use Pip nor NuGet. It just simplifies package Installation but nothing is stopping you from installing packages from sources in python or linking dynamic libraries in C# from project build configuration
Source: I've done both in the past
I Dont know about Cargo -
fatenuller194281d@Grumm I think there is an effort underway to migrate SwiftUI (or just something similar to SwiftUI) to Windows by the Browser Company in order to bring Arc browser to Windows. I haven’t looked into it too much though. Info on YouTube
-
Grumm1810279d@fatenuller Nice, but that is again mostly for apps.
So there is no modern new 'Winform' alternative.
Sure I could use Uno platform or MAUI, but I don't care about compatibility. And winforms are just ugly in Windows 11.
Related Rants
I love that its 2024, and yet sometimes you still have to delete the /bin and /obj folders from a C# project to remove build errors that are in fact, not build errors...
...and people here hate node.js / npm
🤡🤡🤡🤡🤡🤡
but come on down in the comments all you C# worshippers and please enlighten me what I am doing wrong... definitely couldn't be C# right?
also explain why 'clean' must not REALLY mean clean 🤡
rant
csharp
clownworld
dotnet
🤡
obj
bin
cringe