Live data from Hacker News

Show HN: Sierra, a DSL for building Java Swing applications

github.com

21–30 of 34 posts

Re: Show HN: Sierra, a DSL for building Java Swing applications

#21
post #16

This is slightly off-topic, but this post makes me feel sincerely nostalgic for building games in Eclipse and Swing back in the day. Growing up, Notch's live streams[1] where he would code up a game in Java Swing for Ludum Dare were one of my first exposures to programming, and reasons for eventually studying CS. I wish there were some modern alternative to Swing that would be as simple as Swing, but would allow you…

Have you looked into Flutter at all? I admit that I have not, but I know it supports web development in addition to mobile and desktop:

https://flutter.dev/multi-platform/web

Re: Show HN: Sierra, a DSL for building Java Swing applications

#22
post #16

This is slightly off-topic, but this post makes me feel sincerely nostalgic for building games in Eclipse and Swing back in the day. Growing up, Notch's live streams[1] where he would code up a game in Java Swing for Ludum Dare were one of my first exposures to programming, and reasons for eventually studying CS. I wish there were some modern alternative to Swing that would be as simple as Swing, but would allow you…

It's not exactly the same but if you're looking for a simple environment that lets you create games for the web, you should check out the PICO-8: https://www.lexaloffle.com/pico-8.php

Re: Show HN: Sierra, a DSL for building Java Swing applications

#23
It’s nice to see new developments for Swing, however GroupLayout is the only layout manager I ever needed in practice. Once you grok the combination of parallel/sequential with horizontal/vertical, it’s most flexible and quite intuitive, and is also close to declarative in syntax.

Re: Show HN: Sierra, a DSL for building Java Swing applications

#24
I really like the examples: a screenshot of what the thing looks like, with a link to the corresponding source code right next to it! I think all UI component frameworks (or DSLs, I guess) should have something like that.

Some webdev libraries/frameworks have gone a step further and include code in the same page (though maybe it could/should be collapsed by default sometimes).

Re: Show HN: Sierra, a DSL for building Java Swing applications

#25

> Yes, I know hardly anyone uses Swing anymore. Actually, Swing is the GUI toolkit used by IntelliJ IDEA, one of the few if not the only commercially successful and kick-ass Java desktop app(s).

For their next-gen Fleet IDE though, it looks like Jetbrains is using Kotlin and Skia/skiko?

* https://blog.jetbrains.com/fleet/2022/01/fleet-below-deck-pa...

* https://twitter.com/jetbrains_fleet/status/14653112312717393...

* https://github.com/JetBrains/skiko

Re: Show HN: Sierra, a DSL for building Java Swing applications

#27

I really like the examples: a screenshot of what the thing looks like, with a link to the corresponding source code right next to it! I think all UI component frameworks (or DSLs, I guess) should have something like that. Some webdev libraries/frameworks have gone a step further and include code in the same page (though maybe it could/should be collapsed by default sometimes).

I generally prefer links since otherwise the code and examples can easily get out of sync.

Re: Show HN: Sierra, a DSL for building Java Swing applications

#28

I really like the examples: a screenshot of what the thing looks like, with a link to the corresponding source code right next to it! I think all UI component frameworks (or DSLs, I guess) should have something like that. Some webdev libraries/frameworks have gone a step further and include code in the same page (though maybe it could/should be collapsed by default sometimes).

I generally prefer links since otherwise the code and examples can easily get out of sync.

I really like this as a casual user that is going to just scroll through the page and see what it looks like - I wouldn't go out of my way to click on the examples.

This might be useful as an overview of what it is more then live examples

Post reply on HN