Live data from Hacker News

Brunch: Replace gulp, grunt and increase your dev speed

github.com

21–30 of 58 posts

Re: Brunch: Replace gulp, grunt and increase your dev speed

#21
Show me the code!

There is a lot of documentation here - which isn't a bad thing - but when I'm assessing new tools like this I want to see the code I'll be using with them. My reasons for disliking Grunt can be summed up just be looking at how confusing/verbose the average Gruntfile is. An example of how I declare my Brunch build would be invaluable.

Re: Brunch: Replace gulp, grunt and increase your dev speed

#22
post #21

Show me the code! There is a lot of documentation here - which isn't a bad thing - but when I'm assessing new tools like this I want to see the code I'll be using with them. My reasons for disliking Grunt can be summed up just be looking at how confusing/verbose the average Gruntfile is. An example of how I declare my Brunch build would be invaluable.

How about a full web application for REST API in Brunch?

Check it out: http://ost.io https://github.com/paulmillr/ostio

Re: Brunch: Replace gulp, grunt and increase your dev speed

#23

Created an account for this post only. As a novice javascript programmer, I am hugely confused by the variety of tools being recommended on Hacker News. Choosing and setting up tooling was harder than writing my first app in React. Not a new complaint, I know, but: Is there anything like a best practice in modern javascript development that someone can point me to? Or is there a site that gathers the setups used by p…

Welcome to hell.

The relentless creation of new javascript frameworks never ceases to amaze. They're all over the place and every one of them claims to be a magic bullet.

My recommendation would be to choose one that is extremely stable that underlies a lot of the core principles of other systems. Backbone comes to mind because it's fairly unopinionated about how the system should be built - this makes you understand how data can be tied together, how systems can be structured (because you have to make your own choices) and which ones seems to make the most sense to you. Couple that with something like react and I, personally, think that you've covered a lot of the front-end principles.

http://yeoman.io/ is a popular flow that's much more plug and play than writing your own gruntfiles/gulpfiles.

Re: Brunch: Replace gulp, grunt and increase your dev speed

#24
post #21

Show me the code! There is a lot of documentation here - which isn't a bad thing - but when I'm assessing new tools like this I want to see the code I'll be using with them. My reasons for disliking Grunt can be summed up just be looking at how confusing/verbose the average Gruntfile is. An example of how I declare my Brunch build would be invaluable.

Do these help?

https://github.com/paulmillr/brunch-with-chaplin/blob/master... https://gist.github.com/paulmillr/eb3ae139aadbbb87ab9b#file-... https://gist.github.com/paulmillr/eb3ae139aadbbb87ab9b#file-...

Re: Brunch: Replace gulp, grunt and increase your dev speed

#25

Created an account for this post only. As a novice javascript programmer, I am hugely confused by the variety of tools being recommended on Hacker News. Choosing and setting up tooling was harder than writing my first app in React. Not a new complaint, I know, but: Is there anything like a best practice in modern javascript development that someone can point me to? Or is there a site that gathers the setups used by p…

There are few best practices, and the ones we have aren't explicitly stated in one universally agreed upon place.

My advice to you is this:

1. Focus on learning Javascript firs and foremost. Kyle Simpson's "You Don't Know JS" series is amazing: https://github.com/getify/You-Dont-Know-JS

2. Best practices are hard to come by, they essentially are: Crockford's Javascript The Good Parts, The Mozilla JS docs, and some styleguides on Github. Also lint your code through JSLint or JSHint.

3. Don't worry about build tools like Brunch, Gulp, Grunt etc. unless your job forces you to use one. If you're building small sites and apps, you won't need one.

4. When it's time to use a Framework, pick one and stick to it until you know it quite well. Frameworks are very different from one another. Backbone, Angular and Meteor.js are all quite different, but in the end they all do one thing, serve a web app.

Re: Brunch: Replace gulp, grunt and increase your dev speed

#26

