Remix.run Logo
▲ cobbzilla 2 hours ago

this comment made me laugh

> Soon he will achieve the fabled Class AbstractSingletonProxyFactoryBean

▲xyzsparetimexyz an hour ago | parent | next [-]

I never worked out what a Bean was

▲rybosome an hour ago | parent [-]

A Bean was a specific type of Java class that only consisted of getters, setters, and plain fields. A data class.

This was from early days in Java, and I think the predominant use case was for code generation. Things like databases, etc. - you'd get generated Bean-style classes.

▲WatchDog 39 minutes ago | parent [-]

Colloquially and in all of the Java codebases I ever worked on your description of what a bean is is essentially correct, but it's not really the full meaning.

JavaBeans and Enterprise JavaBeans, were both standards that have quite a bit more functionality.

https://en.wikipedia.org/wiki/JavaBeans https://en.wikipedia.org/wiki/Jakarta_Enterprise_Beans

▲contingencies an hour ago | parent | prev [-]

For the youngsters, this is aimed at the 1990s object oriented obsession as typified by enterprise Java architectural consulting manager speak; of which this guy is a virtual progenitor. And yes it's funny. Best quote on OO:

The problem with object-oriented languages is they've got all this implicit environment that they carry around with them. You wanted a banana but what you got was a gorilla holding the banana and the entire jungle. - Joe Armstrong