
Principal SDE @ Expedia, Adjunct Professor @ UW, Prev: Staff coach ManU Soccer School, Prev: C++ Compiler Dev @ Microsoft, Wrote 'nmake'
Bellevue, WA
Joined November 2013
- Tweets263
- Following407
- Followers72
- Likes993
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.
Sundeep Bhatia retweeted
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!🥂
Sundeep Bhatia retweeted
Keynote: Some Mistakes We Made When Designing Implicits (And Some Things We Got Right) – @odersky youtu.be/1h8xNBykZqM
Sundeep Bhatia retweeted
This concludes the talks from Lausanne! You can find all videos in the playlist: youtube.com/playlist?list=PL…
Sundeep Bhatia retweeted
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!
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…
Sundeep Bhatia retweeted
popular tweet by @usairforce nitter.gq/usairforce/status/1071…
Mathematician and #GPS innovator, Gladys West, is inducted into Space and Missiles Pioneers Hall of Fame. @AFSpace #HiddenFigure
Sundeep Bhatia retweeted
Anyone who says distributed systems are easy does not have sufficient experience with distributed systems.
Sundeep Bhatia retweeted
"If you want to go fast, go alone. If you want to go far, go together." -African proverb
Sundeep Bhatia retweeted
Book of Monads by the talented @trupill has gone to the printers! Our first edition has been meticulously edited, reviewed, and illustrated, and we’re printing a large batch. Get ready to place your orders!
Sundeep Bhatia retweeted
[blog] Do not fall into Oracle's Java 11 trap. Use an OpenJDK build, not Oracle JDK: blog.joda.org/2018/09/do-not…
Sundeep Bhatia retweeted
Good post by @alexelcu to remind us: Avoid Javaisms: Mocks, Stubs, DI is Code Smell alexn.org/blog/2015/12/15/av…
Sundeep Bhatia retweeted
Will We Ever Really Know Who Invented the Microprocessor? lnkd.in/gTywrSz
Sundeep Bhatia retweeted
The first streamed programming session I've ever watched.
Imperative → IO monad → Tagless in one vid, with sensible discussion.
Also, it might be my speakers, but the way @jdegoes pronounces "putStrLn" sounds like "put sirloin" -.-"
Great intro to structuring programs built with pure FP with @jdegoes, highly recommended: youtube.com/watch?v=sxudIMiO…
Sundeep Bhatia retweeted
Give a server a fish and it eats for a day. Automate the fishing pipeline and you'll receive pager alerts for a lifetime.
Sundeep Bhatia retweeted
"If I have seen farther than others it is because I have stood on the shoulders of giants." -- Isaac Newton
"Mathematicians stand on each other’s shoulders while computer scientists stand on each other’s toes." -- R. W. Hamming
Sundeep Bhatia retweeted
First silicon success on the first tapeout!! Linux boots on Shakti processor, India's first @risc_v based silicon chip!






























