Invaluable Helpers

Posted on July 28, 2008
Filed Under Programming |

Programmers have help.

Thousands of tools have been created to make our lives easier when we are organizing, designing, coding, debugging, unit testing, regression testing, and maintaining.

I’m under no illusion that I’m using the best tools imaginable, but I sure as hell rely on a few supporting characters:

import socket
s=socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.bind(('localhost',12345))
s.listen(5)
while 1:
    c, a = s.accept()
    data = s.recv(1024)
    if data:
        print data
        client.send(data)
    client.close()

What do you use?

Popularity: 12% [?]

Comments

3 Responses to “Invaluable Helpers”

  1. Jake on July 28th, 2008 3:04 am

    I find that [quickly erased] print statements can sometimes be as helpful as a full gdb session, but take far less time (especially when I’m working on someone else’s setup).

  2. Erika on July 28th, 2008 11:12 pm

    PyChecker is necessary for getting any but the most trivial of Python programs correct.

  3. Evan on August 1st, 2008 10:20 am

    Lua for little scripting tasks (for instance, I wrote a server really similar to your Python example for my last project.)

    Beyond Compare 2 for diffs.

Leave a Reply