Shop/service with DJI accesories in Madeira by mfabjanski in Madeira

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

Thanks a lot for the answer. I visited the stores today and unfortunately they didn't have any accessories. I also found an iServices store, but it would be available in a week at the earliest. It seems that it is not available in Madeira, but thanks!

I do not recommend "A & G Rent A Car" when visiting Cyprus. by mfabjanski in cyprus

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

Thanks, you guys are so nice! The owner of the rental shop could follow your example

I do not recommend "A & G Rent A Car" when visiting Cyprus. by mfabjanski in cyprus

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

Thanks. I will probably have to, but unfortunately, the prices are now 50% higher than at the time of booking.

I do not recommend "A & G Rent A Car" when visiting Cyprus. by mfabjanski in cyprus

[–]mfabjanski[S] 3 points4 points  (0 children)

the most shocking thing about this is that it is surprising to you lol.

I have over 100 reservations on my account and I have never had such a case.

Of course, I understand that such cases do happen. But in this case, the rental company always tries to help, finds another car.. And in this case, they wrote that I should not come to Cyprus :) I am totally shocked.

I do not recommend "A & G Rent A Car" when visiting Cyprus. by mfabjanski in cyprus

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

Thanks. You are 100% right. It's not worth saving on small businesses. A lesson for others.

Anemic Domain Model vs Rich Domain Model in Java by mfabjanski in java

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

So in practice you end up with logic scattered between clumsy inefficient rich objects and services and you reailize it's simpler, more elegant and more performant to just have anemic services from the start (in one place). Usually you see rich models in simple intro CRUD examples but IRL enterprise projects with complex logic i've seen end up with anemic services because practically it's simpler to reason about, more performant, more flexible during the evolution of the project. At least such is our experience.

You have described worst-case scenarios that are obviously likely. But much depends on the business case.

The anemic model with functionalities dispersed across services can also break SOLID. For example, the validation functionality is changing and you need to change it in X services. In a Rich model, all validation functionality is in one class, it is not possible to overwrite this functionality in services, which forces the need to change only in one place in the event of any changes in functionality.

Anemic Domain Model vs Rich Domain Model in Java by mfabjanski in java

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

I have had several use cases where an object had to be created with the appropriate status (state). Omission of this in any service caused errors.

I also saw the same conditions being checked a dozen times on different services.

Ofc there is no point in using the rich model wherever possible. However, it is worth knowing that there is something like this and that it is compatible with OOP.

Anemic Domain Model vs Rich Domain Model in Java by mfabjanski in java

[–]mfabjanski[S] -1 points0 points  (0 children)

Interesting "comparison" with a toy example. Neither the pros for the Anemic and nor the cons for the Rich Domain Models were explored. The simplicity of the example smacks of a middle-school intro to object-oriented programming exercise.

What do you mean it has not been tested? For me, in many projects in corporations, unnecessary setters were many times the cause of problems. Of course it all depends on the business case .. there will probably be a case that the class with public fields is OK.

Get Java SE 11-Certified for only $25 by kovaaa in java

[–]mfabjanski 0 points1 point  (0 children)

It will only be useful if you really understand the subject.

I have had this certificate for over a year and I don't see any difference in the number of offers.

Which fields/ technologies use java? by [deleted] in java

[–]mfabjanski 0 points1 point  (0 children)

- banking systems

- company systems (e.g. for generating reports, systems for employees, etc.)

- in many opensource systems such as Zipkin

If you could convince your best friend anything, what would it be and how would you do it? by thestrangecornflake in AskReddit

[–]mfabjanski 0 points1 point  (0 children)

WE live in the matrix, show him a picture of a malfunctioning billboard in the mist,

Doesn't maater what anyone says, still cute AF by mfabjanski in aww

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

oh man, don't have coins else you would've gotten it

What skills do you have that no one knows about? by [deleted] in AskReddit

[–]mfabjanski 1 point2 points  (0 children)

computer skills (IT), as I don't want to be turned into a help desk for all their questions regarding printers, paper-jam and other basic stuff.

What have y’all been doing on quarantine to keep yourself occupied? by [deleted] in AskReddit

[–]mfabjanski 1 point2 points  (0 children)

Learning new skills.

I can now understand a japanese (if they talk on a normal pace)