Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I like semantically different words for unrelated things. So I'd stay away from import.

I've called this kind of thing load, initialize, get_all, and so on.

I may also call it something based on where the data is stored if that is important. For example from_csv.

I might also name it based on what it is for. For example load_config.

Whatever seems clearest, and fits best with how the project itself does things.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: