Earlier quoted context omitted.
One suggestion I have would be to include a very minimal implementation of login management (basically just properly hash/salt passwords and provide some easy way to add users). I've used Django before for the sole reason that it includes a database and user management because some API had to be login only since said API had high resource usage. I can see how having your own database is kind of "minimal" in the Java…
Your wish is my command ;) https://github.com/byronka/minum/blob/master/src/test/java/c...
Show HN: Minum – A minimal Java web framework
51–60 of 113 posts
Re: Show HN: Minum – A minimal Java web framework
#52The size statistics page is super cool: https://github.com/byronka/minum/blob/master/docs/size_compa... Reasoning this way about software and dependencies more often seems like a good thing, just so we're aware of what we're actually getting into, especially with projects that use npm. I actually hadn't heard of Javalin before, which also seems nice: https://javalin.io/ Aside from that, I've also had good experiences…
Re: Show HN: Minum – A minimal Java web framework
#53Earlier quoted context omitted.
Actual Java dev here, not just someone who used it in college and got annoyed -- but I have no idea what you're talking about. Java has not been boilerplatey for a long time, I'd say since sometime between Java 5 and Java 8. You do know you can declare multiple classes in a single file (static nested classes), contrary to the popular convention, right? And "public static void main" doesn't count as boilerplate, that'…
You're correct ... in theory. At least in this project example code, i see tons of empty class like Result.java with empty content, on separate file. So is this normal convention for Java dev ? No eslint (or similar tool) to prevent boilerplateness ? That's my point. Do you Java dev have strict standard on prevent such things spread on all codebase, ecosystem,... ?
For some reason, some early java devs got the idea that you weren't allowed to have multiple classes in one file (an easy misunderstanding if you follow a Hello World tutorial and stop learning) so yeah, you'll find plenty of projects that have a bunch of class file with 3 lines.
So what? If you find this kind of mistake in a project you're working in, it's going to be very easy to refactor it safely, since Java is statically typed and IDEs like IntelliJ can use that static typing to make moving classes around extremely safe.
Re: Show HN: Minum – A minimal Java web framework
#54If you're pitching me something, show it to me. People don't have to dig around to see what you've made. I think the average visitor will give you about 10 seconds to decide if this is something they might be into, and if they can’t tell then they’ll leave.
Re: Show HN: Minum – A minimal Java web framework
#55Re: Show HN: Minum – A minimal Java web framework
#56To anyone developing libraries: please, for the love of god, just put a damn code snippet right at the top. A simple hello world would do. If you're pitching me something, show it to me. People don't have to dig around to see what you've made. I think the average visitor will give you about 10 seconds to decide if this is something they might be into, and if they can’t tell then they’ll leave.
Re: Show HN: Minum – A minimal Java web framework
#57The size statistics page is super cool: https://github.com/byronka/minum/blob/master/docs/size_compa... Reasoning this way about software and dependencies more often seems like a good thing, just so we're aware of what we're actually getting into, especially with projects that use npm. I actually hadn't heard of Javalin before, which also seems nice: https://javalin.io/ Aside from that, I've also had good experiences…
Re: Show HN: Minum – A minimal Java web framework
#58Re: Show HN: Minum – A minimal Java web framework
#59The size statistics page is super cool: https://github.com/byronka/minum/blob/master/docs/size_compa... Reasoning this way about software and dependencies more often seems like a good thing, just so we're aware of what we're actually getting into, especially with projects that use npm. I actually hadn't heard of Javalin before, which also seems nice: https://javalin.io/ Aside from that, I've also had good experiences…
3,757 what? KB, MB, GB, TB, PB, LOC, hours to download?
Re: Show HN: Minum – A minimal Java web framework
#60The size statistics page is super cool: https://github.com/byronka/minum/blob/master/docs/size_compa... Reasoning this way about software and dependencies more often seems like a good thing, just so we're aware of what we're actually getting into, especially with projects that use npm. I actually hadn't heard of Javalin before, which also seems nice: https://javalin.io/ Aside from that, I've also had good experiences…
3,757 what? KB, MB, GB, TB, PB, LOC, hours to download?