Earlier quoted context omitted.
Yeah, people are saying, "No, learn CSS!" but isn't CSS exceedingly simple? Why can't I just use Bootstrap because I don't feel like designing an app, and Bootstrap is the fastest way to get a consistent layout on web and mobile? What's it got to do with learning at all?
> "No, learn CSS!" but isn't CSS exceedingly simple? No, it's not. I don't want to start a CSS flame war, but at least for layout / positioning I struggle every single time with CSS, especially on sites with dynamic content. CSS is my least favorite part of the web development stack by far.
Ask HN: Should I learn Bootstrap 3 or 4 at this moment?
51–60 of 112 posts
Re: Ask HN: Should I learn Bootstrap 3 or 4 at this moment?
#52Regarding learning BS3 or BS4, I'd opt for BS4. All you have to know what things BS4 provide and use them appropriately. Not to mention, some fairly good CSS knowledge is also a pre-requisite. One of the themes we recently used is startUI (google for it). It's on BS4 and the components were easy to integrate in apps.
Re: Ask HN: Should I learn Bootstrap 3 or 4 at this moment?
#53Earlier quoted context omitted.
Yeah, people are saying, "No, learn CSS!" but isn't CSS exceedingly simple? Why can't I just use Bootstrap because I don't feel like designing an app, and Bootstrap is the fastest way to get a consistent layout on web and mobile? What's it got to do with learning at all?
> "No, learn CSS!" but isn't CSS exceedingly simple? No, it's not. I don't want to start a CSS flame war, but at least for layout / positioning I struggle every single time with CSS, especially on sites with dynamic content. CSS is my least favorite part of the web development stack by far.
Re: Ask HN: Should I learn Bootstrap 3 or 4 at this moment?
#54Learning Bootstrap 3 or 4 should take you very little time, I would suggest you don't learn either of them, but instead take the time to learn CSS (I am of course assuming you are not already a CSS wiz). You can look at the source of Bootstrap to see how they accomplished certain things if you'd like, but if you're doing anything more than prototyping (and even then), I feel there is very little benefit to using Boot…
Re: Ask HN: Should I learn Bootstrap 3 or 4 at this moment?
#55To answer this question, I'm more interested in how do you learn it first. All these frameworks are just COPY & PASTE the pre-made code. For example, you wanna button in that style: http://v4-alpha.getbootstrap.com/components/buttons/ Copy that code and paste into your HTML. Whatever v3 or v4 are the same way. If your learning way is memorizing the code without checking the document each time, then I'd say v3.
Also, what a nightmare would be to look it up every time you need to use a component!
Of course learning it means to learn components by heart, just like you don't look up built-in functions every time when you use a programming language.
Re: Ask HN: Should I learn Bootstrap 3 or 4 at this moment?
#56If you don't plan to support IE9 then by all means use Bootstrap 4. But keep in mind that Bootstrap (or any CSS framework) are not a perfect solution for not learning CSS. Sooner or later you will need to modify bootstrap or create your own styles.
Re: Ask HN: Should I learn Bootstrap 3 or 4 at this moment?
#57Re: Ask HN: Should I learn Bootstrap 3 or 4 at this moment?
#58I've been using Bootstrap 4, since it's already stable and will come out in a few months anyway, so I won't have to upgrade anytime soon.
If you use libraries that depend on Bootstrap, you might want to check compatibility. I was using Bootswatch and the developer didn't upgrade the code to Bootstrap 4 until a few weeks ago. Other than that, I see no reason not to use the latest version.
I'm surprised by all the comments saying that you don't have to learn Bootstrap but you can just look up the components every time you need to use them, suggesting you use Skeleton, or that if you use Bootstrap you don't want to learn/know CSS. Nonsense.
Re: Ask HN: Should I learn Bootstrap 3 or 4 at this moment?
#59You said "learning", so I'd still suggest learning the actual CSS. Of course, when you become a bit comfortable with it, you'd have already learned Bootstrap.
Here is how I'd for;
- Use Bootstrap 4 or even 3 to learn your CSS. Use it, go through the source codes and learn from there. - Keep doing CSS (feel free to try other frameworks too) and you should be on your way.
The analogy I can find is that quite a lot of people "learned" jQuery. Then, they figured out that it is, well, JavaScript. They got intrigued, went backward and learned JavaScript. Many enterprising developers advance and 'learn' other frameworks too.
I used to be in the camp where my take was, "learn the actual raw CSS and JavaScript - that's the way to learn." But my experience dealing with juniors, and new developers is that not everyone can just learn something. In fact, a lot of people do not know how to learn things the right way. They need to first learn to learn new things.
So, take it easy on yourself, start with something you can start off (and produce something you're proud of) and begin learning real CSS in the process.
Well, my team specialize mostly in fixing projects shoved down by developers using Bootstrap, where the enterprises needed to go to market quickly. Once they reach critical bloat-stage, we go in to clean-up, make the sites 10-30 times faster by removing all of Bootstrap and other frameworks and staying really lean (use a minimal framework or a very low footprint one.) We, sometimes, end up developing the "Bootstraps" for these companies.
Re: Ask HN: Should I learn Bootstrap 3 or 4 at this moment?
#60I'll actually answer your question. I've been using Bootstrap 4, since it's already stable and will come out in a few months anyway, so I won't have to upgrade anytime soon. If you use libraries that depend on Bootstrap, you might want to check compatibility. I was using Bootswatch and the developer didn't upgrade the code to Bootstrap 4 until a few weeks ago. Other than that, I see no reason not to use the latest ve…
Upgrading major bootstrap version means changing class names in whole codebase (like the classes for grid system), changing html code for some components which have been updated, and having to remove other components altogether and go with your own sauce because components were removed.
This has been the case for all previous major bumps, and there is no sign of it being any different this time, so better save a migration and go straight with bs-4.