Hacker News new | ask | show | jobs
by pavel_lishin 771 days ago
> But in the real world, any editor you use not only show it but also show a type error if you made a mistake

Praytell, how does your editor show you a type error when both `needle` and `haystack` are strings?