Wednesday, December 13, 2017

Narwhal reader architecture is not great

I admit I spent much of a year refactoring different reading capabilities with a sequence of "reader" objects - NWReader, NWNReader, NWSReader... It does not really matter because the even higher level classes use simple APIs to that layer and deal with their own data and structure. At the same time the lower level Narwhal classes are evolving. But the crappy middle layer isn't changing much.
Also, to be honest the RecordSlotEvents is a replacement for original core reading methods and keeping the event sequence is equivalent to having a vault. But the RecordSlotEvents is stuck looking at NARs of order <= 1 [waiting for a golden algorithm] and the original core reader vaults aren't perfect either.
So we limp along. It would be fun to get a programming language genius like the author of Python to come clean up the API.

No comments:

Post a Comment