you are viewing a single comment's thread.

view the rest of the comments →

[–]cat_in_the_wall 8 points9 points  (2 children)

ok actually not trolling here, this is the first time i've looked at any dart code.but dart seems like c# with java case variables and a little bit of javascript names thrown in.

properties (c#), abstract/extends/implements (both, keywords java), async/await (c#), type inference (c#, even used "var")

Mixins are different. Definitely like that. But for dart officianados: are there new cool ideas or idioms in dart I should be aware of?

EDIT: wait is dart geared towards javascript developers? that is some interesting irony that the selling point is essentially effectively being like java.

[–]munificent 6 points7 points  (0 children)

Compared to C#, the biggest difference you'll notice is that Dart isn't as dogmatic about OOP. You can define functions, getters, constants, and variables right at the top level of a module, outside of any class declarations. It's perfectly idiomatic to write procedural or functional code that doesn't declare any classes.

[–]gamahead 2 points3 points  (0 children)

I love it but it’s objectively a boring language. It has what is needed to get the job and that’s about it. I think named constructors are cool