News for hackers. Stuff that matters.
Re:Sketch: Proud to Build a Truly Native Mac App by nl on Tuesday October 27, 2020 @09:45PM (#24914126)
I've been a software developer since the 1990s. I know how Vi(m) feels and I much prefer the affordances offered by VS.Code.

Ironically Jetbrains IDEs are Java, using Java Swing for the UI[1]! This is even less native than VS.Code where at least native widgets are used.

I guess this shows how much our impressions are formed by expectations!

[1] https://stackoverflow.com/a/12311981/280795

Re:Sketch: Proud to Build a Truly Native Mac App by jolux on Wednesday October 28, 2020 @12:31AM (#24915244)
Swing is definitely not "less native" than Electron. The entire window is a web view in Electron apps. I believe Java Swing was even an officially supported UI toolkit on the Mac a long time ago.
Re:Sketch: Proud to Build a Truly Native Mac App by saagarjha on Wednesday October 28, 2020 @04:49AM (#24916643)
Not in the way Cocoa is, but it had a PLAF coming from Apple at the time.
Re:Sketch: Proud to Build a Truly Native Mac App by nl on Wednesday October 28, 2020 @04:53AM (#24916674)
The menus in Swing aren't native but are in Electron.
Re:Sketch: Proud to Build a Truly Native Mac App by Liquid_Fire on Wednesday October 28, 2020 @06:45AM (#24917286)
Maybe Electron supports native menus, but VS Code certainly doesn't use them, at least on Windows and Linux.

Simple experimental proof: resize the window to be very small, and open a menu. The menu can't go outside the bounds of the window.

Re:Sketch: Proud to Build a Truly Native Mac App by jolux on Wednesday October 28, 2020 @07:31PM (#24925370)
What menus?