Type Inference Debate

Discussions center on the pros, cons, usability, and implementations of type inference in programming languages like Haskell, Rust, Go, and OCaml, including comparisons to explicit typing and Hindley-Milner systems.

📉 Falling 0.4x Programming Languages
2,989
Comments
20
Years Active
5
Top Authors
#5719
Topic ID

Activity Over Time

2007
1
2008
14
2009
64
2010
59
2011
72
2012
72
2013
144
2014
169
2015
182
2016
221
2017
214
2018
173
2019
269
2020
277
2021
182
2022
216
2023
282
2024
201
2025
174
2026
3

Keywords

AFAIK HM RBS OP TypeScript typeinference.html ML E.g IDE i.e type inference inference type types hm haskell inferred ocaml infer typed

Sample Comments

alexforster Jul 2, 2017 View on HN

There's type inference everywhere!

jdhdjdbdjdbd Dec 16, 2022 View on HN

lol no? type inference is great u just suck at programming.

bytematic Nov 17, 2018 View on HN

Some way to have type inference without the cons of type inference or the verbosity of static typing

tomcam Jul 18, 2023 View on HN

Now you’ve got me curious. I’d like to type inference in go. Can you tell me what languages do it better?

wcummings Apr 14, 2016 View on HN

Who said anything about type inference?

huhtenberg Dec 12, 2011 View on HN

Type inference would've been nice. As would have been a const inference.

rwmj Nov 5, 2010 View on HN

Those who don't know type inference are destined to reinvent it ... badly.

nu11ptr Mar 27, 2023 View on HN

Wouldn't this be true of all statically typed languages that don't allow type inference in function signatures?

pcwalton Jul 23, 2013 View on HN

It's not HM-style type inference, which is presumably what the parent comment was referring to.

Koholint Feb 6, 2015 View on HN

What makes you say "with type inference being where it is"? Have there been recent advancements?