Live data from Hacker News

Using the 5S Principle in Coding

santhoshsundar.medium.com

51–55 of 55 posts

Re: Using the 5S Principle in Coding

#51
post #14

When I used to work in manufacturing, my company was super into Lean. I even ended up getting an ASQ Six Sigma Green Belt certification. My favorite thing to say to people when they asked what 5S stood for was "Shove Stupid Shit Someplace Secret". In my experience, that wasn't an entirely inaccurate interpretation. Joking aside, I think this article does a decent job of translating Lean manufacturing principles to co…

> "Shove Stupid Shit Someplace Secret" This sums up the broad concept of Compliance and security in general. The people who pretend to care about compliance (i.e. management) don't have the technical know-how to grok the implementations by those who pretend to implement said compliant systems. There isn't remotely enough QA/red-teaming (expensive to do in a bias-free manner), most of the time all you need to do is sc…

I work on software for the healthcare industry, and recently found out about PHI (private health information) insurance. Basically they pay out if you suffer a breach,

The part I found interesting is that the premiums vary based on their assessment of your practices. This strongly aligns their incentives with actual best practices when evaluating your systems, as they are on the hook financially for any breach.

Re: Using the 5S Principle in Coding

#52
post #45

Earlier quoted context omitted.

Every time I get involved in a project it seems to start with this neatly organised tree where everything is squirreled away. By contrast my own systems are often just one giant folder. Conceptually I'm just not bothered by large directories with 20000 files. And I'm happy to mix files of different types in one folder (OMG .c files and .ico files in the same folder like a barbarian!!!) I find the system is simple, an…

It maybe that this works for you individually, but does it work well as part of a team? I think it's one of those cases where one needs to do what is convenient for most of the team rather than one member?

Are there people for whom it works better to have nearly as many folders as files?

Re: Using the 5S Principle in Coding

#53

`/organisms/` What?

https://atomicdesign.bradfrost.com/images/content/atomic-des...

Hm. Hard to add middle layers to that unless you have e.g. tissues, organs.

I propose going back to line numbers. Start with 1000, 2000, 3000. Sub-divide as needed.

Re: Using the 5S Principle in Coding

#54
post #49

`/organisms/` What?

Yeah, I've encountered people who insisted on using this structure. I was not too fond of it.

Honestly it's just a nomenclature or convention to define hierarchies. I've had certain projects where it was useful to get teams aligned on how to view a particular project. That being said, sometimes it's also heralded as something super life changing, which it isn't.

Re: Using the 5S Principle in Coding

#55

Earlier quoted context omitted.

In general, problems are much easier to solve when you have them, than when you try to guess what they will be.

This is a good generalization but I worry that it's too broad. I.e. if your lifeboat is sinking, it's too late to find a better lifeboat.

But at that point your problem isn't needing a better lifeboat, the problem is why it's sinking. At this point solving the problem of why it's sinking is the problem you've got, solving it before you had that problem seems silly.
Post reply on HN