HackerTrans
TopNewTrendsCommentsPastAskShowJobs

joaonmatos

no profile record

comments

joaonmatos
·4 tháng trước·discuss
This is not much different than CloudWatch metric events. At Amazon we output a service log or Embedded Metrics Format event with these things.
joaonmatos
·8 tháng trước·discuss
Prof. Jaime Villate taught us physics at U. Porto and made heavy use of Maxima. Good times :D
joaonmatos
·9 tháng trước·discuss
Another fine day to be using Brazil
joaonmatos
·11 tháng trước·discuss
Sometimes I feel we Amazonians are in a parallel world when it comes to building and deploying.
joaonmatos
·năm ngoái·discuss
In this scenario, the US parent company does not have physical access to the data, so it needs to request it from the EU subsidiary. The subsidiary then refuses the transfer to comply with German law.
joaonmatos
·năm ngoái·discuss
The goal is to design the services and corporate structure in such a way that, if the parent company was forced by US law to try to get ESC data, the operator would be forced by EU law to not comply. In extremis, the partition would be shut down, rather than release the data.
joaonmatos
·năm ngoái·discuss
As an Amazon employee, this is the kind of discussion that makes me glad we have the Brazil build system.
joaonmatos
·năm ngoái·discuss
I think we're moving past this fear, thankfully. When you look at newer Java features (records, destructuring, value types) you see that even in the most stereotypical OOP language we are developing a language to describe both behavior (what we always had, with SOLID and domain classes and so on), but also a lightweight language to operate on pure data.
joaonmatos
·năm ngoái·discuss
I agree with the article for the most part (except the last snippet where the author reverted to bare, mutable fields), but the point was very badly argued.

I think we really need to consider that sometimes you want a place to hold together data, and some other times you are encoding some behavioral trait, and prior to records Java did not have a way of distinguishing between them.

My rule of thumb is to avoid exposing data in behavioral classes, and prefer immutable patterns for data holders. But sometimes it's not possible to not have setters (e.g. for builders and for JPA entities).
joaonmatos
·3 năm trước·discuss
It is the exact same situation, though. Most people can just chain a sort and a binary search to do it, and both are included in most languages. Or just put it into a tree map, if your language has it.
joaonmatos
·3 năm trước·discuss
Are you even manually implementing sorts frequently?

Even languages that are notorious for having tiny libraries, like C and JS, have built-in sorts.