2 Comments

Not using much Haskell, but Go version is very easy to read IMO, even though it has more lines.

Expand full comment
author

Indeed. It's a small program in the end and both programming languages are adequate for this type of program. For this example, it's a matter of preference.

I tend to lean more towards Haskell in general because it allows me to be more expressive and concise, but I like the simplicity of Go too.

Expand full comment