News for hackers. Stuff that matters.
Re:Monolith First (2015) by lmm on Friday February 19, 2021 @04:29AM (#26191185)
> It can be easy implemented in other lang/frameworks as well.

No it can't, it relies on the runtime being capable of fairly strong isolation between parts of the same project, something that is a famous strength of Erlang. If you try to do the same thing in a language like Python or Ruby with monkeypatching and surprise globals, you'll get into a lot of trouble.

Re:Monolith First (2015) by ergo14 on Friday February 19, 2021 @04:47AM (#26191283)
Weird, we do it with Python all the time. Just don't use globals/threadlocals everywhere and you will be good.
Re:Monolith First (2015) by lmm on Friday February 19, 2021 @04:49AM (#26191292)
As long as you're not using any libraries/frameworks that use them.
Re:Monolith First (2015) by ergo14 on Friday February 19, 2021 @05:53AM (#26191704)
I don't think we've ended up with libs that share state in a dangerous way, maybe we got lucky.
Re:Monolith First (2015) by lmm on Saturday February 20, 2021 @09:36AM (#26204357)
Modules are global singletons, class definitions are global singletons. Monkeypatching is less common in Python than Ruby but I'd still consider it a significant risk.