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

i think its not fair comparison. mv command implementation in 'C' might have more lines of code. Maybe we should complain that there are no OOTB library functions in python to move the file.


I don't really care how many lines of code there are in an implementation. I care how many lines of code I actually have to write.

Python has shutil.move and os.rename but the Ansible example is to illustrate that there's a lot of code that needs to surround those calls to make them useful and they're not 1-1.




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

Search: