3 ms·
> called Rocks (built in Python and shell scripts) Regardless of if it "worked", I think mixing languages in an application is a bad idea, and should be avoide
by anko 13y ago
> called Rocks (built in Python and shell scripts)
Regardless of if it "worked", I think mixing languages in an application is a bad idea, and should be avoided whenever possible. There are a few reasons,
1) maintainability - you're requiring anyone to know more things to maintain the application
2) Attack surface - lots of security bugs come in between boundaries between tools
3) Correctness - it's harder to automate testing
Did you have any sort of automated testing?
Just because shell scripts can do a lot of heavy lifting, doesn't mean they should.
- toomuchtodo 13y ago> Just because shell scripts can do a lot of heavy lifting, doesn't mean they should. Knowing Python or Ruby doesn't mean you should write every system administration task around it. Who writes testing around 50-100 line shell scripts?
- eropple 13y agoI do. I've started using chefspec specifically because I want to ensure that combinatoric functionality outputs the results I expect and want.
- toomuchtodo 13y agoYou're an outlier.
- eropple 13y agoMe being an outlier doesn't make the lol-tests approach any brighter.