HNHacker News
TopNewBestAskShowJobs

kensign

17 karma · joined November 19, 2015

submissionscomments
kensign··on Agile Is Dead, Long Live Continuous Delivery
Exactly, every 2 weeks, sometimes less, we consistently release what has been accomplished in a sprint. This "blogger" is talking out of his ass. Like always, declarations like this stir the anti-agile rage pot. It's getting more and more laughable as the years go on.
kensign··on What is wrong with “A successful Git branching model”?
GitFlow, when used correctly with Agile, solves all these problems quite well.
kensign··on Why We Moved to React
What I meant by the difference between the HTML in an Aurelia template and JSX is that the React component's markup has to be inside the its respective controller's render() method. That's the main issue.

I am not arguing about JSX syntax, but rather the principle behind it. How would I safely refactor a css class across hundreds of components in a safe way and not by find/replace? An IDE such as WebStorm actually tracks CSS classes by their reference in other HTML/CSS files and this includes CSS preprocessors. I know it's a safe bet to run the renaming, although I always preview the changes beforehand.

I'm a reasonable developer, but this is an anti-pattern that has been eschewed voraciously over the years. Your appeal to the intelligence of React's devs is an informal fallacy and doesn't change this fact.

I am not trying to be dogmatic here. Yes, breaking the 'rules' when it is warranted is perfectly fine. My argument here is that in this case, this anti-pattern isn't warranted and will be very expensive work with as the product grows. I am advocating standards and best practices. React sidesteps both for an unnecessary reason. It works, it's pretty awesome how fast it is, but it cannot scale with a product's lifecycle.

Web components keep the HTML in the DOM and are being officially adopted as a standard. They can be polyfilled with a lib from http://webcomponents.org/. Aurelia, although it is a framework, is extremely lightweight and greatly simplifies the use of web components. Polymer isn't as elegant, but it clearly demonstrates the idea of dynamic reuse. There are other alternative libs as well.

As an aside, ES6 is now standard and with Babel. Javascript is now closer to ECMA, as it was intended to be.

I think I've made my argument as clear as I can, thank you for a great (and polite) discussion. It has actually been helpful for me to voice my opinion and get a better understanding of the support behind React. Again, it's impressive how fast it is over other libs such as jQuery, but jQuery's always been bloated and is near the end of its usefulness. However that point doesn't detract from the very cool things that React can do in the right hands. I wish I could bet on it, but to me it's the wrong horse in the race.

kensign··on Why We Moved to React
The JSX is not the same as it is encapsulated in the render() method withing the JS file. This is the whole point of why this implementation is not a separation of concerns. The view is essentially embedded in the controller in order to simplify how a controller passes scope to the view.

This isn't the first time people have fallen prey to embedding HTML as a string into JS to write the DOM. 5/10/15 years ago, if we saw this, devs would just shake our heads. If anything React is an old hack, an anti-pattern brought forward again.

I misspoke about views in business logic, as you said, it is the controller logic, which should be decoupled from the view itself as well. The naive example of converting a webcomponent to a JSX component may look similar, but more complex components will only require greater complexity for the render() method to handle.

I understand your rationalization, but the crux of the arguments here are concerned with the anti-pattern React introduces and why developers who've come across this before have seen this as technical debt. The arguments for React are a matter of opinion, wherein the arguments against it are based on the practical principles for programming UIs, principles have been forged to be tried and true since the 70's.

I personally favor standards, such as webcomponents and OO programming for modules. I understand that this may not seem popular at this point and time, but 20 years of dev experience has taught me otherwise.

kensign··on Why We Moved to React
No matter how I try to accept it, it is a really bad idea to embed views into business logic. You have no clear separation of concerns and this can create a lot of headaches as the sophistication of the application grows. Instacart is a great product, but it has a lot of room to grow still. What happens when you get into some deeper aspects of UX? I presume you do your own UX research and these highly segmented views are going to be a pain to manage.

You'll also need to worry about how you run BDD tests for specifications and scenarios. How can this be achieved in React as you write test suites for user stories and non-UI acceptance tests? How will this impact your continuous delivery/integration systems as well? You'll have to rewrite all your test suites into Jest, right?

There are architectural trade-offs for sure. Can you definitely say you've performed a thorough analysis before making this decision? There's a difference between having a clear strategy to move from one tech to another and knowing that the migration will not just bury you into a deeper whole than the one you think you're escaping.

http://aurelia.io/ is based on webcomponents (MVVM), ES6, and current web standards. It's amazingly simple and good architects can use their own structural patterns to create code that can actually scale with the product. DDD and BDD methodologies mesh perfectly into the development workflow, especially with Agile product development.

I wish you well, but I really think React is a short sell with dire consequences.

kensign··on Why I No Longer Use MVC Frameworks
http://aurelia.io
kensign··on Awesome Web Development Tools and Resources
Well Karma uses Jasmine and Protractor uses Selenium. Protractor can be used beyond Angular too. Good point about about Nexus, I forgot about any code repos altogether, Bitbucket is private, free and awesome. I am seeing more use of JSPM too.

Honorable mention for sophisticated animations: http://greensock.com/

And then there's the missing mentions about the plethora of mobile app bootstraps such as phonegap.

As complex as the frontend has become, C++ development requires a much more sophisticated set of skills and use of frameworks IMO. I do like that frontend work can require some decent engineering chops now, although it shrinks the talent pool considerably, for the present time at least. I personally look forward to the day jQuery DIAF now that much of the DOM API is standardized. Although it is extremely useful, it's a tight coupling that I'd rather do without.

kensign··on Awesome Web Development Tools and Resources
http://aurelia.io/

https://babeljs.io/

https://www.polymer-project.org/1.0/

https://karma-runner.github.io/0.13/index.html

http://www.protractortest.org/

https://cucumber.io/

http://es6-features.org/

http://webcomponents.org/

https://www.jetbrains.com/ [the most amazing IDEs]

kensign··on Choose design over architecture
Software Architecture is the complete system, including the hardware and protocols. The complete system of an airplane is a software architecture.

It is very scary how naive and misinformed this article is coming from a .gov site. Given the misuse of terms and purely ridiculous suggestions, I wouldn't even show this to grade schooler.

http://disi.unal.edu.co/dacursci/sistemasycomputacion/docs/S...

kensign··on Comcast injects JavaScript into webpages to show copyright notices to customers
such total shit
← PreviousPage 2 of 2