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
-
Building for learning is cool and all but you learn far more by building something that's actually useful, especially for yourself.
Eg. Recently I thought I'd learn a bit of android app dev because I have literally no application programming in my skillset. I wanted a tiny, minimal code editor that could run small snippets in any popular language. So I built that as my first app and it ended up having a ton of stuff - layouts, custom text editing callbacks, undo/redo system, syntax highlighting, calling rest APIs, theming, etc. Not everything works properly yet, of course (or is implemented) but I've actually spent hours using that editor productively, makes it immensely satisfying. -
inaba45895y> I still don’t feel like I’m working productively and I hate the negative feeling it’s giving me
That's usually how it is when you work in winforms in my experience -
If you're already proficient in C# picking up winforms shouldn't be that much of a challenge. There isn't that much to it.
However, if you're using this to learn C# I'd suggest you focus your efforts on something more relevant such as WebAPI or MVC. -
Bubbles66125y@RememberMe I intend to build something practical I just want to finish the book first lmao
-
@Bubbles
Its good to know if you work with .NET or plan to. There is always legacy apps kicking about.
I miss winforms dev its how I learnt development initially in VB.NET then C#. -
Bubbles66125y@StefanH yeah, it’s just so I know the WinForm syntax so I’m not constantly looking everything up.
But I’ve basically been just summarizing each concept/feature of the chapter in one little program. So even if I can’t remember I can peek at that one -
My opinion only, don’t be too rude !
Well, WinForms is a particular beast. It’s the best framework in the world for small, onetime coded projects. Just make a form of the size you want, remove all resize/maximize functionality. Slack buttons/labels etc on it and you are done. 15 minutes and you only writing logic code, not UI code.
But for projects, which grow bigger and need to be maintained it is the absolute worse.
I would suggest looking at WPF for these types of projects. (DO NOT EVER TOUCH TO UWP. It just not worth it. APIs are so bad… I don’t have any words) -
Bubbles66125y@NoToJavaScript I see it as C#’s version of Python’s Tkinter. Which is great for simple software, like you said nothing fucking huge or complex.
I’ll definitely practically use WinForms for simple applications that need a GUI. I do enjoy it, although I personally wish it didn’t do so much work for me behind the scenes. -
@Bubbles Well, you can code it by hand from a console app :) (true story). Here is example of a little app I made for work. (It goes fetching Applicationj Insight data and just generates an Excel. Azure portal is limited to 10.000 lines. This particular beast generates up to 1000.000, sometimes needed).
Nothing fancy, half in french, half in english. Didn't even changed the title lol -
@Bubbles At my last knowledge, WinForms is not available in .Net core.
May be in a 3.0, I didn’t check.
Edit : oh yeah, there is something
https://docs.microsoft.com/en-us/... -
@Bubbles I found that :
https://github.com/nopara73/...
I have no idea if it is worth it, but seems to support MacOS and Linux as well, based on libui (I never heared of)
https://github.com/andlabs/libui -
Bubbles66125y@NoToJavaScript I need to port some CLI apps I wrote to WinForms. Luckily the applications I make are relatively simple when it comes to how I design the UI
-
Bubbles66125y@NoToJavaScript I assumed there was some sort of third party/opensource GUI libs for MacOS and Linux so I never worried about that
Even though I’ve been working through a C# book about WinForms, which I’m half way done with, I still don’t feel like I’m working productively and I hate the negative feeling it’s giving me.
It’s going to sound stupid but it’s making me feel like I’m not spending enough time programming even though I’ve been programming quite a bit this week. I mean the small apps aren’t practical they’re just for learning how it all works but still. Im not reading the book for learning the programming logic it’s for the WinForms knowledge.
I think it’s just that I want to make progress on my main project and just have a 4+ hour coding session.
rant