Tell someone you feel anxious about giving or receiving code reviews, and you’ll likely be told that it’s a “junior developer thing that you’ll eventually get over,” then given tips for writing “cleaner/ better code.” While frequently well-intentioned, this advice gives developers the message that there’s something wrong with them or their #code if they experience code review anxiety - a message that is not just inaccurate, but even damaging. So what can you do about code review anxiety? In this talk, Carol Lee, PhD shares the story of her empirical research conducted with software engineers and developers across industries experiencing #codereview #anxiety. Watch: https://lnkd.in/ewsQaTZ4
RedMonk’s Post
More Relevant Posts
-
Code reviews aren’t just about finding bugs—they’re about writing cleaner, smarter, and more efficient code. 💻 When was your last code review? Share your experience! #CodeReview #CleanCode #DevCollaboration #CodingGramma #ProgrammingTips
To view or add a comment, sign in
-
"Day 12: LeetCode Problem Solving Journey *Today's Problem:* [Longest Common Prefix] *Problem Link:*[https://lnkd.in/eUXugKrV] _Solution:_ ``` class Solution { public: string longestCommonPrefix(vector<string>& strs) { if(strs.empty()) return ""; sort(strs.begin(), strs.end()); string a = strs[0], b = strs.back(); int i = 0; for(; i < min(a.size(), b.size()); i++) if(a[i] != b[i]) break; return a.substr(0, i); } }; ``` _Explanation:_ This solution sorts the input vector of strings and then compares the first and last strings. The common prefix between these two strings will be the longest common prefix among all strings. _Language:_ C++ *Join me on this journey!* I'll be sharing a new problem solution daily, and I'd love for you to follow along, offer feedback, and share your own solutions. _Tags:_ #LeetCode #coding #problem-solving #cpp #string #prefix
To view or add a comment, sign in
-
🧑💻 A friend recently asked me for the best way to analyze code, understand its flow, and implement new features in a large project 💻 Here's what I recommended: Debugging Skills: Learn to use debugging tools effectively. Whether it's setting breakpoints, stepping through code, or inspecting variables, a good debugger can be your best friend in understanding complex code. Code Walkthroughs: Take time to step through the code manually or with a peer. It can be invaluable in understanding how things work. Refactoring: Often, rewriting parts of the code helps you understand it better. It's a great way to make the code more maintainable too. Ask Questions: Don't be afraid to ask questions, whether to colleagues or online communities. It's all about learning and growing. I'm curious, what other tips do you have for analyzing code? Let's share our best practices! 🔥 #CodingTips #DebuggingSkills #SoftwareDevelopment #CodeAnalysis #TechCommunity #ProgrammingAdvice #DevSkills #CodeFlow #TechTips #SoftwareEngineering #DeveloperInsights
To view or add a comment, sign in
-
🛠️🛠️𝐇𝐎𝐖 𝐓𝐎 𝐊𝐍𝐎𝐖 𝐈𝐅 𝐘𝐎𝐔𝐑 𝐂𝐎𝐃𝐄 𝐒𝐌𝐄𝐋𝐋𝐒! 🚨🚨 Code smells are warning signs that your code might need refactoring. Identifying and addressing these can save you from technical debt later. Here are 10 common code smells to watch for: 1️⃣ 𝐒𝐡𝐨𝐭𝐠𝐮𝐧 𝐒𝐮𝐫𝐠𝐞𝐫𝐲: A single change requires modifications in multiple places? Time to revisit your code structure. 2️⃣ 𝐋𝐚𝐳𝐲 𝐂𝐥𝐚𝐬𝐬: Classes with minimal functionality—merge them where they belong! 3️⃣ 𝐋𝐨𝐧𝐠 𝐌𝐞𝐭𝐡𝐨𝐝: Huge methods can be intimidating. Break them into smaller, focused chunks. 4️⃣ 𝐃𝐮𝐩𝐥𝐢𝐜𝐚𝐭𝐞𝐝 𝐂𝐨𝐝𝐞: Repeating yourself? DRY (Don't Repeat Yourself) is your mantra! 5️⃣ 𝐅𝐞𝐚𝐭𝐮𝐫𝐞 𝐄𝐧𝐯𝐲: Methods relying too much on data/methods from other classes. Keep them closer to their homes. 6️⃣ 𝐃𝐚𝐭𝐚 𝐂𝐥𝐮𝐦𝐩: Bundles of variables traveling together? Create a class or structure for them. 7️⃣ 𝐄𝐱𝐜𝐞𝐬𝐬𝐢𝐯𝐞 𝐃𝐚𝐭𝐚 𝐑𝐞𝐭𝐮𝐫𝐧: Don’t return the kitchen sink; provide only what’s necessary. 8️⃣ 𝐆𝐨𝐝 𝐂𝐥𝐚𝐬𝐬: If one class does it all, it’s time to divide and conquer! 9️⃣ 𝐌𝐢𝐝𝐝𝐥𝐞 𝐌𝐚𝐧: Delegation-only classes? Remove the middleman for clarity. 🔟 𝐃𝐞𝐚𝐝 𝐒𝐭𝐨𝐫𝐞𝐬: Unused variables just add clutter—clean them out. ✂️ Refactoring isn’t just cleanup; it’s about maintaining a healthy codebase. Spot these smells early to write cleaner, more maintainable code! What are some common code smells you've encountered? Let’s discuss! 💬 #CleanCode #CodingTips #SoftwareDevelopment #Refactoring #CodeQuality #Programming #DeveloperTips #TechTips #CodeSmells #SoftwareEngineering #CodeRefactoring #BestPractices #TechCommunity #CodeReview #DRYPrinciple
To view or add a comment, sign in
-
Day 12 of Day 100 Committing to Code, Crafting Consistency! 💻 Longest Common Prefix Conquered!💪 Leetcode problem-solving is not just about finding solutions; it's about mastering techniques that optimize performance. I apply below method to solve question - 1. Understanding the problem 🔍 2. Handling Edge Cases (Most Important) 🛑 3. Iterative Improvement 🔁 4. Celebrating the Progress 👏 Longest Common Prefix link -: https://lnkd.in/g6w7_k8T If you're struggling while solving a question, try following these steps once.
To view or add a comment, sign in
-
Day 15 of Day 100 Committing to Code, Crafting Consistency! 💻 Find First and Last Position of Element in Sorted Array Conquered!💪 Leetcode problem-solving is not just about finding solutions; it's about mastering techniques that optimize performance. I apply below method to solve question - 1. Understanding the problem 🔍 2. Handling Edge Cases (Most Important) 🛑 3. Iterative Improvement 🔁 4. Celebrating the Progress 👏 Find First and Last Position of Element in Sorted Array link -: https://lnkd.in/eiyMeRrD If you're struggling while solving a question, try following these steps once.
To view or add a comment, sign in
-
👩💻 Want to elevate your code review process? Dive into our latest video with Jimena Mignaco, where she reveals 3 essential tips to boost your coding skills. Don't miss out on these valuable insights! Watch the full video here: https://lnkd.in/duUmaxzQ #CodeReview #DeveloperTips
Enhance your code review
https://www.youtube.com/
To view or add a comment, sign in
-
Legacy code doesn't have to be a nightmare! 🌟 'Working Effectively with Legacy Code' by Michael Feathers offers practical tips for refactoring and working with old systems effectively, a must-read for developers facing real-world coding challenges. 📘 #CodeAndBeyond #EmpowerSolutions #LegacyCode #DeveloperReads #TechInspiration #RefactoringDoneRight
To view or add a comment, sign in
-
Surprise-Free Code: Writing Clear and Predictable Functions Have you ever had a coworker ask you, "Hold up, why does this function do that?" 😅 I recently read Chapter 6 of Tom Long's "Good Code, Bad Code," which is all about writing code that keeps other developers from becoming confused. The chapter focuses on creating clear, predictable code that doesn't do unexpected things. Main points: • Don't use "magic values" - they're like secret codes nobody knows. • Be careful with the null-object pattern - sometimes no answer is better than an empty one. • Avoid hidden side effects - functions shouldn't do secret stuff on the side. In real life, this means thinking hard about what we name our functions, what they return, and how we handle weird cases. I've started using these ideas in my current project, and our team's code reviews have gotten much smoother. ♠ Quick tip: When naming functions, think "what does it do?" not "how does it do it?" It makes your code easier to understand at a glance! #CleanCode #SoftwareDevelopment #CodingBestPractices #PredictableCode #CodeReadability #DevTips #GoodCodeBadCode
To view or add a comment, sign in
-
Day 10 of Day 100 Committing to Code, Crafting Consistency! 💻Length of Last Word Conquered!💪 Leetcode problem-solving is not just about finding solutions; it's about mastering techniques that optimize performance. I apply below method to solve question - 1. Understanding the problem 🔍 2. Handling Edge Cases (Most Important) 🛑 3. Iterative Improvement 🔁 4. Celebrating the Progress 👏 Length of Last Word link -: https://lnkd.in/gqu3CNem If you're struggling while solving a question, try following these steps once.
To view or add a comment, sign in
1,115 followers