SIP-44 - FEWER BRACES in Scala3
DevInsideYou
I tried to use fewerBraces on a real Scala3 code base and this is what happened.
The diff is here: https://github.com/DevInsideYou/zio-todo/compare/core-headers...fewerBraces
Consider syntax with significant indentation issue #2491: https://github.com/lampepfl/dotty/issues/2491
Change fewerbraces to always use a colon, even before lambdas #15273: https://github.com/lampepfl/dotty/pull/15273
People want it: https://contributors.scala-lang.org/t/make-fewerbraces-available-outside-snapshot-releases/5024/171
SIP-44 - FEWER BRACES: https://docs.scala-lang.org/sips/fewer-braces.html
Scala3 website (get the nightly build numbers from there): https://dotty.epfl.ch/
SIP-44 is accepted (it's happening!!!): https://www.linkedin.com/pulse/scala-improving-scala-center/
Work with me at AvantStay: Send me a direct email - vpekker [at] avantstay [dot] com Job description - https://functional.works-hub.com/jobs/remote-backend-engineer-c82a6
Table of Contents: 00:00 Intro 04:56 Code - 1st Project 07:07 Code - 2nd Project 18:11 Final Words
Website: https://devinsideyou.com
Patreon: https://patreon.devinsideyou.com Discord: https://discord.devinsideyou.com Telegram: https://telegram.devinsideyou.com Twitter: https://twitter.devinsideyou.com GitHub: https://github.devinsideyou.com LBRY: https://lbry.devinsideyou.com
Install scripts: https://install.devinsideyou.com Giter8 templates: https://g8.devinsideyou.com
Spotify concentration playlist: https://code.radio.devinsideyou.com
Cheers and Happy Coding!
#scala #syntax #braces ... https://www.youtube.com/watch?v=W38Kfd4CZgE
153196929 Bytes