de en es fr nl pl pt sv zh

best-practices

Handle Errors Once

adragon

Today at $work, an interesting quirk of humans and error handling came up. The code I was asked to review included something like try: some_operation() except Exception as e: log.exception("Oh noes!") raise SomeOtherException() from e Which on the surface makes sense. We try to do a...

I May Be Doing it Wrong, But I Have My Sanity

John Kary

Marco Tabini recently wrote on the php|architect blog that "programmers are doing it wrong." He argues that many programmers have become hung up on writing mythical perfect code that abides by all modern best practices instead of doing what we are hired to do: solve problems quickly and...