DEV Community

Discussion on: Simulating OOP in Bash

Collapse
 
cicirello profile image
Vincent A. Cicirello

I don't think you are just simulating OOP here. Very nice demonstration that OOP doesn't necessarily require a language that was designed for OOP (although it helps).

Collapse
 
leandronsp profile image
Leandro Proença

Indeed, after all it's all about abstractions. We developers only see abstractions.

At some point, even in a language designed to support OOP, under the hood the implementation is somehow similar to what I demonstrated here.

Collapse
 
cicirello profile image
Vincent A. Cicirello

Exactly.