Debasish (দেবাশিস্) Ghosh 🇮🇳
@debasishg
Programmer. Author: Functional and Reactive Domain Modeling (Manning 2016), DSLs In Action (Manning 2010). Father. Husband. Seinfeld fanboy. FP aficionado.
Finally they arrived .. thanks @ManningBooks

Spent a meaningful 2.5 hours on the @cmuratori talk that instrumented an exponential rise to my reading list. A masterclass in the history of computing and the roots of OO. Opinionated talk - he hits hard at the ubiquitous practice of building compile time hierarchy of…
Pleased to announce that the third edition of my PL book, PLAI, is finally available on paper! Same price as it's been for 20 years (-:. Also made it available on Kindle EPUB, and a few other options. (Always free options, of course.) Enjoy! plai.org
TIL
After my youngest daughter fixed my computer, I overheard her talking with one of her friends saying it was just an "ID ten T error. They both starting laughing. Not wanting to appear dumb, I walked away and wrote down the code. ID10T. She was never my favorite kid anyway.
Writing = Thinking Don't outsource it to AI
In the world of ChatGPTs and Groks some StackOverflow threads still stand out .. stackoverflow.com/questions/5006…
nice tricks .. make trees shallower is one advice I saw earlier as well. Reminds me of the old adage - if u have to fall from a tree, ensure it's van Emde Boas :-) also regarding shallow trees, HAMT uses the same trick of making trees shallow.
Faster hash maps, binary trees etc. through data layout modification We investigate how to make faster hash maps, trees, linked lists and vector of pointers by changing their data layout. johnnysswlab.com/faster-hash-ma…
We are so excited to share that 6.1200J Mathematics for Computer Science is now ready and waiting for you! Watch the videos on YouTube: bit.ly/4lHxiSl Taught by Prof. Erik Demaine, Dr. Zachary Abel, and Dr. Byrnmor Chapman, this course covers elementary discrete…
You can either waste efforts repeatedly chasing heisenbugs in prod or invest in making your testing process more deterministic ..
Nothing to complain about the choices. Just feel a bit sorry for Rahul Dravid ..
Ravi Shastri picks his top 5 greatest Indian cricketers of all time. 🇮🇳 Do you agree with his choices? 👀 #Cricket #India #RaviShastri #Sportskeeda
This is exactly what John Backus mentioned in his 1977 Turing award lecture "Can Programming Be Liberated from the von Neumann Style? A Functional Style and Its Algebra of Programs". He classified programming models as applicative and operational. And discussed in his paper…
In functional programming code is easy to understand due to equational reasoning. You can use induction to prove properties about your code. However, programs are not necessarily easy to understand. You can have a very good local understanding of your program, but achieving…
Here's a broader perspective of one of the recommendations from the Tiger Style document of TigerBeetle .. Centralize control flow. When splitting a large function, try to keep all switch/if statements in the "parent" function, and move non-branchy logic fragments to helper…
Have been thinking about this and it actually makes a lot of sense. Imports are completely meaningless so I made a neovim plugin to automatically fold imports in every langauge I use using treesitter (works in C, Rust, C++, OCaml, (Type/Java)script, Zig, and Python so far)…
One uncommon style convention we have in the Bun codebase is putting imports at the bottom of the file instead of the top of the file No one wants to see 100 lines of imports before seeing the actual meat of the code
Indian team shines at IMO 2025! India wins 3 Gold, 2 Silver and 1 Bronze medals. The (unofficial) overall country ranking for India is 7 this year (the highest total score by India after 1989). imo-official.org/team_r.aspx?co…
One of the reasons I love Internet ..
From time to time I like to video myself solving maths problems in real time. Since the IMO has just happened, I plan to try a few of this year's questions. Here I get through Question 1. More to come at some point. youtube.com/watch?v=1G1nyS…
Possibly the best thoughts on AI usage that resonates with my feelings. I too like to use AI in the small while coding but the main loop has to be driven by me with my fingers. I feel too nervous watching Claude agent going through my codebase and making changes without me going…
"I use AI in a separate window. I don't enjoy Cursor or Windsurf, I can literally feel competence draining out of my fingers." @dhh, the legendary programmer and creator of Ruby on Rails has the most beautiful and philosophical idea about what AI takes away from programmers.