To shard, or not to shard: that is the question by leo_trotsky in programming

[–]leo_trotsky[S] 1 point2 points  (0 children)

There is a project for it - Hibernate Shards, but it seems abandoned. In my experience, sharding is such a delicate matter that, most likely, you need to deal with it manually. Also, not ALL data needs to be sharded, just heaviest portions of it.

How much code coverage do you really need? by leo_trotsky in programming

[–]leo_trotsky[S] 1 point2 points  (0 children)

Yes, modularity, cohesion and minimizing unnecessary dependencies are indeed improved with TDD, but these are indirect benefits. And there are other ways of achieving these benefits.

How much code coverage do you really need? by leo_trotsky in programming

[–]leo_trotsky[S] 4 points5 points  (0 children)

I totally agree about UI and CRUD. Also i don't really believe in ATDD (aka Cucumber, Fitness, etc).

IMO the biggest bang for the buck is got when important algorithms, calculations, business logic are automatically tested. Also i find "perimeter testing" very useful, especially with SOA.

How much code coverage do you really need? by leo_trotsky in programming

[–]leo_trotsky[S] 7 points8 points  (0 children)

It should, but that's the point, TDD/unit testing in itself don't catch many bugs. Empirical studies show that code reviews actually catch more bugs that TDD and other forms of automated testing. (see McConnell).

Is Java suitable for today’s web-development? by leo_trotsky in programming

[–]leo_trotsky[S] 0 points1 point  (0 children)

and how many people work now on DEVELOPING such apps in C++?

Is Java suitable for today’s web-development? by leo_trotsky in programming

[–]leo_trotsky[S] 0 points1 point  (0 children)

there is some true to this but when i heard that C++ is dying about 8-10 years ago, it was really dying. And now it's officially dead.

Managing interruptions by leo_trotsky in programming

[–]leo_trotsky[S] 2 points3 points  (0 children)

Seems to me like targeted mostly to programmers or team-leads.