NEW: Start my new Ultimate Portfolio App course with a free Hacking with Swift+ trial! >>

How would you discuss problematic code with a junior developer?

Recorded – watch the full episode on YouTube.

How would you approach a junior developer if they've written sub optimal code? How would you help them improve that code and hopefully improve as a developer as well?

Paola Mata: So I'm assuming, like I saw this in a code review or something. Sometimes code review isn't the best way to convey information. So I might say like, "Let's meet briefly to discuss this," in non-intimidating way. Or like, "Let's jump on a call," now that I'm remote. I think also being available for questions. Just like saying, "Hey, if you need any help, just let me know." Being unintimidating, I would say. I've run into this experience where I gave someone an idea for how to implement something and then the way they implemented it, wasn't quite what I was thinking. I just very nicely said, "Hey, I think if you do it this way, it'd be better or it'd be cleaner," or whatever the issue was. And usually juniors are very grateful for this feedback. I think a lot of the problems I've seen junior developers, people who are learning on their own have are related to just not having enough feedback on their code. So I try to give as much as I can. I would never let something pass that was suboptimal. It's going into a shared code base. I don't want anything that hasn't been thought through enough. So just offer myself for the questions and give ample feedback.

This transcript was recorded as part of Swiftly Speaking. You can watch the full original episode on YouTube, or subscribe to the audio version on Apple Podcasts.

Listen on Apple Podcasts

Hacking with Swift is sponsored by ViRE

SPONSORED ViRE offers discoverable way of working with regex. It provides really readable regex experience, code complete & cheat sheet, unit tests, powerful replace system, step-by-step search & replace, regex visual scheme, regex history & playground. ViRE is available on Mac & iPad.

Download on the App Store

Sponsor Hacking with Swift and reach the world's largest Swift community!

BUY OUR BOOKS
Buy Pro Swift Buy Swift Design Patterns Buy Testing Swift Buy Hacking with iOS Buy Swift Coding Challenges Buy Swift on Sundays Volume One Buy Server-Side Swift (Vapor Edition) Buy Advanced iOS Volume One Buy Advanced iOS Volume Two Buy Advanced iOS Volume Three Buy Hacking with watchOS Buy Hacking with tvOS Buy Hacking with macOS Buy Dive Into SpriteKit Buy Swift in Sixty Seconds Buy Objective-C for Swift Developers Buy Server-Side Swift (Kitura Edition) Buy Beyond Code

Was this page useful? Let us know!

 
Unknown user

You are not logged in

Log in or create account
 

Link copied to your pasteboard.