![Jakob Jenkov Profile](https://pbs.twimg.com/profile_images/1371020375182696451/GelUL2ui_x96.jpg)
Jakob Jenkov
@jjenkov
Followers
24K
Following
10K
Statuses
8K
AWS Solution Architect at Cloud2, software developer, IT architect, runs https://t.co/s4Vz7PU2CL, Java, Java Champion, web, distributed systems, decentralized systems
Copenhagen, Denmark
Joined June 2009
One of the reasons Java Serialization has "died out" is that it assumes that both the serializing and deserializing code is Java code. Quite often, that is not the case. Often you want to serialize some objects in Java and deserialize them in JavaScript (backend objects sent to frontend). Or - you may serialize some objects in a service, and have the remote client decide what language (C#, Go, Rust etc.) they will be deserialzing the objects in. Or - the client is Java and you don't know what the service is implemented in. The new Java Serialization standard changes this somewhat - allowing you to choose the serialization encoding yourself. But it comes at the cost of not being able to serialize cyclic object graphs... However, we already have lots of APIs in Java that can do precisely this. Do we need one "hardcoded" into Java ?!? #Java
1
4
49
When being serious about Compositional Software Design (designing your code base for composability) - you will often experience these two phenomena impact your code base size: 1) Decompositional Expansion 2) Compositional Contraction First, your code base will expand because you are breaking your code base into many smaller pieces that can be composed together to form solutions. This phenomenon (phase) is what I call the "Decompositional Expansion". Later, your code base will feel like it contracts, meaning it does not grow as fast in size anymore as it did in the beginning. It feels like you can add new functionality with little code (and little effort). This phenomenon (phase) is what I call the "Compositional Contraction". During this phase you are starting to reap the benefits of all those reusable components you created during the Decompositional Expansion. Have you experienced these two phenomena in your code base size growth? βΊοΈ I am covering these phenomena in my upcoming video about Compositional Software Design βΊοΈ Seems like it will be one of my longest videos to date! π«’ #CompositionalSoftwareDesign #CompositionalDesign #SoftwareDesign
0
0
7
@ThePrimeagen AI can be useful at answering questions you might otherwise have to search a lot for answers to using search engines.
4
0
17
@robertbrautigam While that might sound true from an OO theoretical perspective, in practice that is not how we send data between applications today. We do actually (most of the time) just send "bags of data" between computers.
0
0
0