interfluidity · @interfluidity
1990 followers · 320 posts · Server econtwitter.net

#zio #scala #scala3 #rss

Last updated 1 year ago

Thilo · @thilo
14 followers · 236 posts · Server mastodontech.de

I guess I just called Scala 2.13 the „current “. Telling mistake. Sorry about that. Does feel odd/inaccurate to call it „legacy“ at this time. That will be a good day, though. We‘ll get there. ❤️

#scala #scala3

Last updated 1 year ago

Thilo · @thilo
14 followers · 236 posts · Server mastodontech.de

I like the type class derivation feature/syntax. With current each library can provide macros to generate the same thing, but a) you have to know the name of each macro and b) there is some boilerplate to invoke it.

Things like Copilot are getting good at writing that boilerplate for you, but I stand by my take back from the Ruby-on-Rails project generator days: It is so much better (including maintainability) if that boilerplate did not even exist in the first place.

#scala3 #scala

Last updated 1 year ago

PolitMatch · @politmatchmc
2 followers · 3 posts · Server lor.sh


оператор + 4 часа сна МОМЕНТ:

#politmatchdev #scala #scala3

Last updated 1 year ago

Alex Nedelcu ☕️ · @alexelcu
911 followers · 1016 posts · Server social.alexn.org
Alex Nedelcu ☕️ · @alexelcu
909 followers · 986 posts · Server social.alexn.org

Unless you `import scala.language.strictEquality`, use of `CanEqual` isn't mandated by default.

However, once you implement a `CanEqual` for a type, its use is mandatory. See screenshots.

#scala3

Last updated 1 year ago

Alex Nedelcu ☕️ · @alexelcu
909 followers · 986 posts · Server social.alexn.org
Steve Randy Waldman · @interfluidity
1782 followers · 1945 posts · Server fosstodon.org

i've seen so much pessimism this week.

but it remains such a beautiful, fun language. i really enjoy it's true there are some real tooling hassles (please give me a good emacs mode). you lose time. but you can express things so cleanly and concisely.

there are tensions between what "industry" wants and an impulse to experiment. a lot of us were drawn to scala because it challenges us, keeps us learning. it never wanted to be . i don't think it should try now.

#scala #scala3 #golang

Last updated 1 year ago

Allyson · @allyalexandrou
0 followers · 1 posts · Server discuss.systems

👋 If you are interested in Scala, I highly suggest looking at Scala Days, the leading Scala conference in the US and Europe. There's a great lineup of speakers and an exclusive training course hosted in the heart of Seattle on June 4-7.

Visit our website at scaladays.org/seattle-2023/

And claim 15% off of the ticket price by using the code DISCUSS-MASTODON at checkout.

#scala #scaladays #conference #seattle #workshop #scala3 #scalanews

Last updated 1 year ago

Ross A. Baker · @ross
758 followers · 560 posts · Server social.rossabaker.com

```
// It recognizes this *: as a Tuple2
(1 *: 2 *: EmptyTuple): Tuple2[_, _]

// But then why not also a Product2?
(1 *: 2 *: EmptyTuple): Product2[_, _]
```

scastie.scala-lang.org/eRT8upc

#scala #scala3

Last updated 1 year ago

Anthony Accioly · @anthony
13 followers · 204 posts · Server mastodon.accioly.dev

Scala 3 Opaque type aliases (docs.scala-lang.org/scala3/ref) are awesome.

Opaque type aliases are powerful, and, IMO, much more intuitive than value classes: - No unintended autoboxing, no surprising limitations. It just works!

As a DDD enthusiast and a huge fan of strong domain models with proper Value Objects I really welcome opaque type aliases.

Kotlin folks. Any chance that we can get opaque value types?

#scala #scala3

Last updated 1 year ago

SalarRahmanian :scala: :nixos: · @softinio
341 followers · 770 posts · Server fosstodon.org

@alexelcu indeed! Heard a lot of good things about the previous edition.

Looking forward to reading it and start playing with 😄 :scala:

#scala3

Last updated 2 years ago

Thilo · @thilo
5 followers · 117 posts · Server mastodontech.de

New labelled, scope-crossing break mechanism in 3.3 that can be used by library authors to build their own checked error channel systems. 🤔 t.co/IE1wi6nm91 / twitter.com/Kordyjan/status/16

#scala #scala3

Last updated 2 years ago

SalarRahmanian :scala: :nixos: · @softinio
340 followers · 768 posts · Server fosstodon.org

Look what arrived in time for a rainy weekend 🎉

#scala #scala3

Last updated 2 years ago

Having a lot of fun writing some ZIO code. Made a method extension to measure the effect execution time and played with some error handling as well.
Also the community in ZIO Discord is fantastic.

#zio #scala #scala3

Last updated 2 years ago

Babis Routis · @routis
9 followers · 50 posts · Server fosstodon.org

If you haven't done so, check Iron library: iltotore.github.io/iron/docs/i

Iron implements in an elegant and rather simple way Refined types for Scala 3 :scala:.

In addition, integrates with ZIO prelude, ZIO Json, Cats, Circe & Jsoniter

#scala3 #scala #zio #circe #jsoniter #cats

Last updated 2 years ago

Steve Randy Waldman · @interfluidity
1487 followers · 871 posts · Server fosstodon.org

since it's a back to the future moment — hurrah! let's do-over the future the path we've been on sucks — here's a little Scala 3 RSS generation library github.com/swaldman/audiofluid

#scala #scala3

Last updated 2 years ago

So awesome to finally have warn unused imports in Scala 3.

Amazing job by Paul Coral and others reviewing.

github.com/lampepfl/dotty/pull

#scala #scala3 #dotty

Last updated 2 years ago

Pere :catalan_flag: :scala: · @pere
10 followers · 39 posts · Server fosstodon.org
Steve Randy Waldman · @interfluidity
1392 followers · 672 posts · Server fosstodon.org

A bit randomly, I've spent the last couple of weeks working on a Scala 3 templating engine, kind of a cross between Twirl and Java Server Pages.

I'd love any comment, critique, calumny. It's called .

github.com/swaldman/untemplate

#untemplate #scala #scala3

Last updated 2 years ago