4 ms·
>Why is it so hard to perform a relative import I've lost many hours trying to get relative imports to work. It might be the one thing about Python I absolutel
by 41209 5y ago
>Why is it so hard to perform a relative import
I've lost many hours trying to get relative imports to work. It might be the one thing about Python I absolutely hate.
But Node doesn't do this well either, maybe it's just the nature of dynamically typed languages. The two programming languages I enjoy the most would probably be C# and Dart / Flutter. Having types, like real types is essential when projects scale. However I only get to enjoy these programming languages in my spare time.
Personally I think Dart is everything I could ever want in a language. Being able to use types when I need to, and the freedom to use Dynamics when I just don't feel like creating a new class. If you haven't tried Dart yet it's like Java's younger sibling who's easier to get along with.
- nickosmark 5y agoDart strikes a perfect balance between dynamic and strongly typed languages. Dart is better than JS, typescript and java combined. It has a great VM that makes development easy, an AOT compiler that generates native binaries like Go, and can also compile to Js just like typescript. The language is familiar, easy to learn and the type system is very powerful, sound and non-nullable. Dart SDK includes everything you might need: standard library, code formatter, linter, static analysis, JIT and AOT compiler, package manager, dev tools etc. Right now Dart found its niche in Flutter(which is great imo), but I wish there was a backend framework like Django or rails that would leverage this amazing language.
- 41209 5y agoFlutter web is amazing. I have the opportunity to build a side project with it last year, and I just love it. Compared to trying to build web applications with React or Vue, Flutter doesn't have to deal with the baggage of the JavaScript ecosystem. Here's a server side Dart framework https://aqueduct.io/ https://aqueduct.io/ Not sure how mature it is, but if I ever have a need to build another backend server I'll try it. I tend to prefer managed solutions now like Google's Firebase, which integrates so well with Flutter ( obviously because Google has a vested interest in you using their services)
- camel_Snake 5y agothis looked neat, but FYI seems to have been discontinued. https://stablekernel.com/article/announcing-the-sunsetting-of-aqueduct-our-open-source-server-side-framework-in-googles-dart/ https://stablekernel.com/article/announcing-the-sunsetting-o...
- 41209 5y agoRather unfortunate, but if you really want you can fork it. I spent a bit of time looking for another project, but it looks like they're just isn't a whole lot of movement on this