Harry W. on Nostr: I really dislike Utils classes in Java. They never age well, tend to make life very ...
I really dislike Utils classes in Java. They never age well, tend to make life very difficult to test, and spread all over the code like goo.
Avoid them!
(Unless you're writing a library like StringUtils - that's a different kettle of fish)
#Tech #Code #Programming #Java #Architecture
Published at
2023-08-18 09:19:07Event JSON
{
"id": "d9f4bd69c1d745ee48939631a51a2a11a6a0ffd641f62efb610e3f33ea261811",
"pubkey": "2b6dcf21589235efeb64e16f9e71a5f1f2ed2c4a42b94233bc955e66364c5a6b",
"created_at": 1692350347,
"kind": 1,
"tags": [
[
"t",
"architecture"
],
[
"t",
"Java"
],
[
"t",
"Programming"
],
[
"t",
"Code"
],
[
"t",
"Tech"
],
[
"proxy",
"https://mstdn.social/users/hazz223/statuses/110909872373744798",
"activitypub"
]
],
"content": "I really dislike Utils classes in Java. They never age well, tend to make life very difficult to test, and spread all over the code like goo. \n\nAvoid them!\n\n(Unless you're writing a library like StringUtils - that's a different kettle of fish)\n\n#Tech #Code #Programming #Java #Architecture",
"sig": "d0514a28a5efe1c2fe74f334882d744adaed073c7ffce5f5b0ba421ddc389a3f4d29b0f68ce918cc854cf51534d69586585373ead32b80fa125b8196ab1b5f44"
}