Hacker News new | ask | show | jobs
by Supermancho 818 days ago
> You can reference dependencies using the usual classpath options etc

I don't know anyone who thinks that a java script (being the main project language) is going to surpass:

#!/bin/sh

dep-start.sh

./gradlew clean bootRun

Maybe there are outliers with this "hot take". The result of years of projects (even changing hands), are a lot more instructive than someone posing theoretical value of reusability.

1 comments

That example doesn't even need a script, it could literally be a single gradle task. Some things are lot easier to do in a platform independent way in Java (or Groovy) than in shell scripts. And unlike the latter, the former can be tested just like any other part of the code base.

It always bugged me that build scripts are hardly ever tested or engineered. They just grow into giant balls of mud.