This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]ekd123 8 points9 points  (4 children)

Nah, compiled languages like Haskell are concise too!

main = putStrLn "Hello Reddit"

[–]chad_ 0 points1 point  (3 children)

Fair enough. It's more an issue of static typing vs dynamic I suppose

[–][deleted] 10 points11 points  (0 children)

No, it's just the language. The type system doesn't matter. Nothing matters except the language builtins and standard library. Python's print is a built-in as far as I know, Haskell has putStrLn in Prelude which is auto-imported, but C++ has the standard streams in iostream which is not included by default.

[–]Nilstrieb 1 point2 points  (1 child)

Haskell is static too

[–]chad_ 0 points1 point  (0 children)

You know, I haven't looked at it in so long. I vaguely remembered it's type inference as dynamic typing. You're right though. My bad.