Created an account for this post only. As a novice javascript programmer, I am hugely confused by the variety of tools being recommended on Hacker News. Choosing and setting up tooling was harder than writing my first app in React. Not a new complaint, I know, but: Is there anything like a best practice in modern javascript development that someone can point me to? Or is there a site that gathers the setups used by p…

To paraphrase Michael Pollan: Write Javascript, not too much, mostly frameworkless.

I sympathize with trying to keep up with tools. I also sympathize with users who don't care about fancy interfaces nearly as much as they care about the information they're looking for. Load times and sluggish UI are killing the web relative to native mobile apps. We're offloading too much of the time-cost to users.

I won't make web apps any more. I use Javascript to add a little bit of ease to website functions, and I can do that with raw Javascript and if it gets complicated, jQuery.

Re: Brunch: Replace gulp, grunt and increase your dev speed

#27

The worst part about web dev is the amount of time spent investigating every little new tool that comes out. It could be useful, it could not, how do you know unless you investigate it yourself? You could easily spend 20+ hours a week just evaluating tools. And not only that, but some of the most adopted tool aren't performant. Grunt sucks. It really does. Angular is needlessly confusing and overly complex for what i…

I picked a niche awhile back and basically ignore everything outside of that particular light cone. It turns out, this strategy is incredibly lucrative and as a bonus I dont have to worry about learning the tool of the week until it crosses that boundary.

Re: Brunch: Replace gulp, grunt and increase your dev speed

#28

The worst part about web dev is the amount of time spent investigating every little new tool that comes out. It could be useful, it could not, how do you know unless you investigate it yourself? You could easily spend 20+ hours a week just evaluating tools. And not only that, but some of the most adopted tool aren't performant. Grunt sucks. It really does. Angular is needlessly confusing and overly complex for what i…

I judge design by how little thought I have to put into using it. I don't need to think through the process of using a hammer. Software tooling is a more complex process than hitting something, but the process never fundamentally changes.

The allure of using this is that it's faster, but there is a lot of text talking about itself and it really puts me off. It indicates to me that the author doesn't consider these factors, and possibly ignores others, too.

These tools should be concise, and I should be able to get started off a single README.md. Anything less wastes my time.

Re: Brunch: Replace gulp, grunt and increase your dev speed

#29

The worst part about web dev is the amount of time spent investigating every little new tool that comes out. It could be useful, it could not, how do you know unless you investigate it yourself? You could easily spend 20+ hours a week just evaluating tools. And not only that, but some of the most adopted tool aren't performant. Grunt sucks. It really does. Angular is needlessly confusing and overly complex for what i…

The worst part about the comments under any "JS" submission is the amount of time I have to spend to weed through all the "there are too many tools" comments.

Brunch is older than Grunt and Gulp, how is your comment in any way relevant? If this was a post about the advantages of Java over Go would you complain about the amount of time you have to spend investigating various language platforms?

The world is changing rapidly around us, whether we like it or not.

Re: Brunch: Replace gulp, grunt and increase your dev speed

#30

The worst part about web dev is the amount of time spent investigating every little new tool that comes out. It could be useful, it could not, how do you know unless you investigate it yourself? You could easily spend 20+ hours a week just evaluating tools. And not only that, but some of the most adopted tool aren't performant. Grunt sucks. It really does. Angular is needlessly confusing and overly complex for what i…

I don't know about you, but in the field of selecting new frameworks I tend to essentially just (mindless) follow celebrities. Some people call me a sheep, but so far, I've found following wycats (rails, emberjs) and his cronies around has paid off tremendously in terms of framework stability for frontend javascript.

On the other hand, the worst way to go about selecting a framework is, in my opinion, benchmark testing (or looking at some blogger's benchmark tests). Your framework might run a million hello world programs faster than mine as of last month, but you have no idea if the people working on the framework will even be around in the next 6 months when your MVP is actually complete. And if you wind up having to solo-support your own dead framework while concurrently trying to run a small business, good luck finding time to build new features, hiring qualified programmers, and not coming around to hate javascript.

Post reply on HN