4 ms·
I assume you’re talking about Go here?
by jpxw 7y ago
I assume you’re talking about Go here?
- toyg 7y agoI wouldn't think so, docs in Go look very terse to me, not at all "story mode". Maybe Rust or Clojure...?
- shepmaster 7y agoRust has books [1] as well as the usual terse API docs [2], so that also seems unlikely. [1]: https://doc.rust-lang.org/stable/book/ https://doc.rust-lang.org/stable/book/ [2]: https://doc.rust-lang.org/std/ https://doc.rust-lang.org/std/
- weberc2 7y agoUnless something has changed very recently, Go docs aren't story-format.
- phodge 7y agoPossibly Typescript. Try finding documentation for the bundled "Record" type. It seems you're supposed to just know how to use it already.
- crooked-v 7y agohttps://www.typescriptlang.org/docs/handbook/utility-types.html#recordkt https://www.typescriptlang.org/docs/handbook/utility-types.h...
- STRiDEX 7y agoI've heard the same typescript feedback from coworkers. Another commenter already linked to the official docs, I always link them to https://github.com/sindresorhus/type-fest#readme https://github.com/sindresorhus/type-fest#readme which has links and docs of the built in types and can be installed for more.
- sli 7y agoI have yet to find a straight answer on how `declare` actually works in the Typescript docs. I had to go to Stack Overflow to learn what it's for. The TS docs basically just say "use declare to declare [thing]" over and over, and it's only mentioned in the handbook on a page that doesn't seem to be listed in the handbook menu anywhere.[0] You have to search for it and wing it, because the search result for this just says "By Example." Notice that there is no article highlighted in the handbook menu on the left like there would be on any of the pages listed there. [0]: https://www.typescriptlang.org/docs/handbook/declaration-files/by-example.html#global-variables https://www.typescriptlang.org/docs/handbook/declaration-fil...