DISQUS

DISQUS Hello!  The comments on this profile are unclaimed and thus are unverified.

Do they belong to you? Claim these comments.

Sergio Bossa's picture

Unregistered

Feeds

aliases

  • Sergio Bossa

Sergio Bossa

2 weeks ago

in Unit testing tricks: Look ma, no setters! on Thinking inside a bigger box
Hi Johannes,

it's a neat trick, but I still prefer to separate the domain object interface from its concrete implementation, and than add all required setters/getters to the latter.

By doing so, if you program by interfaces your domain code will only see methods from the interface (so no breaking encapsulation), while you will be able to still use setters/getters in your test code (nothing bad about that, tests are there for testing actual implementations).

Cheers,

Sergio B.

2 years ago

in The Joys and Sorrows of Exceptions on Thinking inside a bigger box
Hi Johannes,

thanks for your good write up about exception handling, IMHO a very hot argument.

However, what you miss is IMHO how to deal with business exceptions: a very important question that may deserve a whole post ;)

Probably they are those exceptions you say "you are required to deal with" ... I'd like to know more from your opinion and experience.

Cheers!

Sergio B.

2 years ago

in Myopic Software Development on Thinking inside a bigger box
Hi Johannes,

I agree with you in many points: yes, we surely tend to look too much toward what will happen in the future.
I just disagree when you say that instead of creating elegant solutions we should keep everything simple; yes, everything should be kept as simple as possible, but this doesn't exclude good, elegant and reusable solutions: there should be some kind of middle ground.

Moreover, I think that up front development and testing of the domain model, in isolation with other layers, helps in focusing to current, real, requirements, because coding the domain model is all about solving your real problems.

My 2 euro cents.

Cheers,

Sergio B.

3 years ago

in TSS JS Europe Recap on Thinking inside a bigger box
Hi Johannes.

> The conference was in Barcelona, which was interesting, because hardly
> anyone
> (taxi drivers and waiters included) understand English here. It’s the first time
> where I’ve been a place where I am totally unable to communicate verbally with
> people around me.

I've been in Barcelona on holiday some years ago and I've had the same experience ... luckily, I'm Italian and Spanish people seem to understand Italian better than English :)

> Object-based queries
> Lazy loading

Very interesting.
I hope to read more, giving you my ideas and thoughts.

Regards,

Sergio B.
Returning? Login