惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

F
Fortinet All Blogs
爱范儿
爱范儿
V
Visual Studio Blog
Engineering at Meta
Engineering at Meta
B
Blog
云风的 BLOG
云风的 BLOG
G
Google Developers Blog
MongoDB | Blog
MongoDB | Blog
博客园 - Franky
U
Unit 42
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
WordPress大学
WordPress大学
D
DataBreaches.Net
B
Blog RSS Feed
小众软件
小众软件
人人都是产品经理
人人都是产品经理
I
InfoQ
P
Proofpoint News Feed
博客园 - 聂微东
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
J
Java Code Geeks
The GitHub Blog
The GitHub Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
Code Review Gone Wrong
Lavkesh Dwivedi · 2026-06-18 · via DEV Community

Originally published on lavkesh.com


I was working on a project with a tight deadline when my team lead asked me to review a colleague's code. The code had inconsistent naming conventions, duplicated logic, and no comments. I wrote a scathing review, pointing out all the flaws and suggesting that the code be rewritten from scratch.

My colleague was defensive and hurt by my feedback, and the team lead had to intervene to calm the situation. I realized I had been too harsh and that my feedback had not been constructive. I had focused on criticizing the code rather than helping my colleague improve.

I learned a valuable lesson from that experience. When giving feedback, it's essential to be specific, objective, and respectful. Instead of criticizing the code, I should have focused on suggesting improvements and offering help. I should have also considered the context and the constraints that my colleague was working under.

Since then, I've made a conscious effort to give feedback that is constructive and respectful. I've also learned to receive feedback graciously, even when it's critical. I've come to realize that feedback is an opportunity to learn and grow, rather than a personal attack.

I use the sandwich method, where I start with something positive, followed by constructive feedback, and end with something positive. This approach helps to soften the blow and makes the feedback more palatable. I also focus on the behavior or the code, rather than the person.

Instead of saying 'you're a bad coder', I say 'this code can be improved by...'. This approach helps to avoid defensiveness and promotes a more constructive conversation. I've also learned to ask questions and seek clarification when receiving feedback.

This helps to ensure that I understand the feedback and can act on it. Feedback is not a one-time event, but an ongoing process. It's essential to follow up and check in with my colleagues to see how they're progressing and if they need any further help or guidance.

Giving and receiving feedback is an essential part of being a good engineer and a good team player. It's not always easy, but it's a crucial part of growing and improving. I've been fortunate to have had colleagues and team leads who have taught me the value of feedback and how to give and receive it effectively.

I've seen the impact that constructive feedback can have on a team. It can boost morale, improve collaboration, and lead to better outcomes. I've also seen how destructive feedback can be, leading to defensiveness, hurt feelings, and a breakdown in communication. I'm committed to continuing to learn and grow, and to helping my colleagues do the same.

I believe that feedback is a key part of that process, and I'm excited to see the positive impact that it can have. My experience has taught me that feedback is essential for growth and improvement, and I hope that my experience can help others to learn from their mistakes and become better engineers and team players.