You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The purpose of the SDK lies in providing better interaction with zeitgeist.pm using minimalist possible clean functions. The current interface has four modules - models, storage, types and util.
I realise that my views slowly became clearer over time. Or if I put, one can divide the intuition based on the two types of users namely beginner and intermediate. Accordingly, I have summarised below points when I was trying to run createScalarMarket and reading the overall code.
As a beginner, when one reads the code for the first time without understanding the usage:
Proper comments at each significant process and
Documentation will improve the knowledge transfer.
And as an intermediate, when things slowly start making sense:
Breaking big functions into sub-functions
Better console logging
Better error visibility will enhance the working with the code.
Answering the questions:
The current interface doesn't make intuitive sense when one looks at it for first few days.
It can be improved using above mentioned points which will enable better management of interface as it grows in size over time. Segregation and connected functionalities is the key.
Please review the current interface of the SDK and think about the following questions:
Does the current interface make intuitive sense from a developer-user point of view?
Can the interface be improved? If so, how?
The text was updated successfully, but these errors were encountered: