News for hackers. Stuff that matters.
Re:Introducing Ampersand.js by spankalee on Thursday June 26, 2014 @12:22PM (#7950357)
When I read something like this:

"One of the problems we’ve had at &yet especially when working on large Backbone applications is a sane way to document the type of properties a model is supposed to contain.

Backbone models, by default, don’t enforce any structure. You don’t have to declare anywhere what properties you’re going to store. As a result, people inevitably start saving miscellaneous properties on models from within a view somewhere, and there’s no good way for a new dev starting in on the project to be able to read the models and see exactly what state is being tracked."

I really wish more people would try Dart. Maintaining structure, declaring types, readability... these things can be solved at the language level.

Re:Introducing Ampersand.js by johnzabroski on Thursday June 26, 2014 @05:00PM (#7951551)
Dart, TypeScript, or any other similar strongly typed language that compiles down to JavaScript while still looking quite a bit like JavaScript.
Re:Introducing Ampersand.js by thekaleb on Friday June 27, 2014 @04:36PM (#7956179)
Or even Google Closure JavaScript.
Re:Introducing Ampersand.js by dzenanr on Friday June 27, 2014 @11:43AM (#7954477)
I think that the best investment today for any Web developer is to start learning Dart. Why?

As a developer and a university professor, for the first time in my long career, I can do the following with Dart:

I can use Dart both on the client and on the server;

I can apply both object-oriented and functional way of programming;

I can develop in Dart and deploy applications in JavaScript;

I can be a productive developer with many Dart tools and libraries, and get a very good performance in either Dart applications or their JavaScript versions;

I can start developing a prototype without data types and introduce them when I need to convert the prototype to a deployable application;

I can use Dart for both synchronous and asynchronous programming;

I can use many publicly available packages and reuse their libraries;

I can be a web engineer on the client-side and a software engineer on the server-side, with the same language and many reusable libraries.

Re:Introducing Ampersand.js by protoman22 on Thursday June 26, 2014 @04:03PM (#7951360)
This. Started recently a small project in Dart, was a breath of fresh air.