Saddest to me is, I have worked on projects where if I don't use these obscure Scala expressions, my code won't pass reviews. This is my biggest turnoff to FP. It's infected w entirely subjective, opinionated complexity. As if any other kind of non-imparative expression is wrong.
-
-
Replying to @VaughnVernon @SnowPolar
I think that obscurity can be subjective too, though. I can't speak for your code reviews, but developers often extrapolate from their experience and try to overgeneralize it with what appears to be unwarranted conviction to anyone else. I think that's quite common in FP.
1 reply 0 retweets 0 likes -
Replying to @propensive @SnowPolar
To be explicit, if I write the following, it is wrong, "not FP enough": val a = o match { case Some(x) => f(x); case None => y } I must refactor to this: val a = o.fold(y)(f) I've been told that if-else *expressions* and getOrElse() should be removed from lang/lib.
2 replies 0 retweets 0 likes -
The fact that these discussions end up nitpicking on these details of different ways to encode a piece of logic is sad. And is a big reason (in my experience) why ppl shy away from Scala. Use the style that ensures the best readability in a given context.
1 reply 0 retweets 1 like -
There was no proclaimed style, just knee-jerk opinion. One day I will write a blog post about this spectacular failure, why I was brought in, and why my marching orders were sidetracked within days of arrival due to consulting partner end-arounds.
3 replies 0 retweets 0 likes -
marching orders?
1 reply 0 retweets 0 likes -
Replying to @someoneverycoo1 @SnowPolar and1 reply 0 retweets 0 likes
-
Sad to hear you got it, hope you are in a better place now
1 reply 0 retweets 0 likes -
Replying to @someoneverycoo1 @SnowPolar and
You mean it's sad that I received "authoritative orders or instructions" from the SVP to steer this huge effort but were subsequently sidetracked because supposed senior Scala consultants didn't want to follow the direction of the billionaire paying them to do so?
1 reply 0 retweets 0 likes -
To be fair to
@snowpolar, the link to the dictionary had two different definitions for "marching orders", which I think is why they were asking in the first place...2 replies 0 retweets 0 likes
FWIW, I assumed the second definition to begin with.
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.