Readit News logoReadit News
msiyer commented on C# vs. Java int: Primitive type semantics, runtime behavior and tribal knowledge   msiyer.com/csharp-vs-java... · Posted by u/msiyer
pragmatic · 6 days ago
Wow very indepth.

This used to be (and still is in some circles) a hot topic.

.net had the benefit of coning second and fixed a lot of java's design issues. It really use a better java.

Of course in the days of JavaScript desktop apps and python, people just don't need to pay attention to perf as much for better or worse.

msiyer · 6 days ago
Thank you! Happy to see a positive comment. Took a lot of effort.

I like long-form writing. However, it takes a lot of effort. So, I end up not writing often.

It is a hot topic especially among polyglots who have to deal with the same word meaning different in different languages.

msiyer commented on Good system design   seangoedecke.com/good-sys... · Posted by u/dondraper36
lutzh · 9 days ago
The only thing I know about “good system design” is that it doesn’t exist in the abstract. Asking whether an architecture is good or bad is the wrong question. The real question is: Is it fit for purpose? Does it help you achieve what you actually need to achieve?

I could nitpick individual points in the article, but that misses the bigger issue: the premise is off.

Don’t chase generic advice about good or bad design. First understand your requirements, then design a system that meets them.

msiyer · 9 days ago
... that is how you achieve a good design (for the time being).
msiyer commented on Good system design   seangoedecke.com/good-sys... · Posted by u/dondraper36
msiyer · 9 days ago
> Avoid having five different services all write to the same table. Instead, have four of them send API requests (or emit events) to the first service, and keep the writing logic in that one service.

The ideal solution: Avoid having five different services all write to the same table.

If five different services have to write to the same table, there is a major overlap of logic too. Are the five services really different or one would suffice?

Taking practical realities into consideration, we can do what the author says. However, we risk implementing a lot of orchestration logic. We introduce a whole new layer of problems. Is that time not better spent refactoring the services: either give them their own DB tables or merge them into one servic?

msiyer commented on C# vs. Java int: Primitive type semantics, runtime behavior and tribal knowledge   msiyer.com/csharp-vs-java... · Posted by u/msiyer
mwkaufma · 10 days ago
GenAI red flags.
msiyer · 10 days ago
move on.
msiyer commented on C# vs. Java int: Primitive type semantics, runtime behavior and tribal knowledge   msiyer.com/csharp-vs-java... · Posted by u/msiyer
msiyer · 10 days ago
A Reddit debate over C# vs. Java int, sparked by a Microsoft engineer’s claim that C#’s int is a primitive, revealed confusion amplified by `Type.IsPrimitive`. This led to the Lₐₓ/Lₐₜ/R (LAX/LAT/R) taxonomy: a framework to classify types by their language-level, atomic, and runtime properties, resolving disputes rooted in specs and tribal knowledge.

Deleted Comment

msiyer commented on Show HN: Ritt – Tag-centric file manager   ritt.app/... · Posted by u/chenxy88
msiyer · a year ago
This looks cool. However, anybody interested in a cross-platform option can look at https://www.tagspaces.org/
msiyer commented on Gerald Sussman: Programming is (should be) fun (2022) [video]   youtube.com/watch?v=2MYzv... · Posted by u/nequo
danybittel · a year ago
Oh I love this: "I use programs as a way of remembering stuff. My memory is the programs I write. If I learn something math or physics or some other maybe biology and I write a program that represent that so I can read the program later it's not ambiguous, easy to read and that way I sort of store my knowledge."
msiyer · a year ago
Learning biology to understand software-system concepts is underrated. For example:

- the way pain-killers work tells you a lot about how keyloggers or man-in-the-middle attacks work

- look at how DNA "syntax checking" happens during mitosis to learn about compiling in general

- a puppy swallows whatever it sees; this gives the immune system enough test data about the surroundings etc. (similar to ML)

- a huge amount of cyber-security concepts can be understood by learning biology

u/msiyer

KarmaCake day181April 5, 2014View Original