Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Couldn't agree more. I'm a sysadmin living in a powershell world right now, and the ability to abstract away "things that mostly behave like filesystems, but aren't” behind some classes with standard interfaces is extremely useful, as it clarifies the actual logic of the code a lot, and means I can support different backends usually with just a new class

I absolutely could have done it without classes, in fact I did that first, until it clicked that I really was doing things the dumb way.

Everything else is a bag of functions.. its only a couple of thousand lines of code, but limited OO was still very useful, and to me, more elegant



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: