React.js koans(github.com) |
React.js koans(github.com) |
These are not the koans I was looking for.
Hmmm.... googling around, there seems to be a lot of recent "programming koans" that are actually collections of rote exercises rather than lessons in zen enlightenment. Frustrating...
It looks like what happened was that a while back, someone made a very nice set of exercises each presented as a koan and a failing unit test to "meditate upon". Imitators then watered that down to exercises presented as failing unit tests to "meditate upon". Which was later watered down to just exercises...
For a classic example of an actual programming koan, I can only refer to the archive of Doug Bagely's "Functional Programming Koans, in OCaml" http://web.archive.org/web/20041012103936/http://www.bagley.... and, the old favorite teaching the relationship between objects and closures http://people.csail.mit.edu/gregs/ll1-discuss-archive-html/m...
The concept of 'koan' is far too unique and beautiful to be watered down.
> Which was later watered down to just exercises...
What if the word "koan" were understood to mean "excercise"?Although apparently the word is misused a lot: http://www.lauradhamilton.com/learn-a-new-programming-langua...
Not sure if this is a fight we can still win.
Looking forward to trying this tutorial right now.
If you have more detailed error information, I would be glad if you put them into the comments.
edit: changed to plural.
React's "rerender the world" approach is _much_ easier to reason about.
Without virtual DOM considerations on the line, after about a week of it it's very intuitive. The whole component lifecycle thing seems overkill until you realize you have full control over the components. Things are a little trickier if you have to use it as I do (with jQuery), but even then, your biggest hurdle is understanding props vs state -- once that's cleared up, the sky's the limit.
This is my first serious app so I'm new to a lot of the backend architecture options. I have no experience with Devops so I was thinking about creating the first version with a parse backend then moving to a docker container on AWS when it would start saving me some money.
I guess the question I would put out to Hacker News is how would you suggest I estimate the technical debt this would shoulder me with later on and would it be better to integrate with AWS now? I have a small amount of funding, about 2500$ and 100% free time before I go back to college this September.
The reason he was really into React was how it just deals with the views so you have the flexibility to combine it with other libraries to get what you need and you're not locked into a full framework like AngularJS.
I've been getting into Angular recently, but this really opened my eyes to how powerful React is.