After having seen how to test in R.
Let’s see how to do the same in Python:
Writing a tests-oriented program
A good practice demands that we should try to write our test before we code the program we intended to.
Or at least, try to write the code in a way that is easier to test in the future.
Fighting our natural tendency to write the code you desperately want to write and then the tests.
To do that, follow these guidelines:
Continue reading “Testing in Python”
What is a psychopath? Should I be scared of them? How can I know if somebody is one? Am I one?
These and many others are the questions that Jon Ronson try to answer in this book: The Psychopath Test!
This book is far from the usual philosophical book present here, but I think it is interesting to see another aspect of human mind. It’s interesting to see how genetic and upbringing can produce certain individual completely different from the great majority of human beings.
Ronson started his interest in psychopathy almost by random, by a strange book contained inside an unanimous parcel.
He is not the only one who encountered this mysterious book and, around the world, psychiatric and journalist have already received it.
This episode kicks off a spiral of research, interviews and paranoias
that last for almost two years, and that is summarised in this book.
Continue reading “The Psychopath Test, by Jon Ronson”