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

this is why i like how operators work in pike:

+ - * / and other operators work not only on numbers but on strings, arrays and other types and all have an intuitive application.

on strings and arrays for example, + is concatenate, / is split, * is join, - is filter (with static values).





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

Search: