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

This reminds me of someone who named all of his variables after vegetables... I wouldn't want to inherit that product


Actually I use this in one particular case: in Android there is an event callback "onActivityResult" and it's first parameter is integer. In all demos online you see officially looking name like SDCARD_WRITE_PERMISSION and when noobs copy paste it and try to compile it they can't find in which library it is defined, so when in demo code I use BANANA it's little bit more obvious that they have to define it yourself. But MY_SDCARD_WRITE_PERMISSION also works.

Banana makes it obvious that it's not official and on which two places it is connected together.


Unless its a salad app. `toss(lettuce, tomatoes)`




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: