9 ms·
Dart is easily my favorite programing language. It's the best parts of C# plus real dynamics. The Flutter ecosystem is already above and ahead of React Native
by offtop5 6y ago
Dart is easily my favorite programing language.
It's the best parts of C# plus real dynamics. The Flutter ecosystem is already above and ahead of React Native , a big part of it is it doesn't have the baggage of npm, Babel and JavaScript.
For a friend's side project I've been using Flutter Web and I couldn't be happier with it
- manuelaljibes 6y agoNot to mention that it's actually cross-platform, you don't have to deal with random quirks as shadow*/elevation in RN
- yagodragon 6y agoCouldn't agree more. For me Dart is basically a better version of js + java. Flutter is also the greatest GUI framework right now and their tooling is excellent. Every time i'm working on a flutter project i feel at home because i can be sure everything is gonna work out of the box. I only care about my code and nothing more.
- jimbob45 6y agoAgreed. I’ve wondered why it hasn’t caught on. Implicit interfaces for every declared class is a genius idea.
- mixmastamyk 6y agoAnyone know of a dart library for bittorrent? I've been looking for one but haven't found one yet.
- malkia 6y agoI don't know really, but you can search it on pub.dev - https://pub.dev/packages?q=torrent https://pub.dev/packages?q=torrent
- ZeroCool2u 6y agoAbsolutely. Sound null safety is very exciting too! Using Dart/Flutter client side with sound null safety and then a few backend API's in Rust, would likely prove to be an extremely reliable system.
- haolez 6y agoIt's unfortunate that the web mode uses a canvas and won't work with native browser accessibility stuff. That was the show stopper for me last time I've tried it.
- yjbanov 6y ago(disclaimer: I work on Flutter Web) We actually use plain standard HTML and ARIA attributes for accessibility. If you don't see them, try enabling a screen reader (e.g. TalkBack on Android, VoiceOver on iOS/macOS), then you'll be able to enable accessibility in the app. If you are having problems with a11y, please file a github issue. A11y is very important to us.
- novok 6y agoHow about stuff like being able to select text in the UI? I tried a couple apps in https://gallery.flutter.dev/#/ https://gallery.flutter.dev/#/ and none of the text was selectable like in web and desktop interfaces
- leppr 6y agoProper links and mapping of navigation to browser history are also important for any content-focused webapp. Keyboard navigation is incomplete too (some elements like dropdowns).
- yjbanov 6y agoI hear you. There's a link widget coming, multiple browser history models (we've only supported URL fragments, but are adding pushState, and custom URL strategies, as well as navigation API improvements). Keyboard navigation is being actively improved. Bug reports are always welcome: https://github.com/flutter/flutter/issues/new/choose https://github.com/flutter/flutter/issues/new/choose
- redbrogdon 6y agoFlutter's Text widget (which is generally the default for most devs when displaying text) doesn't allow for text selection. There's a SelectableText widget that does, though: https://api.flutter.dev/flutter/material/SelectableText-class.html https://api.flutter.dev/flutter/material/SelectableText-clas...
- caditinpiscinam 6y agoMine too. It does gradual typing better than any other language I've tried.
- SV_BubbleTime 6y agoI think this means sometimes static sometimes dynamic. but can you explain some use cases for this? I am strongly in favor of static, coming from C.
- scns 6y agoIf you want to convert your data to JSON you put it into a Map<String, Dynamic>.
- mhoad 6y agoEverything is static by default unless you explicitly opt to declare a variable as dynamic for specific use cases. Also worth noting that Dart now also includes fully sound null safety https://dart.dev/null-safety https://dart.dev/null-safety
- caditinpiscinam 6y agoA perfect static type checker would distinguish between valid and invalid programs in all cases. In practice, static type checkers are conservative and occasionally reject valid programs. Gradual typing gives you a way out in these situations -- just like how macros in C can provide type-generic functionality. A sufficiently rich type system (with tuples, union types, traits, generics, higher-kinded types, etc) can lessen the need for a dynamic escape hatch. In the end though, the occasional use of dynamic typing can be easier to reason about.
- SV_BubbleTime 6y agoI took a gamble selecting Flutter overreact for an outsourced app. I basically didn’t know anything about either, but it landed on flutter because at sea developers that looked a lot more familiar to us. I’m delighted that people who seem to know what they’re talking about also continue to like it.