News for hackers. Stuff that matters.
Re:Slack is the opposite of organizational memory by smt88 on Sunday February 11, 2018 @09:25PM (#16356102)
> it's about discipline

I've moved my teams away from "discipline" as a solution. How many times has someone said "I'll stop doing this" or "it won't happen again" and then it does?

Discipline might work for one person (usually the one making the rules), but I've found that it's impossible to get a team to be uniformly disciplined. Even if you can do it, it's extremely time/labor-intensive.

There are many tools demonstrating that discipline doesn't work, such as Chrome add-ons that block Facebook. Even when someone understands they need to be disciplined and want to be, sometimes they just can't.

Some examples of replacing discipline with hard boundaries:

- using only languages with static typing

- rejecting commits with messages less than 3 words long

- rejecting commits without tagged issue(s)

- formatters (similar to gofmt) instead of a style guide

Re:Slack is the opposite of organizational memory by rdiddly on Monday February 12, 2018 @02:24AM (#16357105)
- not having a bag of goddamned Oreos in the house when you're on a diet.

"Aww, all it takes is a little discipline." Yeah or I can set myself up to succeed.

Re:Slack is the opposite of organizational memory by NLips on Monday February 12, 2018 @04:58AM (#16357672)
This seems to me like an incredibly good example, and I've no idea why people would be downvoting it. The GP programming / technical examples are potentially easier for the reader to think "well sometimes I'd want to break that rule because X", whereas this example makes it obvious, and brings up "setting yourself up to succeed".

Good contribution, rdiddly.

Re:Slack is the opposite of organizational memory by rdiddly on Monday February 12, 2018 @10:27AM (#16359182)
Thanks, yeah the point is to use discipline further upstream. Use discipline once at the outset to permanently avoid influences that require discipline over and over again.
Re:Slack is the opposite of organizational memory by mvindahl on Monday February 12, 2018 @07:33AM (#16358192)
The last couple of places that I have worked also had a number of sensible rules in place to ensure quality. E.g. - never commit directly to master, always create a PR from a branch - always make sure tests are green before merging - branches should be traceable to JIRA IDs - checklists in JIRA - etc.

Apart from the checklists, which people tend to skip, most of it makes sense. Running everything through a pull request is a good example of something which slows down the process but which is still worthwhile IMHO.

That being said, I really dislike when too many of these constraints are enforced by the technology. In coding, like in driving a car, there are times when common sense overrides traffic rules. Sometimes, even in the best and most diligent teams, the build server turns red. In that situation you just need to quench the fire ASAP to keep it from spreading. You don't want to create a task in JIRA, you don't want to create a branch, you don't want to involve your colleagues in pull requests, and you don't want to wait for a hour for unit tests to pass. You just want to apply the simple fix or revert the commit.

And that's why I prefer moderate social pressure over some algorithm enforcing stuff. A good team will know why the rules are there, they'll be professional enough to stick to them 99% of the time, and they'll also be professional enough to break them the last 1% of the time.

Re:Slack is the opposite of organizational memory by smt88 on Monday February 12, 2018 @08:54AM (#16358513)
> * In coding, like in driving a car, there are times when common sense overrides traffic rules.*

Definitely. It's possible to override any of these things in our setup. Most of them can be overridden by the person doing the coding, but a few of them require the team leader's approval.

If the rules are overridden, it's logged in our issue-tracking system, and we can discuss whether it makes sense to keep the rule or get rid of it.

Re:Slack is the opposite of organizational memory by fapjacks on Monday February 12, 2018 @06:11AM (#16357923)
> It's impossible to get a team to be uniformly disciplined.

Not if you hire veterans.

Re:Slack is the opposite of organizational memory by smt88 on Monday February 12, 2018 @08:51AM (#16358496)
My least-experienced team member has 10 years of experience. The others have 20 years of experience.

Veterans make mistakes, just like all other humans. Sometimes they're sleepy or distracted or don't have enough time to think what they're doing through.

Also, veterans are more likely to have their own ideas about how to do things, and some aren't easy to compromise with.

Either way, why should I leave it up to chance when there are automated tools that prevent mistakes before they leave someone's desk?

Re:Slack is the opposite of organizational memory by fapjacks on Monday February 12, 2018 @10:29PM (#16364506)
But you weren't talking about mistakes, being sleepy or distracted, or not having enough time to think through things. You also were not talking about leaving things up to chance. You were talking about discipline and I asserted that one way to get "uniformly disciplined" employees is to get employees from the other side of a thing that uniformly disciplines them, i.e. the military.