47

Thanks python for solving a task in 20 lines of code

Comments
  • 5
    Haha, 46 in my case. Testing TCP connections on all outbound ports from 1 - 65535 behind firewalls :)
  • 3
    @filthyranter mine was changing a number in every line of every file in a folder
  • 0
    I'm still learning it but the syntax is really rather compact and nice to work with. Clear code and lacking having to do matching brace checks constantly like in other languages is refreshing!
  • 5
    @arcadesdude i fucking hate that i cant see the logical block fron the braces tho
  • 1
    This is one of the reasons I love Ruby so much 😊
  • 4
    Its the wielder who is powerful. So thank yourself to make it possible within 20 lines
  • 2
    @py2js thank you devrant user sharktits for solving a problem in 20 lines
  • 2
    Or rather, thanks python libraries :)
  • 1
    @Cyanide only thing i used was the os library and its stl so
  • 0
    I once had to rewrite an existing binary that was several megabytes large to fit it into the new software landscape we were building. Yep, about 20 lines of python did the trick.
Add Comment