Tech Lead says:
Never use boolean flags in your database.
Junior dev: But isActive, isDeleted, isPaid is so simple.
Tech Lead: What happens when business logic needs a third state?
Junior dev: 馃樁
Do you know what the Tech Lead meant? 馃
Vikash Singh Tomar retweeted
馃挕 AI Tip: Give AI a role, context, and constraints.
Instead of asking:
"Build me an API."
Try this:
1. Define the role (Senior Backend Engineer).
2. Explain the project context.
3. Specify the tech stack.
4. Define requirements and constraints.
5. Ask for edge cases and potential failures.
Don't just prompt AI to write code. Prompt it to think through the problem. 馃
馃挕 AI Tip: Give AI a role, context, and constraints.
Instead of asking:
"Build me an API."
Try this:
1. Define the role (Senior Backend Engineer).
2. Explain the project context.
3. Specify the tech stack.
4. Define requirements and constraints.
5. Ask for edge cases and potential failures.
Don't just prompt AI to write code. Prompt it to think through the problem. 馃
