Hibernate-style coding?
-
Hello guys, What was the name of the coding style used a lot in Hibernate? I mean, where you would have several calls in one single instruction, as in:
SomeType obj = SomeClass.createInstance()
.SomeMethod()
.SomeOtherMethod()
.OneLastMethod();I remember reading an article somewhere on the internet, but i can't find it back. Thanks!
-
Hello guys, What was the name of the coding style used a lot in Hibernate? I mean, where you would have several calls in one single instruction, as in:
SomeType obj = SomeClass.createInstance()
.SomeMethod()
.SomeOtherMethod()
.OneLastMethod();I remember reading an article somewhere on the internet, but i can't find it back. Thanks!
-
Hello guys, What was the name of the coding style used a lot in Hibernate? I mean, where you would have several calls in one single instruction, as in:
SomeType obj = SomeClass.createInstance()
.SomeMethod()
.SomeOtherMethod()
.OneLastMethod();I remember reading an article somewhere on the internet, but i can't find it back. Thanks!
If the chain reads like natural language, then the term for it now-a-days is "fluent programming."
"we must lose precision to make significant statements about complex systems." -deKorvin on uncertainty
-
If the chain reads like natural language, then the term for it now-a-days is "fluent programming."
"we must lose precision to make significant statements about complex systems." -deKorvin on uncertainty
-
Glad I could help!
"we must lose precision to make significant statements about complex systems." -deKorvin on uncertainty