News for hackers. Stuff that matters.
Re:Comparison with Other Frameworks by mythz on Saturday October 22, 2016 @06:03AM (#12768081)
Spaghetti code refers to poor coupling not cohesive encapsulation or being able to build complex smart views which can easily be refactored using native programming language constructs. I'd much prefer having a single powerful language for everything instead of forced artificial friction on having to spread your component over multiple DSLs.
Re:Comparison with Other Frameworks by vladimir-y on Saturday October 22, 2016 @10:21AM (#12768786)
> being able to build complex smart views which can easily be refactored using native programming language constructs

For the record, JavaScript can not be easily refactored, since it's a scripting language with no strong types and no compilation phase, so to conduct a complex refactoring you will have to load all code base in you head and that's far from being easily. TypeScript for example is another matter.

Re:Comparison with Other Frameworks by im_down_w_otp on Saturday October 22, 2016 @02:23PM (#12769885)
That's what regression tests are for.

Also, no amount of compiling or strong typing is a sufficient alternative to regression testing when it comes to refactoring.

Re:Comparison with Other Frameworks by vladimir-y on Saturday October 22, 2016 @06:14PM (#12770812)
> That's what regression tests are for.

Don't loose the point, I was written about another thing, not about tests. Every time when fanboys of functional programming (and scripting) are trying to argue that functional programming is a silver bullet they do write about tests, it's not an argument, tests are exists for any kind code no matter the code nature. Tests won't help you a lot with code analyzing, automatic refactoring and tracking down from where things came (coupling). In case of scripting (and functional programming) you will have to load all the code base in you head and only then you will be able to make some architectural decisions or perform a complex refactoring. Tests just help you to not break the system logic doing refactoring, that's it.

> Also, no amount of compiling or strong typing is a sufficient alternative to regression testing when it comes to refactoring.

No one was saying that compiling or strong typing is alternative to regression testing, don't know where you have got that idea.

Re:Comparison with Other Frameworks by paulddraper on Sunday October 23, 2016 @02:32PM (#12774739)
Regression tests can automate refactoring steps???