News for hackers. Stuff that matters.
Re:Vulnerable industrial controls directly connected to Inte... by pmlnr on Monday January 29, 2018 @06:54AM (#16256940)
OOP isn't always needed. Most of the PCLs are very simple state machines where there really is no actual use for inheritance, or even encapsulation.

It it true though that the mindset is decades behind the web-oriented world.

Re:Vulnerable industrial controls directly connected to Inte... by digi_owl on Monday January 29, 2018 @12:40PM (#16259097)
Then again the web oriented world all too often come across as architecture astronauts...
Re:Vulnerable industrial controls directly connected to Inte... by WillReplyfFood on Monday January 29, 2018 @07:43AM (#16257125)
Its simple at the start. And sorry, but with the stuff i work, its usually not enough.

OO would allow for easier code reuse, by composing objects out of pre-existing objects, something that is usually done by copy paste today. OO would enforce encapsulation and prevent global periphery fondling by serveral free running state-charts, where its really tough to find out, who in what order did flip the switch and cause a crash in 1 of 1000 runs of machinery.

List goes on... Sorry, but for my use cases the complexity is usually not completely avoidable.