Hacker News new | past | comments | ask | show | jobs | submit login

The C is of course a pirate's favorite language. It might end up with "water" and "land" types in the standard some day. So `bool iswater()` and `bool island()` functions might be needed! You might need to check if the island structure you got is really land, so `island(&possible_island)` would obviously help and not cause any confusion to readers of the code.



Aye, any pirate's first love be the C


You might want to know if you have a small piece of land surrounded by water, so we need

  isisland(x);
Or to know if an element is a member of a particular terror group (or an Egyptian goddess):

  isisis(y);


And if you want to know if some territory is claimed by a particular terror group (or Egyptian goddess, or post-metal band) there is the venerable

  isisisland(z);
In this case you'd typically then construct a memory fence.


You just have to pass the pirate flag to your compiler


I think you’ll find it’s actually called an arrgument


Of course depending on how locale is set will effect the results of island() and iswater()




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: