• 10 Posts
  • 11 Comments
Joined 1 year ago
cake
Cake day: June 12th, 2023

help-circle


  • It just works. I spent years with Eclipse (but quite some time ago now), and it was always a pain getting particular things to work properly. The last time I messed with it was doing research for an article I was writing. I was try to get Gradle support enabled. I wasn’t able to do it, but I admit I gave up pretty quickly because I don’t have the patience for messing with tools that don’t work any more.

    In truth, I really liked the Open aspect of Eclipse and I wish it work better than Intellij. Maybe it does now - I don’t know. For Java Intellij is awesome, and does everything you could ever dream for. For Kotlin - well Kotlin is an Intellij product and the support for it is awesome.


  • HamsterRageOPtoProgrammingSome Thoughts on Coupling
    link
    fedilink
    arrow-up
    2
    ·
    9 months ago

    That looks cool, but I have no idea what it does.

    Anticipating complexity is a critical core concept that isn’t taught in school either. Nothing of value ever stays simple. Unfortunately, it takes years of experience before you figure that out.


  • HamsterRagetoProgrammingStacks for Simple Static Sites
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    9 months ago

    I use Markdown with Jekyll because it integrates nicely with GitHub Pages and I can run it locally for authoring. There’s tons of support for it, as far as I can tell. Jekyll uses Liquid for templating, and it seems pretty good. For layout, I use Minimal Mistakes which has a really nice feel and it’s comparatively easy to customize. Once I was through all the layout configuration stuff, it’s really just a matter of writing articles and pushing them up to GitHub - rarely fiddle with anything technical these days.



  • HamsterRagetoProgrammingPulsar, the best code editor
    link
    fedilink
    arrow-up
    2
    arrow-down
    3
    ·
    9 months ago

    I used Atom for markdown editing for my blog and I loved it. After the death of Atom I felt forced to switch over to VS Code and I hate it.

    Hate, Hate. Hate.

    I can’t tell you why, I just hate it.

    I found Pulsar last week and my blood pressure is down where it belongs now.

    For programming in Java & Kotlin I use Intellij Idea CE. I cannot image why anyone would bother with VS Code for this purpose either.











  • The simplest “dead simple” program would be something like this:

    public class DeadSimple extends Application {
        @Override
        public void start(Stage primaryStage) throws Exception {
            primaryStage.setScene(new Scene(new Label("Hello World")));
            primaryStage.show();
        }
    }
    

    That doesn’t include any library management or build stuff, but I created it in a grab-bag project I have for examples and testing out code snippets and it does run.

    JavaFX has the idea of a Stage - which corresponds to a Window, and a Scene - which is the wrapper for the content. The Scene contains an object which extends a generic layout class called “Region”. In this case, I’m using “Label”, which is technically a Region even though you rarely treat it like one.

    So this program extends the standard “Application” class, which is the starting point for all JavaFX programs, and implements the “start()” method, which is passed the default Stage. Then it creates a Scene, with a Label as its content and puts it in the Stage. Then “stage.show()” tells it to display it on the screen.

    IntelliJ knows enough give me a “Run” option for the class without having to specify a “main()” method.

    Everything else follows from there.

    Feel free to ask more questions.




  • HamsterRageOPtoCommunity RequestCommunity for JavaFX
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    Two reasons I can think of:

    • Presumably, !java won’t stay dead forever, and it will have as much traffic as you’d expect for such a popular language.
    • It would be nice to be able to link from other JavaFX resources to a Lemmy community as a dedicated place for JavaFX discussion and Q&A’s.

Moderates