← Home ← Back to /g/

Thread 106267138

72 posts 12 images /g/
Anonymous No.106267138 >>106267157 >>106267174 >>106267784 >>106268117 >>106268164 >>106268551 >>106268589 >>106270410 >>106271143 >>106271215 >>106272812
making gui apps is niggerlicious
why making desktop gui applications is so fucking horrible?

like, writing code for the console is even fun to do, you feel like you're doing real work, but then when it comes to writing a gui application it's the most horrible thing ever.
Anonymous No.106267157 >>106268864 >>106270410
>>106267138 (OP)
I hate writing UIs so much.
Anonymous No.106267174 >>106267225 >>106268864
>>106267138 (OP)
Because you're always using someone else's gigalibrary full of someone else's bugs that's like stabbing around in a black mystery box when you try to debug it yourself.
Anonymous No.106267225 >>106267401 >>106268108 >>106268864
>>106267174
what do you recommend then?, i was using javafx and qt but jesus i fucking hate them
Anonymous No.106267239 >>106268864
Because all libraries are garbage
Anonymous No.106267401 >>106267797 >>106268199
>>106267225
You might not like my answer, but UI was solved a long time ago, and it's called using a web browser. Webdev is easier than messing with whatever the fuck Qt thinks it is, browsers are installed in virtually every single personal computer on the planet, are cross-platform, have a gazillion frameworks to make your life easier, etc.

But you're not gonna listen to me and instead is going to listen to some retard that will say that it's bloat and that you should make fuckugly programs with insert_retarded_UI_tech_here.
Anonymous No.106267589 >>106267658
we need to go back
Anonymous No.106267607
frontenders need to suffer
haha
fuck you
master Karsten No.106267658
>>106267589
Seriously. There's nothing like anymore?

Everything looks to be python scripts with in browser UI like gradio
Anonymous No.106267784
>>106267138 (OP)
windows and linux problems, macOS solved it 30 years ago
Anonymous No.106267797 >>106267895
>>106267401
this is the only correct answer for any cross-platform desktop app. just use electron. for phones use swiftui/whatever slop google wrote for android. in all cases consider a progressive web app as well
Anonymous No.106267895 >>106267920
>>106267797
kys webshitter
Anonymous No.106267920 >>106268013 >>106268014
>>106267895
name one functioning, complete UI workflow that you created and >100 unique people completed without issues
Anonymous No.106268013
>>106267920
knew it lol
Anonymous No.106268014 >>106268037
>>106267920
Cocoa
Anonymous No.106268037 >>106268073 >>106268115 >>106268767
>>106268014
i actually like apple ui frameworks a lot but they aren't cross platform. if you're writing an app do it in swift, but IIUC native mac apps are rarer by the day. it doesn't make sense to maintain a web client, a mac client, and a windows client anymore when a react app on web/electron does just as well
Anonymous No.106268041 >>106268052
Because the only people who want a GUI are illiterate, and I'm not talking about the "tech" kind of illiterate.
Anonymous No.106268052 >>106270867
>>106268041
>Because the only people who want a GUI are illiterate
?????
Anonymous No.106268073 >>106268077
>>106268037
web apps looks like shit and doesn't support basic features that any native mac app has.
Anonymous No.106268077 >>106268081
>>106268073
mac is a toy that wouldn't be used by anyone employed if it didn't have homebrew
Anonymous No.106268081 >>106268084
>>106268077
what a retarded statement. do better.
Anonymous No.106268084 >>106268099
>>106268081
How about dilate harder?
Anonymous No.106268099 >>106268112
>>106268084
Great argument, kid. Any computer is a toy btw

Fuck off retard
Anonymous No.106268108
>>106267225
> javafx and qt
I feel your pain. Fuck qt. I end up using javafx out of the need to prototype quickly for my own use only. Literally I use javafx for throw away tools not for mass release.
Anonymous No.106268112 >>106268144
>>106268099
All computers can be misused, but only mac users can consistently be crying manbaby bitches who prove that apple caters to drooling mouthbreathers.
Anonymous No.106268115 >>106268175
>>106268037
I only hate the fucking objc and swift involed
Anonymous No.106268117 >>106268126
>>106267138 (OP)
Winforms fixed this problem but Microsoft for some unknown reason, thought xaml was the way despite having something that works perfectly.

All they need to do is update winforms and give us more features.

Also just use Qt.
Anonymous No.106268126
>>106268117
Well, there's always win32 kek but seriously I do use win32 but only after prototyping in some other faster to prototype lang sadly like Java, then toss it away and implement the same layout in lower level API.
Anonymous No.106268144 >>106268160
>>106268112
apple computers are used by programmers, scientists, professors, etc. Apple applications follow a higher standard than Android ones.
Anonymous No.106268160
>>106268144
I just wish desktop dev wasn't dead due to the expectation of "works on my phone", knowing things like GUI frameworks like cocoa sidelined by all these html based website mobile apps
Anonymous No.106268164 >>106268170
>>106267138 (OP)
visual basic 6 was peak programming, it was fun and simple to make UIs
Anonymous No.106268170
>>106268164
Agreed
Anonymous No.106268175 >>106270831
>>106268115
cant talk a lot about swift but from the little bit ive used it it seems nice. objc is ugly asf though and im secretly a functional programming nerd so OOP disgusts me
Anonymous No.106268187 >>106268221 >>106268234
OOP is the only way to make functional gui
Anonymous No.106268199 >>106268864
>>106267401
this. just use flutter or react. no need to use special snowflake shit like qt or swiftui.
Anonymous No.106268221 >>106268385 >>106268420
>>106268187
Not really. React proved this statement incorrect. If someone would make something liek react and less complex and with a solid list of components including charts/graphs, TreeListViews, DataGridViews that would be nice.

