Hacker News new | comments | show | ask | jobs | submit | albemuth's comments login

Anecdotally, I find it amusing when devs bring this up but are fine with blocks of:

    $('<div>').append($(<h1>).text('...')).addClass('...').appendTo($('#selector'));

> Instead they just fine us $2000 for not participating in biometrics.

Mind explaining?

-----


I, and my spouse, must participate in the yearly biometrics screening (i.e. blood test and BMI) or else we are fined $1500 each. By fine I mean a paycheck deduction.

-----


An interesting bit is that the design for the game came from Susan Kare from NeXT [1] and had been on the original Macintosh team.

[1]https://en.wikipedia.org/wiki/Susan_Kare#After_Apple

-----


It's a single component app and state does not change at all, in fact, we should be skeptical of React too, terrible for static HTML.

-----


Yes, why would anyone ever use react for static html? That's not a reason to be skeptical. That's just picking the wrong tool for the job.

-----


> we should be skeptical of React too, terrible for static HTML

It's easy when you use webpack and a static renderer: https://github.com/markdalgleish/static-site-generator-webpa...

-----


For the downvoters, this is satire... I'm not the same poster that was 'skeptical' of react router. I have used both libraries and think they're great at what they're intended for.

-----


Maybe because it's not made for static HTML? Why not just use a templating language?

-----


Well React is a templating language. I assume you mean client-side templating.

-----


No offense, but I see from some of your comments here that you don't understand what React is or why it's different from what came before.

-----


Sorry for my ignorance, but could you help me by explaining why my comment was wrong?

This was in response to

> Why not just use a templating language?

React is a templating language...or maybe more specifically has a templating language, JSX. You can even run it server side. http://reactjs.net/guides/server-side-rendering.html

The problem isn't using React in that situation per se but just that server side templating (React or not) would be a better choice. I assume that's what the commenter meant.

-----


  sufficiently complicated

-----


True Scotsman.

Complexity does not grow in all areas. You could have a 3D MMO which is more complex than 99.9% of websites without routing for example. Static HTML can include 100MB of JavaScript that simulates something.

-----


Seems as viable as relocating them all to Greenland once it's done with its transition to lush tropical forest.

-----


Assuming AGW is the cause--did the islanders not also benefit from the worldwide consumption of fossil fuels: supplies delivered by ship, manufacturing of the supplies themselves, worldwide communications built by an energy intensive civilization, medication and learning fostered by this development? I would pay my share to relocate them, and throw in a 'Sorry about the sea level rise' gift basket, but not anything to maintain a life there.

-----


On a podcast interview, the author of Redux mentions learning about Elm until later, so it's more like "some libraries have converged on similar design principles".

-----


So, that's sort of true, but sort of not. Dan (author of Redux) has said that he read the Elm Architecture document before creating Redux, and didn't fully understand it. But he believes that it did influence the design of Redux.

> JAMISON: So had you played with or heard of ELM beforehand or did you just realize the parallels afterwards?

> DAN: Yeah. There's been this, I'm feeling guilty about it because I had this Twitter exchange with Evan. Evan was a bit uncomfortable with me not mentioning Elm as much as he thought I should. I felt that yeah, he's probably right because I read about Elm a few times before actually creating Redux. I'm not sure if… when you get inspired by something but don't fully understand it and later you kind of reproduce it but you don't really get this connection and you only get it later. So I think that's kind of what happened because I distinctly remember reading about ELM architecture but I was thrown out by the syntax, so I didn't fully understand what's going on there. Later after some initial iterations of Redux, Andrew Clark actually showed me how it's similar to Elm if we changed some things. We did change them.

> Yes, I have not actually played with Elm yet. I've seen other people playing with it. I've seen some demos but I have not actually played with it myself. I really want to but I'm stuck in maintaining and GitHub issues and I can't find the time. I don't know. Maybe I'm just afraid it's going to be so awesome that I'll just try the JavaScript development.

Source: https://devchat.tv/js-jabber/179-jsj-redux-and-react-with-da...

-----


Isn't the feel of working with Python all about inheritance?

-----


Duck typing is far more important.

-----


Yes it has been done and to a greater extent than your dismissive comment. It still doesn't detract from the noteworthiness of the OP.

-----


I don't think it was dismissive at all. When a post rises to the front page of HN people are going to post comments both agreeing or disagreeing. In my case, I don't see what all the hoopla was about or how this was upvoted to page 1

-----


A stunned or half dead beaver woudln't have made the cut I think

-----

More

Applications are open for YC Summer 2016

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact

Search: