snivilised / agenor

🌀 concurrent directory walker
MIT License
0 stars 0 forks source link

formalise bootstrap phases #29

Closed plastikfan closed 6 months ago

plastikfan commented 6 months ago

this is a continuation of issue #22

Identified phases are:

So the navigator can be created and intialised independent of features. The navigator can will expose an interface for use by features. Some navigator properties should not be readily available, eg the ability to intercept filters as requred by hibernation should only be avilable to hibernation feature, therefore the navigator can expose another interface with an intercept method that can be queried for.

Feature can if they require hook into life cycle events.

plastikfan commented 6 months ago

Just been watcing a video (Solid programming - No Thanks) by the Primeagen discussing SOLID and he mentioned (during the discussion about Dependency Inversion Principe) a convention in Go where when writing methods/functions, you should receive interfaces but return structs. Something to think about.