Earlier quoted context omitted.
The "horrific syntax and semantics" claim seems pretty drive-by, the variables and some function names might be arcane, but newer releases have nicer aliases for those who care for them. I don't know what is so horrific about the semantics though, they are pretty straightforward. A Makefile is a set of rules, each rule being a target file, its dependencies, and the recipe to turn the dependencies into the target. Mak…
> unsubstantiated FUD isn't necessary Sure. ...but to be fair, regardless of the make syntax, you've also got to look at the history of make, and what it's designed to achieve. Make is for executing shell commands on file patterns with dependency rules. It's not designed to use an ecosystem of plugins or have long running processes (eg. to run a local server or watch for file changes). It's not designed to be a scrip…
Why we should stop using Grunt and Gulp
51–60 of 108 posts
Re: Why we should stop using Grunt and Gulp
#52I am not sure if that justifies 70mb of additional dependencies and the "we can solve that with a grunt plugin" mentality devs get. Our Gruntfile is 440 lines long :/
Re: Why we should stop using Grunt and Gulp
#53This article seems super weird -- do people actually use Grunt/Gulp to run a single command at a time? Most uses that I've encountered are along the lines of 'we've got this huge build process involving compass, sass, uglify, ng-annotate, and 13 other things', and Grunt/Gulp allow you to do the whole thing, automatically re-running on file changes, with a single command.
Same here, a bunch of complex & dependent tasks all boiled down to a few commands run often, and a bunch more less so. I also use grunt-shell a great deal rather than find/write a new plugin, pretty decent way to call out to bash.
Re: Why we should stop using Grunt and Gulp
#54I am very comfortable with make, my coworkers however are not. Every preprocessor comes with a command line interface, easily accessible and understood. The only useful feature of these build tools is hot reloading. `npm gaze` even provides a somewhat working fs.watch interface which works good across platforms. I am not sure if that justifies 70mb of additional dependencies and the "we can solve that with a grunt pl…
Then I found out what it was actually doing, and replaced it with a small shellscript that NPM calls.
Re: Why we should stop using Grunt and Gulp
#55My vote is for bash scripts. If you are in Windows then you can use babun or preferably get off Windows.
Re: Why we should stop using Grunt and Gulp
#56This article seems super weird -- do people actually use Grunt/Gulp to run a single command at a time? Most uses that I've encountered are along the lines of 'we've got this huge build process involving compass, sass, uglify, ng-annotate, and 13 other things', and Grunt/Gulp allow you to do the whole thing, automatically re-running on file changes, with a single command.
Re: Why we should stop using Grunt and Gulp
#57This article seems super weird -- do people actually use Grunt/Gulp to run a single command at a time? Most uses that I've encountered are along the lines of 'we've got this huge build process involving compass, sass, uglify, ng-annotate, and 13 other things', and Grunt/Gulp allow you to do the whole thing, automatically re-running on file changes, with a single command.
Re: Why we should stop using Grunt and Gulp
#58I found all build systems for all platforms to be a total PITA and eventually i just resort to using a shell or python script to invoke the commands i want. With this method you can very easily add user promting (do you want to build debug or release?), database reporting of build and test results, source control integration etc. Whatever i learn here can be applied and reused for new things in the future instead of…
You cannot compare something like Maven/Gradle/SBT/Leiningen to Make. Make doesn't do incremental building and testing, it doesn't do test coverage reports, it doesn't download the dependencies for you, it doesn't build the Javadoc documentation for you, it does not package and publish your signed artifacts on Maven Central, it does not wrap your stuff in an OS specific installer, etc, etc... And you know, these thin…
And its totally stupid, and the stupid persists, because 'its standard' now. This is how stupid stuff becomes standard - people say "hey, this stupid stuff - its standard now".
You're using the argument that its a good thing to have to do all of that stuff with one tool .. really? (Besides, Make can do all of that - you just have to configure it to do so, like any other tool..)
Re: Why we should stop using Grunt and Gulp
#59I simply use Make for all my web projects, whether it's a Ruby JSON API, or a React front-end. It's reliable, pre-installed everywhere, and can wrap anything in one consistent CLI. Why have to remember whether to type lein repl , pry , or rails console , when make repl will do everytime? Ditto, bundle install , npm install , lein deps => make deps . make server can easily wrap whatever command launches the server, ma…
keep in mind that make isn't going to work on Windows. For a lot of people, that's okay (including myself). Still, a ton of developers still work on Windows.
Re: Why we should stop using Grunt and Gulp
#60Earlier quoted context omitted.
keep in mind that make isn't going to work on Windows. For a lot of people, that's okay (including myself). Still, a ton of developers still work on Windows.
And its different for Windows users who want to use Grunt, how exactly?