The charm of functional programming

Posted on under Coding & Tech Leave a comment

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, […]

SelectableText widget and structured error messages in Flutter 1.9

Posted on under Coding & Tech Leave a comment

Flutter 1.9 is out. As one may guess from this post’s title, my favorite changes are: SelectableText widget Structured error messages (enabled via VS Code or Android Studio settings) Structured error message support was proposed 8 months ago! I find Flutter’s current approach to displaying error/exception messages are pretty useful as they are. Adding more […]

The joy of creating in Flutter

Posted on under Coding & Tech 1 Comment

I am now officially in love with Flutter. What started as a crush has turned into something palpable. For the past 2 weeks, I have been heavily invested in learning Flutter from App Brewery’s bootcamp-style course. If there’s one takeaway from the course, it is this: Flutter+Dart is a lethal combination. I have now come […]

Optimistic updates

Posted on under Coding & Tech Leave a comment

It’s a cool UX trick I learned recently makes applications exponentially responsive. Traditionally, when we make an async API call or something similar (to perform a time-taking operation) we show a spinner (or a loading message) to indicate to the user that something is going on in the background and that they should wait a […]