27 ms·
> How does my editor let me know that function receives that parameter without me going "???" and having to go into its definition? IntelliJ has been able to d
by hocuspocus 6y ago
> How does my editor let me know that function receives that parameter without me going "???" and having to go into its definition?
IntelliJ has been able to do that for a while now.
> Implicit conversions fall into the same category, of making code pretty to look at, quick to write, and a nightmare to understand when you're new to a codebase.
Don't do it, and don't allow it in your codebase.
- sabellito 6y ago> IntelliJ has been able to do that for a while now. It has been 4 years since I did Scala everyday, back then it was hit or miss. Good to know things have improved. > Don't do it, and don't allow it in your codebase. I get your point, but that doesn't solve the issue if the community is down for using these features.
- hocuspocus 6y agoBoth JetBrains and the Scala center have invested in the tooling experience in the past 2-3 years, you should give it a try again! And I don't think I've encountered implicit conversions that often in the ecosystem.
- vvillena 6y agoThe community isn't very fond of implicit conversions. That's why you get warnings unless you enable a compiler flag, and why Scala 3 downgrades them from magic keyword definitions to avoidable stdlib types.