This is why I keep dropping every gui. It's all toys unless they implement ways to display data.
Anonymous No.106268234 >>106268274
>>106268187
OOP models cats and dogs really well but not UI. the only way to apply it at scale is dependency injection, which is just really shitty stateful functional composition
Anonymous No.106268237
making GUI in web is not so nightmarish 2bh
Anonymous No.106268274 >>106268327
>>106268234
UI elements are objects
Anonymous No.106268327
>>106268274
Anonymous No.106268385 >>106268757
>>106268221
react is not a GUI framework. it's DOM update framework which uses the immutable tree diffs to update content (which is retarded, but that's another story).
technically you can add "react" like update model on top of any OOP framework.
Anonymous No.106268420 >>106268757
>>106268221
>React
was designed for women "coders" so it's braindead retarded
Anonymous No.106268436
for me it's Vanilla.JS
Anonymous No.106268551 >>106268555 >>106272160
>>106267138 (OP)
Its just event loops bra? no?

also writing a cli parser is more niggerlicious
Anonymous No.106268555 >>106268568
>>106268551
cli parser can be written in 5 minutes
GUI framework boilerplate takes longer than 5 minutes just to setup.
Anonymous No.106268568 >>106268570 >>106268583
>>106268555
>cli parser can be written in 5 minutes
then why i'm foocking struggling with it for past 4 days? am i stoopid?
only argv though no libraries, thats cheating.
Anonymous No.106268570
>>106268568
yea you might be dumb
Anonymous No.106268583
>>106268568
https://www.gnu.org/software/libc/manual/html_node/Getopt-Long-Option-Example.html
standard libc function
Anonymous No.106268589
>>106267138 (OP)
>J-Just one more UI framework bro trust me it'll work this time...
They'll do anything but code the fucking thing.
Anonymous No.106268757 >>106268780 >>106268894 >>106271030
>>106268385
No, it's a gui framework.

>>106268420
This is cope.
Anonymous No.106268767
>>106268037
>but they aren't cross platform
GNUstep
Anonymous No.106268780
>>106268757
this looks like absolute garbage.
Anonymous No.106268864
>>106267157
>>106267174
>>106267225
>>106267239
Writing your own immediate gui framework in something opengl based like raylib is quite comfy actually. I am the one to blame for the bugs and not the shitty libraries I use. I can fix said bugs easily because I calculate every drawn rectangle, padding and text placement by hand. It takes more time to build shit but it will save your sanity in the end.
>>106268199
qt and swiftui predate your onions frameworks.
Anonymous No.106268894
>>106268757
why do rusttrannies get all the cool shit and not seppletards...
Anonymous No.106270377
bump
Anonymous No.106270410 >>106270842
>>106267138 (OP)
>>106267157
Saar did you know you can simply using the html/css/js for desktop applicationing?
Anonymous No.106270831
>>106268175
> objc is ugly asf
Agreed. After 10 years of C and C++, when I did first encounter objc it was like having my mind raped
Anonymous No.106270842
>>106270410
please to be redeeming sir
Anonymous No.106270867
>>106268052
Autist hate GUIs because they're confused when there is more than one thing one the screen at once. The truth is that the cli is a dumb persons idea of an intelligent interface.
Anonymous No.106271030
>>106268757
the new hot reloading stuff that came from dioxus looks cool
https://x.com/MalekiRe/status/1926803230643671373
Anonymous No.106271139
I hate to admit it but everyone saying to just use Electron/develop for Web is right. I hate webshit too but HTML/CSS were actually designed for the explicit purpose of designing layouts on the screen and it does actually work well for that purpose, and it's way fucking better than than anything retarded like swing.CreateNewTextBox() or swing.CreateNewRadioButton()
Anonymous No.106271143
>>106267138 (OP)
a long time ago i used a library called iup in a pet project. it was quite nice. fltk seems like a good alternative too.
Anonymous No.106271184 >>106272195 >>106274583
You now remember Delphi.
Anonymous No.106271215 >>106271225
>>106267138 (OP)
Because most apps can just be CLI, GUI is for niggers and faggots in HR departments
Any real engineer that was forced into creating a GUI app makes it horrible because they don't know basics of UX/UI design and they want to give power to the user. Whole point of having a GUI is so that granny retards can point and click.
Anonymous No.106271225
>>106271215
trvke
Anonymous No.106272160
>>106268551
It's just key and value pairs maybe with some type validation na?

Also fuck yourself
Anonymous No.106272195 >>106274583
>>106271184
Ah, I miss Delphi. Now that was comfy
Anonymous No.106272486
>Electron
Still doesn't work on android lol.
Anonymous No.106272812 >>106273314
>>106267138 (OP)
just use React
>but muh bloat!
just use Preact
Anonymous No.106272836
>webuis
everyone fucking hates using them tho because they are bloated and slow trash
Anonymous No.106273314
>>106272812
wasn't Preact deboonked?
Anonymous No.106274583
>>106271184
>remember
>>106272195
>miss
>was
Am I missing something? Its last release was in March. It seems to be actively supported. Why are people talking about it in the past tense?