Sundeep Bhatia (@CodeSoccerBean) profile picture

Principal SDE @ Expedia, Adjunct Professor @ UW, Prev: Staff coach ManU Soccer School, Prev: C++ Compiler Dev @ Microsoft, Wrote 'nmake'

Bellevue, WA
Joined November 2013
Photo by Sundeep Bhatia (@CodeSoccerBean)Photo by Sundeep Bhatia (@CodeSoccerBean)Photo by Sundeep Bhatia (@CodeSoccerBean)
Sundeep Bhatia retweeted
I strongly endorse this message. Yes, we've all seen the obvious excesses of OOP, but the only reason those are obvious is because OOP has been incredibly successful, leading to the creation of code bases with millions of lines maintained over decades by developers of varying skill & engagement. We've seen the lawless abstractions over abstractions, promising much but delivering nothing but pain. We've seen the business logic that should be in one place scattered over a giant inheritance hierarchy. We've seen the abuse of product types for sum types. But very few have seen the excesses of Haskell--they do exist, and they are monstrous too. The only reason you don't know about them is because you haven't worked on a 3 million LOC Haskell project maintained over sufficient time by sufficiently many engineers. In the FP world, it's common to say, "All you need is functions." That's the functional equivalent of, "All you need is objects." Both are true and both are meaningless, ignoring the reasons why language designers and programmers across both paradigms build tailor-purpose tools. Every paradigm and every language exists in a world of trade-offs, and to look at anything as black and white is to miss the nuance from which all deep insight must necessarily derive. That's not to say objective truth does not exist, because that would be wrong, too. For example, modelling sum types with nullable fields of a class is absolutely and objectively wrong and leads to many pains without benefit. Type-level programming is almost always wrong, because of its terrible cost-to-benefit ratio. Beyond this need for more nuance and objectivity, there's the question of having a zero-sum, shrinking mindset versus a positive-sum, expanding mindset. Is an OOP programmer more motivated by: "OOP is terrible, all you need are lambdas because the lambda calculus is Turing complete!" Or by: "Let's add an anonymous function to this interface -- look at how much simpler it is to use now!" Find the best parts of functional programming, the ones with the highest benefit-to-cost ratio, where no one can reasonably deny the power, and make a positive-sum, expanding case for them. That's the way to do justice to functional programming.
Spreading hate toward OOP within the FP community does a disservice to Functional Programming—yet another one. Why can't FP advocates promote something positive instead? Why build an identity through hate and disdain?
6
12
1
98
7,235
R. I. P Niklas Wirth, father of Pascal, Turing Award winner and creator of Wirth's Law (software is getting slower than hardware is becoming faster). Influenced my early years in CS (1985), my B. E. Thesis and got me into Programming Languages & Compliers and I'm still coding!
I am very saddened by this news. Niklaus got me into CS since I became fascinated by the beauty of his language designs and compiler architectures. And later he became the guiding mentor for my doctoral studies at ETH.
1
86
#BREAKING: Brazilian soccer legend Pelé, winner of record 3 World Cups and standard-bearer for ‘the beautiful game,’ has died at 82. - @AP
4
8
1
18
7,013
Do you remember when you joined Twitter? I do! Interesting that is on the start of the world cup. #WorldCup #MyTwitterAnniversary
THIS IS UNBELIEVABLE! We're on FORBES' Top 100 Digital Stars List!😍 While I'm still sinking this in, thank you so much for living this journey with me & believing in my vision. I promise you more and more killer content, packed with life-changing travel experiences. We did it!🥂
25
10
239
Agree! Library writers are sometimes to blame because they fail to keep their dependencies minimal. Just imagine the transitive closure of such failures!
The problem with source dependencies is you're importing someone else's build into your own. *Everyone's* build is horribly broken, and contrary to popular opinion it's not because of the tooling.
Sundeep Bhatia retweeted
This concludes the talks from Lausanne! You can find all videos in the playlist: youtube.com/playlist?list=PL…
6
12
Fun(c)tional Programming on July 25th with @rafaparadela and @ExpediaEng
Have a fantastic evening with functional programming in Scala & ⁦@rafaparadela⁩ from ⁦@47deg⁩ at ⁦@ExpediaEng⁩’s HQ in Bellevue meetu.ps/e/GZmvb/kY3XM/a July 25th, doors open at 6pm PDT, talk starts at 6.30pm
1
3
We are 1️⃣ year!
It was awesome to have you come back. @Oli_kitty and I started @fun_c_ exactly a year ago and you were our very first speaker. You brought back Algebra to us!
1
2
Sundeep Bhatia retweeted
Wow this language looks really interesting. No loops, reference equality, or state mutation. All 3 things that can die in a fire imo theregister.co.uk/2019/04/18…
2
7
2
22
Another achievement unlocked by my friend @Oli_kitty
This Thursday, our own @Oli_kitty's new podcast @scala_love is launching with guest @ValentinKasas! Find out more and learn what's in store here: 47deg.com/blog/scala-love-po… #Scala #ScalaLove #podcasts
4