effect icon indicating copy to clipboard operation
effect copied to clipboard

Better jsdoc documentation

Open roninjin10 opened this issue 1 year ago • 2 comments
trafficstars

What is the problem this feature would solve?

I find using Effect to be extremely painful for getting into a flow state. The reason for this is because I consistently need to leave my editor to figure out really basic usage information usually to search the docs or source.

This becomes more painful when using more niche libraries like effect/rpc.

With better jsdoc documentation this wouldn't be a problem.

What is the feature you are proposing to solve the problem?

Investment into JSDoc documentation complete with @example and links to the actual documentation.

What alternatives have you considered?

I have attempted to use AI as the answer to this problem but AI hallucinates or uses old APIs with Effect so much it's counter productive

roninjin10 avatar Sep 27 '24 04:09 roninjin10

What really helps me is having Effect repo open in another window to peek at the code and tests. Granted, I read the whole documentation and this may be a requisite to understand the source code itself.

nounder avatar Sep 30 '24 18:09 nounder

I very strongly agree with this issue - a lot of Effect's APIs have zero JSDoc annotations and it makes it way harder to learn, and brings back bad memories of functional programming libraries that rely so heavily on their type signatures and have very little written documentation. Even commonly-used stuff like Effect.fail doesn't have anything at all in the API documentation written about it.

tmcw avatar Oct 17 '24 13:10 tmcw

What is the feature you are proposing to solve the problem?

Investment into JSDoc documentation complete with @example and links to the actual documentation.

I totally agree! I'm new into effect would be nice for someone like me, also need to learn it so if is possible i would like to participate on the issue.

MindfulLearner avatar Dec 07 '24 02:12 MindfulLearner