Re:Exposed DeepSeek database leaking sensitive information, ...
by tonyedgecombe on Thursday January 30, 2025 @08:26AM
(#42877466)
> No it’s from a book called design patterns
I think you will find most Java programmers were using these patterns before they came across the book. The language naturally leads you in that direction. The book just put a name on them.
Re:Exposed DeepSeek database leaking sensitive information, ...
by igouy on Thursday January 30, 2025 @12:00PM
(#42879670)
September 17, 1987 "Using Pattern Languages for Object-Oriented Programs"
Re:Exposed DeepSeek database leaking sensitive information, ...
by brandonmenc on Thursday January 30, 2025 @10:03AM
(#42878398)
The book was published in 1994 with examples in C++ and Smalltalk.
Java was released in 1995.
Re:Exposed DeepSeek database leaking sensitive information, ...
by ninetyninenine on Thursday January 30, 2025 @11:15AM
(#42879178)
Yes oop was and still is religiously followed by many. But during that time it was new and thought of as revolutionary.
Re:Exposed DeepSeek database leaking sensitive information, ...
by tonyedgecombe on Friday January 31, 2025 @12:25PM
(#42889578)
My mistake, I misremembered it.
I’m working for a company that’s doing things in typescript using IOC and dependency injection everywhere. It pervades the minds of Americans such that they walk and talk like a parrot parroting that book.
What Americans don’t realize is that those patterns are arbitrarily made up. It’s as arbitrary and localized as the Japanese having to bow for politeness. There’s nothing intrinsically hugely beneficial for following this style. In fact, modern languages push against it. Languages like golang and rust are examples. Even JavaScript was an example although recent es6 syntax makes patterns more easier now