My interview with socialpreneur and educator Saurabh Nanda. Full story
Software development quirks and technologies that interest me.
My interview with socialpreneur and educator Saurabh Nanda. Full story
Deno v1 is here, and so is my experiment. Unlike my usual first programs, this one is a bit better than a pure “Hello, world”. So not only it is a meaningful program (does not literally print out “hello world”), it also has data models, unit tests and CI integration (Travis). From its documentation: A […]
https://github.com/anuragbhd/express-api-refkit I frequently create APIs for muse/professional apps, and every time I find myself scrambling to pick the best pieces from my previously built APIs or online repositories. To streamline this, I recently created this reference kit (mostly for myself) to help me in writing a production-grade Express-based API from scratch. Sharing with this group in hopes that my fellow […]
Sharing with ya’ll the recording of my session from Sapient’s April 11 Flutter meetup. Warning: This is a longish session (48 mins). Watch at your discretion. You have been warned.(I really need to work on my time-boxing skills) Do also see the other 🆒 sessions in this playlist:https://www.youtube.com/playlist?list=PLfZqxzeCGmPUWopRNcf86Kmusrog73yhL
I learned this the hard way. I knew Flutter’s stateless and stateful widget lifecycles well. But I was ignorant. I made a grave, mostly fatal, mistake of doing something like this: Do you see the graveness of my code? No? Check again, I’ll wait. Okay. Maybe you’ve guessed it, maybe not. See the code below. […]
I have been writing unit tests like crazy for my muse Flutter app, in my own TDD-like fashion. Writing meaningful tests and watch them go from red to green is a great feeling for real. If you aren’t doing that yet, I highly recommended. Flutter comes with an excellent testing library called — wait a […]
Developer: “YESSS! My world-class widget test is ready to run.” (runs the test) Debug Console: “Expected to see 1 widget, found none.” Developer: What! Why, why, why!!! (figures out all async calls in the widget; spends 4Â hours re-reading about widget testing, exploring the source code of WidgetTester.pump()Â and setting up mock classes using Mockito.) Developer: “Muwaha […]
If GitHub stats are anything to go by, Next.js has received incredible attention of late. Freelancers and enterprises alike are creating their next applications in or migrating their existing ones to Next.js. When I was recently on-boarded to my first account at Sapient, the departing senior XT architect highly recommended that we migrate to it. […]
Apparently, some “rockstar” developers are easily able to find time to write quality, long articles, and post multiple, meaningful updates on social media. In contrast, the rest of us “struggling” developers find it difficult to take out time to even share photos from our last vacation. Why is it so that these rockstar developers manage […]
While reading modern JavaScript code, you might have come across such things as Array.prototype.map(), Array.prototype.filter(), pure functions, higher order functions, the spread operator, etc. Basically, all the things that React and Redux made us write willingly or unwillingly. I am not going to spend the next 2-3 hrs going into finer details about FP. Instead, […]