News for hackers. Stuff that matters.
Re:Designing state machines by troels on Wednesday June 28, 2017 @04:44PM (#14658191)
Well.

I'll call it idiomatic form to use OO style in Ruby, which the article (and my examples) were written in. Considering the interpreted and managed-memory model of the language runtime, it is utterly pointless to worry about a few object instances. Heck, this is a language where primitives are objects.

I suspect we work in quite different areas though, which probably gives us very different perspectives of what matters. The kind of applications I build on a daily basis, deal with business processes, and integration with external systems. I/O is going to be 90% of my machines load, if it's ever doing any real work in the first place. Most of the time it'll just sit waiting for a human to do something though.

Re:Designing state machines by rebootthesystem on Friday June 30, 2017 @10:21PM (#14674977)
Well, of course, "When in Rome do as the Romans".

Not saying OO has no place. Of course not. That would be crazy.