Sent a long email with a text attachment that got messed up? Did you know that SMTP has a 1000 character limit - it's well documented but then again, who reads the manual? Here's a nice post from Shifa that explains the problem and how to solve it.
blog
How A Day At Work Looks Like!
How much can you achieve in one day? Let's ask the Josh team and Seva Sahayog Foundation. It all started when Hetal asked us if we can help them out. Seva Sahayog has volunteers who collect donations from either door-to-door or setup a desk at various companies. Now, as part of a donation, you are … Continue reading How A Day At Work Looks Like!
Using Null Object Pattern in Rails to improve code quality
Rishi talks about writing clean code and avoid conditional blocks whenever and wherever feasible using Null Object Pattern.
Learning shall never stop..!!!
If you have not read my previous post I wrote about Service classes, I would suggest to read that first as it is in continuation to the previous post. This is the link to previous post.
In this post we are going to look at another pattern that helps us in refactoring code, especially helps us in removing conditions. It is called Null Object Pattern.
This code is used to download the data dump based on some rules as always. But here is my 2 cents, do not even try to understand the code.
We clearly need to refactor because this code is difficult to understand even for the person who has written the code, forget the team who is working on the same project. And since this code is difficult to understand, it is difficult to debug and it is difficult to change as changes will come…
View original post 726 more words
