Hacker News new | ask | show | jobs
by bkolobara 1243 days ago
I also dislike this name, as it was not clear what it does just by looking at the name.

Recently, I was adding a similar abstraction to Rust on a project I'm working on and I called it `AbstractProcess`. Like, it is some kinda of template for a process. Still don't think it's clear what it does by just looking at the name. Does anyone have a better idea on how to name such a pattern?

2 comments

The suffix `Factory` often gets made fun of, but there are a few places where it makes sense. Sounds like this is one of them.
Factory went out of favor. Nowadays people just add an s as a suffix in Java.
Could also be called "ProcessTemplate" ?