Home Coding sucks.
Post
Cancel

Coding sucks.

Today I’ve lost one hour of my time debugging a program because I confused strip with lstrip.

What I’ve learned from this?

Naming is important.

Also

There should be one– and preferably only one –obvious way to do it. “Python Zen”

is not always true, even in standard python libraries.

Is this going to happen again?

While I’m 90% sure that I’m not going to fail again in this same error, I’m 100% sure that I’m going to fail in similar errors.

Conclusions

Coding sucks. Also, don’t trust anyone who ask you to write code without consulting the documentation. Also, read the documentation if you’re not sure about something.

This post is licensed under CC BY 4.0 by the author.

Training TensorFlow models with big tabular datasets (i).

Training TensorFlow models with big tabular datasets (ii)

Comments powered by Disqus.