News for hackers. Stuff that matters.
Re:Dart/Flutter now has macros/metaprogramming by chipweinberger on Saturday February 03, 2024 @02:38AM (#39238262)
I've never understood why people need to use libraries to "manage state", i.e. store variables.

I've written a lot of code in many languages. C, C++, Obj-C. Why does Dart need state management libraries?

None of my Flutter code uses "state management", and I've never felt the need for it, ever.

I think people are just too afraid to use static variables (globals) when necessary.

There are no comments on this comment yet.