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

If I’m going to be the devil’s advocate, it’s probably better for performance.

When I maintained a hook-based plugin system, I learned that many programmers do not know data structures or algorithms and would slow down the whole software by writing plugins that looked up rules using extremely slow ways extremely often. And if users wanted to complain about the software being slow, they would always blame me first.

But when I replaced it with rule lists, now I was in control and could implement fast data structures.



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

Search: