News for hackers. Stuff that matters.
Re:Simple Windows GUI Application Written in Go by achr2 on Thursday June 23, 2016 @08:26PM (#11965338)
I think that sentiment is mostly revisionist nostalgia. Yes it was easier to 'know' what was going on between your code and the OS, but to say that modern UI frameworks are more fragile than the hand-coded win32 code of yore is certainly fallacious.
Re:Simple Windows GUI Application Written in Go by maxxxxx on Friday June 24, 2016 @12:07AM (#11966277)
Actually I would agree that win32 is more stable once you get the hang of it. I have worked with WPF, Winforms, MFC and win32. win32 was by far the most complete, predictable and flexible environment. It takes a lot of learning and you can't just let anybody work on the codebase. But once you know what you are doing and maybe have some simple wrappers for routine stuff it's pretty good.
Re:Simple Windows GUI Application Written in Go by pjmlp on Friday June 24, 2016 @02:00AM (#11967015)
Coming from MS-DOS and Amiga as background, I was amazed how Win16 was a productivity changer (for the better).

It is funny to see people bashing it nowadays, given how I came to enjoy it.

When I started GUI coding on UNIX, Xlib, Xt and Motif on the other hand were anything but productive.

Re:Simple Windows GUI Application Written in Go by wiz21c on Friday June 24, 2016 @03:28AM (#11967494)
100% agree. With modern tools, I :

Think the UI the way I code it (declarative)

Don't have to think about screen resolution, colour depth,...

Don't have to bother with non unicode stuff

Have access to well behaved widgets

Can have portability if I need that

Even if I can't control 100% of the rendering process, my productivity has increased...

Re:Simple Windows GUI Application Written in Go by wolfgke on Friday June 24, 2016 @09:21AM (#11969568)
> Think the UI the way I code it (declarative)

Windows Ressource files exist at least since Windows 3.x

> Don't have to bother with non unicode stuff

Just use the WinAPI functions that are prefixed with W (Unicode) instead of A (ANSI), e.g. CreateWindowExW instead of CreateWindowExA.

> Have access to well behaved widgets

Call CreateWindowEx (https://msdn.microsoft.com/en-us/library/windows/desktop/ms6...) (yes, the name is confusing, accepted) with lpClassName value, say, of BUTTON, COMBOBOX, EDIT, LISTBOX, MDICLIENT, SCROLLBAR (for a more complete list look at the MSDN site that I linked). This creates such a widget.

Re:Simple Windows GUI Application Written in Go by davb on Thursday June 23, 2016 @09:09PM (#11965538)
I'd argue that it's not "fallacious", it's simply a matter of opinion and taste.