5 ms·
To 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
by KayL 10y ago
To 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/ 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.
- nkkollaw 10y agoCopying and pasting wouldn't work, because many times you need to customize things. 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.
- KayL 10y agoIs it just me? I don't recite the built-in functions (intentionally) before I code. I will look into doc when I want to find a shortcut. It's very efficiently. Take Bootstrap as an example, I open the following doc: http://v4-alpha.getbootstrap.com/components/alerts/ http://v4-alpha.getbootstrap.com/components/alerts/ If I want a Modal, I will check Modal doc (accurately, I jump to CODE PATTERN and copy it, not starting to read doc explanation.) and use it. After few times, you will memorize the basic by heart. (understands the basic, then you can create your snippets or something. Myself, I still open the doc to see the visual examples. Anyway, I coded with a lot of frameworks in different projects at the same time, not just bound to Bootstrap. You need to find your best workflow yourself) EDITED: "customize things" seems not suitable to the questioner at the moment. If he understands basic CSS, he may not ask this question. :)
- nkkollaw 10y agoI don't know if it's just you, but if I had to do that I would take about 10 times a long as I take right now to build something. It's much easier to memorize them in my opinion.
- KayL 10y agoWhat things do you actual memorize? All structures code and classes and JS methods & events?
- nkkollaw 10y agoYup. All of that, so that I can code a component from scratch without looking at the docs. It also comes from practice, if you use Bootstrap often you'll just memorize the components after a while.
- afarrell 10y agoWhat methods of memorization do you use? As a backend dev moving from python to ruby, I've been thinking of explicitly sitting down and learning-by-rote a lot of the standard library just so that I could move faster and feel less scattered. Do you make flashcards?