Hacker News new | ask | show | jobs
by f0e4c2f7 1666 days ago
I don't know that I agree on the container and person approach for everyone but I appreciate you writing an article on this topic.

I think about this a lot and I do tend to think that better analogies and metaphors can help people get into programming.

Two areas I've mined for analogies are cooking and legal work.

There is a book called developer hegemony that I have not read yet. As I understand it makes the comparison between software developent and being a lawyer. Seems like there might be some good ones in there to use.

The other one is cooking. When I talk to people about writing code who have never done it before one of the concerns they often have is that they could never write it exactly "right" that it's too complicated in that way. I like the analogy of cooking here to try to explain that while there is the 5 star chef version, there is also making a grilled cheese at home. I think you might be able to take that analogy pretty far. Comparing meals to software and so on. Talk about ingredients as libraries, that sort of thing ("you can start with flour or there is some delicious puff pastry in the pip3 cabinet")