Follow

> In Elm 0.19 you can no longer create tuples which contains more than three elements. The reasoning behind this is that it's easy to lose track of what the elements represents after that.

I can do nothing but stagger in awe at the enormity of this fact.

· · Web · 4 · 2 · 5

@trickster First they say drummers can only count to 4, then sound engineers can only count to 2, and now apparently programmers can only count to 3.

@trickster "Yeah I'm a programmer of course I know numbers. 1, 2, 3... 1024..."

@trickster This isn't the first time they've done something like this. I can't imagine why anyone would want to build anything of substance on top of it.

I get that it's still pre-1.0, but this is like having all the fun of dealing with JS package churn in the core language, which is definitely not what I'd consider a thing for "reliable web applications".

@evan it feels like it's Evan's and co. not yet finished vision for what they want UI programming to be and everyone else is allowed basically a sneak peak of what they have done up to now, the pre-1.0 label is very apt and in my opinion should be taken ad literam, no matter what the glossy project front page wants you to think

@blit32 good answer, i think you can, i don't know how expected of you is it with regards to nesting levels, but yes, the 2-tuple has the closure property and there's virtually no data structure you cannot represent with it, including, well N-tuples

Sign in to participate in the conversation
Mastodon for Tech Folks

This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!