News for hackers. Stuff that matters.
Re:Goodbye Microservices: From 100s of problem children to 1... by hinkley on Tuesday July 10, 2018 @12:59PM (#17499948)

    unless they have 100 developers for 100 services.
That cure is worse than the disease. Every service works differently and 80% of them are just wrong, and there’s nothing you can do because Tim owns that bit.
Re:Goodbye Microservices: From 100s of problem children to 1... by noir_lord on Tuesday July 10, 2018 @01:06PM (#17500038)
Not to mention you have 2^100 states of on/off (~1.2676506e+30)
Re:Goodbye Microservices: From 100s of problem children to 1... by hinkley on Tuesday July 10, 2018 @04:21PM (#17501759)
I work on that project. Every time some idiot starts talking about 'code coverage' my face turns red. Our code coverage is 1e-10%. Don't talk to me about this 70% bullshit.
Re:Goodbye Microservices: From 100s of problem children to 1... by inetknght on Wednesday July 11, 2018 @10:08AM (#17506992)
Said with less vitriol:

It's not just code coverage that matters. It's the code path selection that matters. If you have a ton of branches and you've evaluated all of them once then yeah you sure might have 100% "coverage". But you have 0% path selection coverage since a single invokation of your API might choose true branch on one statement, false branch on another statement, and a second invokation might choose false branch on the first and true on the second.

While the code was 100% tested, the scenarios were not. What happens if you have true/true or false/false? That's not tested.

There's a term for this but I forgot what it is and don't care to go spelunking to find it.

Re:Goodbye Microservices: From 100s of problem children to 1... by mosheroperandi on Thursday July 12, 2018 @10:35PM (#17520122)
> There's a term for this but I forgot what it is and don't care to go spelunking to find it.

sqlite calls this "branch coverage"

https://www.sqlite.org/testing.html#statement_versus_branch_...

Re:Goodbye Microservices: From 100s of problem children to 1... by piaste on Wednesday July 11, 2018 @11:03AM (#17507459)
> There's a term for this but I forgot what it is and don't care to go spelunking to find it.

Happy path?

Re:Goodbye Microservices: From 100s of problem children to 1... by inetknght on Wednesday July 11, 2018 @11:25AM (#17507637)
Not quite what I meant, but that's another good description
Re:Goodbye Microservices: From 100s of problem children to 1... by joeax on Tuesday July 10, 2018 @07:18PM (#17503048)
At this point you're over-granularizing your services into nanoservices, which is an anti-pattern.
Re:Goodbye Microservices: From 100s of problem children to 1... by kolpa on Tuesday July 10, 2018 @02:04PM (#17500623)
How does the service architecture affect that? Tim could be as protective of a code file as he is of a service. At least with a service you could work around it.
Re:Goodbye Microservices: From 100s of problem children to 1... by cloverich on Tuesday July 10, 2018 @02:38PM (#17500936)
One way is that with different services, its more likely to have both a different language, framework, and paradigms -- that perhaps only Tim is familiar with (that's been my experience). Its definitely got a different repo, perhaps with different permissions.
Re:Goodbye Microservices: From 100s of problem children to 1... by topicseed on Tuesday July 10, 2018 @01:05PM (#17500022)
But if you can explain to the team or the CTO why Tim is doing it wrong and how it is impacting X, Y and Z, then Tim will fix or be sent else where, no?
Re:Goodbye Microservices: From 100s of problem children to 1... by hinkley on Tuesday July 10, 2018 @01:17PM (#17500163)
Tim accuses everyone else of being lazy or stupid.

Tom (real guy) was too busy all the time to do anything other than the 80/20 rule. He was too busy because he didn't share. So of course he was a fixture of the company...

Re:Goodbye Microservices: From 100s of problem children to 1... by kofejnik on Tuesday July 10, 2018 @01:08PM (#17500069)
but the CTO is a nice guy who just had a management training, so instead, both you and Tim are sent to a mandatory conflict resolution class
Re:Goodbye Microservices: From 100s of problem children to 1... by VintageCool on Wednesday July 11, 2018 @02:27AM (#17504840)
Each developer works in their own little silo and doesn't bother to learn the code outside their silo. Each team member developers their own idiosyncratic style. If they have to work with someone else's code, it's unfamiliar and they make slow progress and get cranky.

Now all the developers are going to the CTO or CEO and undermining the other developers, trying to persuade the CTO that so-and-so's code is shit.

Re:Goodbye Microservices: From 100s of problem children to 1... by 0xEFF on Tuesday July 10, 2018 @03:56PM (#17501516)
No, not unless you’re somehow able to make the team, the CTO and Tim feel good at the same time. If you figure that part out let me know.
Re:Goodbye Microservices: From 100s of problem children to 1... by topicseed on Tuesday July 10, 2018 @06:52PM (#17502898)
But if Tim's work is so bad that you can prove it..... How can a boss dodge the proof? I guess Tim should be fired second, the boss should go first...
Re:Goodbye Microservices: From 100s of problem children to 1... by flukus on Tuesday July 10, 2018 @08:40PM (#17503496)
> How can a boss dodge the proof?

This is a business decision, reality has no influence here.

That's why they invented the term "Business reality".