Live data from Hacker News

React.js koans

github.com

21–30 of 34 posts

Re: React.js koans

#21
post #6

Earlier quoted context omitted.

I decided to move from learning Angular+Ionic last night to going with React.js+React Native and found this good dump of information from Github https://github.com/enaqx/awesome-react Looking forward to trying this tutorial right now.

Just curious, why did you make the change? I've been building apps in Angular and Ionic for a bit now and haven't played with React yet.

Personally, I just feel stupid every time I try to do anything in Angular... None of it works the way I expect it to, and I can't get the point where I feel like I actually understand what's going on.

React's "rerender the world" approach is _much_ easier to reason about.

Re: React.js koans

#22
post #7

I was expecting something very different from the word "koans". IMO, "React.js exercises" would be a better title for the project.

I believe the word they were looking for is https://en.wikipedia.org/wiki/Kata 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 u…

I think you're right in the confusion of koan and kata, but unfortunately yes, I have seen a lot of that happening lately (perhaps due to greater awareness of the word from recent popularity of CodeWars[0]?). Interestingly I've only seen this mistake in this direction, I have not seen any koans mislabeled as kata.

[0] http://www.codewars.com/about

Re: React.js koans

#23
post #6

Earlier quoted context omitted.

I decided to move from learning Angular+Ionic last night to going with React.js+React Native and found this good dump of information from Github https://github.com/enaqx/awesome-react Looking forward to trying this tutorial right now.

Just curious, why did you make the change? I've been building apps in Angular and Ionic for a bit now and haven't played with React yet.

I just took a ReactJs workshop last week and was really impressed with how easy it was to use. The guy that was giving the workshop (Henrik Joretag) used it with AmersandJS and Webpack. He was also using a lot of the new ES6 syntax which was really cool.

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.

Re: React.js koans

#24
post #7

I was expecting something very different from the word "koans". IMO, "React.js exercises" would be a better title for the project.

Same.

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.

Re: React.js koans

#25
post #13

I haven't had a chance to try React.js koans yet, but recently completed a tutorial in the same vein, a "workershopper", from nodeschool.io: https://github.com/tako-black/learnyoureact . As a React.js noob, I found it to be a helpful introduction.

Yeah this nodeschool lesson on react is pretty good if you are just getting your feet wet.

Re: React.js koans

#26
post #7

I was expecting something very different from the word "koans". IMO, "React.js exercises" would be a better title for the project.

I believe the word they were looking for is https://en.wikipedia.org/wiki/Kata 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 u…

  > Which was later watered down to just exercises...
What if the word "koan" were understood to mean "excercise"?

Re: React.js koans

#27
post #19

I was expecting something about a monk who had to report to two masters at the same time; but as he reported, the state changed, so they were never synced. These are not the koans I was looking for.

I think you have this mixed-up with the story where a react developer updates 1 component on the first render, 2 components on the second, 4 components on the third, 8 on the fourth, and so on, until he's rendered a whole chess board.

Re: React.js koans

#28
post #26

Earlier quoted context omitted.

I believe the word they were looking for is https://en.wikipedia.org/wiki/Kata 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 u…

> Which was later watered down to just exercises... What if the word "koan" were understood to mean "excercise"?

That's the problem. Someone made a nice set of "programming koans" that were (koans + exercises). But, that has spawned new "programming koans" that are just a set of (exercises) with no koans. Koans are supposed to involve practice [0]. But, does practicing a set of (koans + exercises - koans) have koan-nature? ;)

[0] https://en.wikipedia.org/wiki/K%C5%8Dan

Post reply on HN