How to teach an unwilling coworker better coding practices
Clash Royale CLAN TAG#URR8PPP
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty margin-bottom:0;
up vote
-2
down vote
favorite
I have a coworker who is a bit older than me and doesn't follow good coding practices. His coding style is like the wild west - no [encapsulation](I already tried talking and yelling and teaching. ), no reviews (aka run from them, commit on master...). His opinion is that you don't need to encapsulate or make the code more readable, since he can read it just fine.
I already tried talking and yelling and teaching him. Any suggestions on how I can get him to change his coding practice?
software-industry software-development coworker
add a comment |Â
up vote
-2
down vote
favorite
I have a coworker who is a bit older than me and doesn't follow good coding practices. His coding style is like the wild west - no [encapsulation](I already tried talking and yelling and teaching. ), no reviews (aka run from them, commit on master...). His opinion is that you don't need to encapsulate or make the code more readable, since he can read it just fine.
I already tried talking and yelling and teaching him. Any suggestions on how I can get him to change his coding practice?
software-industry software-development coworker
Do you directly work on the same pieces of code?
– Twyxz
12 mins ago
2
Are you his manager? Just because someone codes in a way you don't like doesn't mean they have to change their ways unless it is agreed upon by everyone there.
– Dan
10 mins ago
Answers [workplace.stackexchange.com/questions/74388/… : might give you a hint. The way I was taught is by coercion: your code doesnt make it to master if your PEP-8 (python coding standard) is not clear. My reviewer didn't even care if it compiled as long as it wasn't following the formatting standards.
– BoboDarph
52 secs ago
add a comment |Â
up vote
-2
down vote
favorite
up vote
-2
down vote
favorite
I have a coworker who is a bit older than me and doesn't follow good coding practices. His coding style is like the wild west - no [encapsulation](I already tried talking and yelling and teaching. ), no reviews (aka run from them, commit on master...). His opinion is that you don't need to encapsulate or make the code more readable, since he can read it just fine.
I already tried talking and yelling and teaching him. Any suggestions on how I can get him to change his coding practice?
software-industry software-development coworker
I have a coworker who is a bit older than me and doesn't follow good coding practices. His coding style is like the wild west - no [encapsulation](I already tried talking and yelling and teaching. ), no reviews (aka run from them, commit on master...). His opinion is that you don't need to encapsulate or make the code more readable, since he can read it just fine.
I already tried talking and yelling and teaching him. Any suggestions on how I can get him to change his coding practice?
software-industry software-development coworker
software-industry software-development coworker
edited 10 mins ago
David K
21.4k1276111
21.4k1276111
asked 15 mins ago
Sangoku
1433
1433
Do you directly work on the same pieces of code?
– Twyxz
12 mins ago
2
Are you his manager? Just because someone codes in a way you don't like doesn't mean they have to change their ways unless it is agreed upon by everyone there.
– Dan
10 mins ago
Answers [workplace.stackexchange.com/questions/74388/… : might give you a hint. The way I was taught is by coercion: your code doesnt make it to master if your PEP-8 (python coding standard) is not clear. My reviewer didn't even care if it compiled as long as it wasn't following the formatting standards.
– BoboDarph
52 secs ago
add a comment |Â
Do you directly work on the same pieces of code?
– Twyxz
12 mins ago
2
Are you his manager? Just because someone codes in a way you don't like doesn't mean they have to change their ways unless it is agreed upon by everyone there.
– Dan
10 mins ago
Answers [workplace.stackexchange.com/questions/74388/… : might give you a hint. The way I was taught is by coercion: your code doesnt make it to master if your PEP-8 (python coding standard) is not clear. My reviewer didn't even care if it compiled as long as it wasn't following the formatting standards.
– BoboDarph
52 secs ago
Do you directly work on the same pieces of code?
– Twyxz
12 mins ago
Do you directly work on the same pieces of code?
– Twyxz
12 mins ago
2
2
Are you his manager? Just because someone codes in a way you don't like doesn't mean they have to change their ways unless it is agreed upon by everyone there.
– Dan
10 mins ago
Are you his manager? Just because someone codes in a way you don't like doesn't mean they have to change their ways unless it is agreed upon by everyone there.
– Dan
10 mins ago
Answers [workplace.stackexchange.com/questions/74388/… : might give you a hint. The way I was taught is by coercion: your code doesnt make it to master if your PEP-8 (python coding standard) is not clear. My reviewer didn't even care if it compiled as long as it wasn't following the formatting standards.
– BoboDarph
52 secs ago
Answers [workplace.stackexchange.com/questions/74388/… : might give you a hint. The way I was taught is by coercion: your code doesnt make it to master if your PEP-8 (python coding standard) is not clear. My reviewer didn't even care if it compiled as long as it wasn't following the formatting standards.
– BoboDarph
52 secs ago
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fworkplace.stackexchange.com%2fquestions%2f120800%2fhow-to-teach-an-unwilling-coworker-better-coding-practices%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Do you directly work on the same pieces of code?
– Twyxz
12 mins ago
2
Are you his manager? Just because someone codes in a way you don't like doesn't mean they have to change their ways unless it is agreed upon by everyone there.
– Dan
10 mins ago
Answers [workplace.stackexchange.com/questions/74388/… : might give you a hint. The way I was taught is by coercion: your code doesnt make it to master if your PEP-8 (python coding standard) is not clear. My reviewer didn't even care if it compiled as long as it wasn't following the formatting standards.
– BoboDarph
52 secs ago