HN user

daanluttik

20 karma
Posts1
Comments13
View on HN

Pydantic is great for parsing input either from api's or user input. You often want these runtime checks. But I would argue that the benefits lowers when you are not talking about cross-system interfaces

If you use it in conjunction with mypy it definitely saves you from alot of real word issues. In addition, it is also an amazing way of documenting an important element of your code. And annotations van be used by modules (like pydantic) to get even more use. Improvement to anotations have been the biggest improvement in python since 3.6 imho.

I always feel like the counts for Christian branches provide an extremely skewed view. Since it's faily common for people to count themselves as Catholic or Orthodox simply due to their upbringing (even when they don't believe there is a God) on the other hand people who consider themselves Protestant almost exclusively don't just believe in God and the authority of the Bible but usually wont consider themselves Protestant without having made a formal choice to follow Jesus and join a church (whatever that means from within their denomination).

I think that if you only count Catholics, Orthodox and Protestants who believe in God, the authority of the Bible Protestants suddenly become a majority possibly a very large majority.

I might be wrong in this; I grew up in the Netherlands where officially we have 20% Catholics and 15% Protestants but although I live in one of the most "Catholic" places of the country I havent encountered a single Catholic that goes to church exept for on eastern and chrismas (and then they usually do it to please family, and yes I thought for a while if it is really not a single one). On the other hand everyone I encountered who calls himself a Protestant meets that more strict definition I talked about above. And Ive heard similar stories from international students in my university.

But again I might be very wrong and am definitely open to data that proves me otherwise.

I have always preferred the cleanness of android over thr imho weird ui design of iOS. I get that people loved the hardware esthetics of iPhones over android phones but not the software esthetics. At least nog since material design started. The weirdness of ios having to put blur on everything rather than just having one clean background color. The weird need to have everything be a rounded rectangle with gradient. And Id also give android the lead in whitespace use and a slight edge in font.

How would you apply incentives to things like not providing (any/the propper) documentation for something you bought using the company card?

This seems to be quite easy to do for bad code; you just have them rewrite it. But especially for the things that are not a persons primary work it feels like "apply incentives better" is more easily said than done.