Browsed by
Author: Nikhil Wanpal

Unpacking Google’s 25% AI-Generated Code: What This Really Means for Development

Unpacking Google’s 25% AI-Generated Code: What This Really Means for Development

Before we start urging our developer “hens” to lay more golden eggs with AI, let’s examine a statement from Google’s recent Q3 earnings call: 25% of new code at Google is now written by AI. (ref: https://www.businessinsider.in/tech/news/google-ceo-says-more-than-a-quarter-of-the-companys-new-code-is-created-by-ai/articleshow/114752080.cms) This news is everywhere, and understandably so. The way it’s worded seems designed to set a new baseline in AI assisted development, especially as Google emphasizes its leadership in AI. It’s worth examining what this truly implies beyond the headlines. After all, earnings…

Read More Read More

Tip #3: Always ensure you have high comment to code ratio, the more comments the better!

Tip #3: Always ensure you have high comment to code ratio, the more comments the better!

In the best cases, the comments can constitute 50% or more of your code, and that would be a good thing. The code is read more often than it is written, so explain every line of code with a comment so the next developer can understand it well. We do not write code in English (yet!) but in a language specifically designed for computers. Computers are better suited to understand it than humans. Code can be cryptic, unintuitive, and difficult…

Read More Read More

Tip #2: To make your tests more specific and focus only on the class you are testing, mock everything else.

Tip #2: To make your tests more specific and focus only on the class you are testing, mock everything else.

It is always observed that changes in one class cause other class’s tests to fail. This happens often because many other classes change when we change one class, leading to many other tests changing / breaking. It is always best to mock all other classes. That way, other classes are not actually used in the test, and you can ensure that your tests do not break! This also ensures that the only coverage we get is from the test written…

Read More Read More

Tip 1: Always commit as many unrelated features and bug fixes as possible into a single commit.

Tip 1: Always commit as many unrelated features and bug fixes as possible into a single commit.

First, this will make your commit message a cryptic mishmash, which no sane person will understand! Second, when someone needs to cherry-pick something from one branch onto another, they’ll be unable to do so cleanly. If you are linking your commits with JIRA, this is even more awesome because now the unrelated JIRA stories are also linked together by this commit! And if your team uses JIRA or commit messages to write release notes, oh well, they are in for…

Read More Read More

Kill The Hi

Kill The Hi

Kill The Hi Yeah, you read it right; I mean the “Hi”; the ‘hi’ people often use as the first message of a conversation in online chat, the same ‘Hi.’ That “Hi” is a productivity killer, a waste of time, and an unnecessary formality that does not suit today’s remote-enabled chatting modes. The Game Of Hi And Seek Have you ever started your work day to see a “Hi” from a random person on the office chat? You naturally respond…

Read More Read More

Post-Interview: Converting Candidates into Employees

Post-Interview: Converting Candidates into Employees

The Problem How often has it happened that you go through the pains of selecting the best fitting candidate for the role you have in your Company, offering them the best salary you can afford, and yet they do not turn up on the joining date? How often has it happened that you have gone through the painstakingly long and challenging interview process, got the offer that met your expectation, but still continued to interview with other companies, mainly because…

Read More Read More

Scrum is not Agile!

Scrum is not Agile!

Scrum is not Agile! There, I said it! Okay, okay, before you all bring out the pitchforks, please allow me to explain what I mean: Scrum is not the same as Agile, Or Scrum is not the only Agile framework; there are many more Agile frameworks, and one should not use the words Agile and Scrum interchangeably; Or one should not assume Scrum when someone says Agile. That’s all, that’s all I am saying. (Yes, the title is a clickbait!)…

Read More Read More

Feature Flags

Feature Flags

I take it that most people, by now, know what Feature Flags are. The interesting thing, though, is that depending on whom you ask, they’ll have a slightly different answer as they have a slightly different use for the flags. The UX designers see them as a way to test users’ responses to various interface choices and flows. Similarly, an advertiser will tell you that they use Feature Flags to test audiences’ responses to different campaigns. For software developers, they…

Read More Read More

Making The Interviews All About the Candidates

Making The Interviews All About the Candidates

Historically, interviews have always been about the company. It has always been a way for an organization to evaluate candidates. And no denying, that is the purpose of the interviews, this is why any company would fund the interviews. And this is why the interviews are so boring to go through as a candidate, this is why I as a candidate would be unsure if I wish to join your organization, unsure if you are offering what I am looking…

Read More Read More

Experimenting With Polyphasic Sleep

Experimenting With Polyphasic Sleep

Some 2 or 3 months ago I decided to experiment with Polyphasic Sleep. It is a fancy word, I would just describe it as “sleeping in multiple slots spread across the 24 hours of the day”. Don’t ask me why; maybe to make more time for myself, to be awake more, maybe to do more stuff, or maybe just because it is a fancy new thing. But I think it was because I wanted to wake up early, start my…

Read More Read More