Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What is Macker not good for?

good macker
0
Posted

What is Macker not good for?

0

Macker is not for class security. Java’s native access modifiers provide guarantees about information visibility and state integrity — private members are guaranteed to be private, unless a class chooses to expose them. Java can do this because “private” is not only enforced by the compiler, but by the JVM itself. Because Macker is not part of the Java language, it can provide no such guarantees. It is a sanity check, not a security check. (You might use Macker as part of a security audit process, but that’s a different question.) Macker is not a substitute for first-class Java language constructs like access control and strong typing. A good object model should use the language to represent and reinforce its architectural intent, Macker or no. Macker is not meant to enforce nit-picky code formatting conventions, and obviously can’t enforce aesthetic standards like “use conceptually clear names”. Finally, Macker isn’t good if you don’t want to specify your own architectural rules. It

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123