home.social

#clojuredart — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #clojuredart, aggregated by home.social.

fetched live
  1. ClojureDartで自前でwidget作ろうとするときの注意点

    やりたかったことは多言語対応の一環だった。flutter_localizationsの生成コードでBuildContextからAppLocalizationは取得できるが、それと別にOSの言語設定を監視したかった。そのために他のウィジェットを? むだけのものを用意して、ミドルウェア的な挙動でOSの言語設定をアプリのDBに保管したかった。でもなぜかそれを適応すると、今度はgo_routerのStatefulShellRouteを使った遷移が機能しなくなってしまった。 […]

    blog.valerauko.net/2024/12/09/

  2. Some kind of "caniuse dot com style" library usability comparison between Clojure dialects would be nice. When writing Clojure and selecting new libraries, I keep checking Toolbox site (babashka.org/toolbox/) and prefer to select tools that would support BB. Also tempted to possibly use and/or in some future project which could ideally share some common libraries.

  3. @[email protected] Yes, I did note that the are only compatible-ish.

    has this problem also with eg. multimethods missing that are in use in many Clojure libraries.

    Wondering if it would it be reasonable to use a common subset of syntax between them and write some wrapper layer over web tools on different dialects. Eg. what would it require to write code compatible between phel-router and ruuter? Both are great projects.

  4. @vruz @zardoz03

    totally, minimalism at the language level enables innovation at the compiler level, and thus a rock solid infrastructure that does "one thing and does it well" ((cross)compiles a sufficiently expressive imperative language to lean fast static binaries). but if thats the reason to its success, then why isn't #chez just as successful? the obvious answer is that #go is backed by google, but so is #dart, which is successful soley due to flutter, and doesn't seem to really be adored anywhere, so it seems unsuccessful at the fandom level.

    because like, what the hell is even going on there. it's a feature pile that most of its users seem to find annoying (including me, as I'm currently using it at work), but it has a powerful compiler infrastructure with native rendering capabilities that you can't find anywhere else. for this reason, I imagine projects targetting dart like #ClojureDart will start to take off, and dart will increasingly be a platform to target, similar to other successful JVM languages like clj & #kotlin (which is Google's official "first order" recommendation for Android dev today).

    so I do think that go's success, as a language that its community really loves using, isnt just the solid infrastucture. I think its that it holistically captures a refined vision of the #unix philosophy that has includes insight from the longue duree of the innovations of plan9

  5. My rainy day’s activity was to write a demo counter Flutter app in . Took just 30 lines of code.

  6. Interesting approach is to write apps.