Hacker News new | ask | show | jobs
by buzzert 811 days ago
Definitely disagree. The language where this really shines is Swift, where type inference is used really heavily.

It's really great for stuff like passing enums as function arguments. You can write `context.setColor(.red)` instead of `context.setColor(Color.red)`, the latter of which I find just unnecessarily repetitive.

The coolest part about this is when you're using a new unfamiliar API, you can let your IDE's auto complete suggest options for you just by typing '.' and pick from the list of options shown inline.