Live data from Hacker News

Dart/Flutter now has macros/metaprogramming

github.com

11–20 of 129 posts

Re: Dart/Flutter now has macros/metaprogramming

#12

to anyone that has not used it, dart is an excellent language * instant compilation * amazing tooling * null safety * typed I could go on.

I'm not really sure where it slots in in a world with a lot of programming language choices. Why would I use it over something like Rust, Go, or even JavaScript?

Re: Dart/Flutter now has macros/metaprogramming

#13

to anyone that has not used it, dart is an excellent language * instant compilation * amazing tooling * null safety * typed I could go on.

I'm not really sure where it slots in in a world with a lot of programming language choices. Why would I use it over something like Rust, Go, or even JavaScript?

Come for the Flutter, stay for the extras.

Re: Dart/Flutter now has macros/metaprogramming

#14

Earlier quoted context omitted.

I'm not really sure where it slots in in a world with a lot of programming language choices. Why would I use it over something like Rust, Go, or even JavaScript?

Come for the Flutter, stay for the extras.

Exactly. I use it for a full stack mobile app development. Backend and frontend can share code. Server can be compiled to a single machine code binary.

Re: Dart/Flutter now has macros/metaprogramming

#15
I hope Dart gets more support, I really want alternatives to TypeScript for developing webapps which aren't super "bulky" (slow startup, buggy and hard to debug) and support mobile apps. Dart seems to be the best at both although I haven't used it much. It also seems reasonable (one of the reasons I don't like TypeScript is because it still has some quirks from JavaScript like `===`, also because the types are occasionally wrong even in strict mode).

Re: Dart/Flutter now has macros/metaprogramming

#16

to anyone that has not used it, dart is an excellent language * instant compilation * amazing tooling * null safety * typed I could go on.

I'm not really sure where it slots in in a world with a lot of programming language choices. Why would I use it over something like Rust, Go, or even JavaScript?

I mainly just trust Bob Nystrom (https://news.ycombinator.com/user?id=munificent) to keep this thing on the rails. He's an excellent language designer.

Re: Dart/Flutter now has macros/metaprogramming

#19

to anyone that has not used it, dart is an excellent language * instant compilation * amazing tooling * null safety * typed I could go on.

I'm not really sure where it slots in in a world with a lot of programming language choices. Why would I use it over something like Rust, Go, or even JavaScript?

> Rust

Dart has a GC.

> Go

Dart has exceptions.

> JavaScript

Dart is statically typed.

---

Plus....Dart has a first-class mobile story, unlike Rust + Go.

---

Hope that helps!

Post reply on HN