Hi HN, This is my side-project that I've been working on for a while. It would mean a great deal if you'd give me some feedback.
I can't see how the compiled code for Type is supposed to work? If you deference a JS function from an object, you lose the context of `this`. So in Ruby.prototype.cut = function () { this.shape(); this.polish(); }; var old = Ruby.prototype.cut; Ruby.prototype.cut = function () { old(); this.engrave(); }; `Ruby.prototype.cut` will be called with `window` as `this`, so `this.shape` will be undefined. Use `old.call(thi…
Show HN: DubJS: A New Way to Build Web Apps
21–24 of 24 posts
Re: Show HN: DubJS: A New Way to Build Web Apps
#22But they continue to exist because there are countless businesses demanding customized software for cheap. My thought is that a tool like this could very well be a welcome addition to the marketplace if it lowered the bar to entry of building web apps by a not-insignificant margin.
As long as DubJS isn't viewed as an effort to replace standard web app development, but merely another way for getting from A to Z that some developers find useful, I think it has a lot of promise!
Re: Show HN: DubJS: A New Way to Build Web Apps
#23Earlier quoted context omitted.
Thanks for your honest feedback. Would you mind explaining what you mean by "the lack of opinionated language design infers on code"? Are you referring to the fact that it's not specialised for either layout or presentation?
No. Javascript is just a general purpose language. It could very well serve as a DSL for layout or presentation. But the browsers already have that, it's called HTML and CSS. What I'm referring to is Javascript syntax. It's way too ambiguous which often leeds to programming errors. For instance: the global variables gaffe, the scope mess, the sloppy prototypal implementation, etc. Hiding that behind a compiler doesn'…
Re: Show HN: DubJS: A New Way to Build Web Apps
#24As long as it doesn't become abandonware, I could certainly see this serving a niche segment of developers. There continues to exist a surprisingly large number of RAD tools on the market despite many having innate limitations that drastically limit their scope and applicability. But they continue to exist because there are countless businesses demanding customized software for cheap. My thought is that a tool like t…
Thanks for your kind words.