Top Tweets for #JsDoc
في احد يصوت معاي ولا بس أنا

One of the problems with Assembly is the lack of safety and context.
What about adding type safety and ownership to Assembly?
Good idea or "you are just reinventing the wheel"?
Inspired on #JSDoc #Rust #Type_Script #LLVM_IR

Smart move on the TS migration! Few agent-specific tips:
• Use strict mode in tsconfig - agents perform way better with explicit types
• Type your API responses with interfaces - prevents hallucinations on data structure
• Use const assertions for literal types - helps with prompt templating
• Document complex types with JSDoc - agents understand context better
The typing discipline pays off when agents generate more predictable code 🤖
Smart move! For AI agents, strict types are huge. Few tips:
• Use `unknown` over `any` for agent inputs
• Write explicit return types for functions agents will call
• Document complex types with JSDoc for better context
• Consider branded types for domain validation
The extra effort pays off when agents understand your contracts
@thekevinqi Smart move! For AI-friendly TS:
• Use strict mode + exactOptionalPropertyTypes
• Define explicit interfaces for all agent inputs/outputs
• Zod schemas for runtime validation
• JSDoc comments help agents understand context
What agents are you planning to use?
Yes, I use it from time to time now. But it eats tokens like crazy and I hit limits constantly. For now, I use Claude for code docs, JSDoc comments, and easy stuff. I find Codex 5.2/5.3 does the heavy job better even though it thinks a lot and takes more time.
Their 200 plan is so good and works faster then 20$
@Vishal_react Btw, a good example to put into a configuration something like I do: “Use JSDoc” to document components, modules, API etc. When AI parses a file, it already knows the context of those functions' usage.
TypeScript's "strict mode" turned every PR into a type annotation battle.
Indie devs are spending more time fighting the compiler than building features.
- JSDoc worked fine for documentation
- Now every helper function needs 50 lines of types
- "Type safety" became an excuse for bikeshedding
- Shipping slowed down while bugs stayed the same
Some of the best products were built with "messy" JavaScript.
Are we actually preventing bugs, or just creating a new category of busywork that makes us feel productive?
@Darthmoll12 Imo is also helpful to make it generate jsdoc comments, at least for base/core code. Helps you and Claude understand your code and architecture better later.
We are in the era of redefining.
We don't even need npm.
How i see it:
1. Rename packages/ => skills/
2. Clean up the docs, or just point to your source files that have jsdoc comments, and the test files
3. the `skills` CLI to support signed sigstore/provenance GH artifacts
I’m thinking about this every single day
@ImperialAttila @blvdmitry It’s not an npm package. The implementation will live in your codebase. There will also be JSDoc comments with examples, which is why those style props are prefixed with $. You can type $ to see all the style options, each with its own JSDoc.
@todomir__ That's true, but would the alternative be passing props? I'm not completely against it, but it can be a lot more verbose and less flexible. Also, would it actually solve the problem? It seems like JSDoc plus AI reviews could really help here.
The TypeScript engine is already powering your JavaScript. Discover how JSDoc comments can unlock TypeScript-level code safety directly within `.js` files, eliminating the need for a separate build step.
1/5
🧵 @zama Bounty Track live – December 2025: Build the FHEVM Example Hub
Zama dropped a very big bounty this month ngl.
If you like Hardhat, Solidity or just building cool tools, this one is actually perfect.
Prize pool is $10,000 and they giving $5k / $3k / $2k to top 3 winners.
What this bounty is about?
Idea is simple:
Make a bunch of clean standalone FHEVM examples so other devs can learn privacy smart contracts easily.
Each repo show only one concept, like:
a. access control
b. public decrypt
c. user decrypt
d. arithmetic
e. input proofs
f. handle lifecycle
g. confidential ERC7984 stuff
etc.
Basically you build the “Example Hub” for whole FHEVM.
Big Picture Goal
They want a repo (or many repos) that future devs can just clone :- run :- understand FHEVM fast.
Everything should be small, clean and self explained.
Zama team already gave a sample project to check the structure, automation, docs, everything.
Deliverables (in simple words)
1. Repo Structure (keep it super simple)
Every example must be a separate Hardhat repo:
contracts/
test/
hardhat.config.ts
https://t.co/5FU1NLxolS
No monorepo.
Use the base template they given.
Docs you generate automatically.
2. Scaffolding Scripts (this is important part)
You need to make something like:
create-fhevm-example
This script should:
a. clone base template
b. add contract
c. add matching tests
d. auto create docs
e. support category structure
Starter repo has the working versions already.
Just learn the pattern and build your own.
3. Examples You Must Include
Basic
-simple FHE counter
-add/sub
-eq
Encryption
-encrypt 1 value
-encrypt many
User decrypt
-single
-multi
Public decrypt
-single
-multi
Extra required stuff
Access control
-FHE.allow, allowTransient
-common mistake like missing permissions
-how access control works inside FHEVM
Input proofs
-why proofs needed
-how to use
-common wrong ways
Handles
-what handles actually are
-symbolic execution
-lifecycle
Advanced (old repos, need upgrade)
-ERC7984 example
-ERC7984 <-> ERC20 swap
-ERC7984 <-> ERC7984 swap
-Vesting wallet
-OZ confidential contracts
Bonus ideas
You can make any fancy example:
blind auction, sealed bid, private voting, confidential trading…
Creativity will get extra points tbh.
4. Documentation
Docs should be:
-auto generated
-markdown
-GitBook friendly
-tagged with chapters
-using JSDoc/TSDoc in tests
Starter repo also shows how to do this clearly.
Judging (read this carefully)
📹 Video demo is must
Without video submission is not valid.
Show:
-setup
-running scripts
-generated examples
-docs creation
-tests passing
Judge based on:
-code clean or not
-automation complete or half
-examples clear or confusing
-docs quality
-how easy to update versions later
-creativity
-test coverage
-error handling
Must Include
-base-template/
-all automation scripts
-multiple example repos
-auto docs
-dev guide (how to add more examples)
-tools for updating templates
🔗 Useful Links
Examples: https://t.co/35SGFt78i1
Base template: https://t.co/CTE46CQ3at
Old examples: https://t.co/igOwbCVlQv
OZ confidential: https://t.co/oV25TBkBIz
Sample full repo: https://t.co/43nIjS47hV
Rewards
1st – $5000
2nd – $3000
3rd – $2000
Dec bounty is honestly crazy value for work you put in.
How to Join
a. Go to Zama Guild
b. Connect wallet + GitHub
c. Enter Developer Program
d. Build your example hub
5. Submit before 31 Dec
👉 Submit here: https://t.co/ZGPixvNUDO
#ZamaCreatorProgram

this was written in 1978 yet sounds identical to the kind of debate still being discussed in 2025 (TypeScript vs JavaScript + JSDoc)

@FEFrsjUj5glG4O9 That's Correct Answer Mam ✅💯🥇
People argue JSDoc vs TypeScript like it is a war ⚔️
It is not.
JSDoc gives you speed and zero build steps.
TypeScript gives you safety and structure at scale.
The real skill is knowing when to switch.
Which one are you using and why?
#JavaScript #TypeScript #DevTwitter

If you haven't moved over to typescript yet but want to have better autocomplete and type hints, JsDoc can be quite helpful. Check out how I document my express app's controllers.
#100DaysOfTips #DaySeven #ExpressJs #JsDoc

Tired of setting up #JSDoc templates and hosting? Try doclets.io for your #javascript or #nodejs! Continues documentation made easy
No Excuses. The easiest way to publish #JSDoc #javascript #api #documentation! https://t.co/KBkrpaZ8KX via @doclets_io @writethedocs
Last Seen Hashtags on Sotwe
ErositaVT
Seen from Saudi Arabia
ชอบเลีย
Seen from Thailand
oncearepublican
Seen from Korea
FREEJoeJoe
Seen from Korea
EğitimEmekçileriBirlikte
Seen from Korea
AnnForry
Seen from Korea
GreatestHumanEver
Seen from Brazil
valientediputado
Seen from Thailand
bop
Seen from Singapore
Z100SummerBash
Seen from Indonesia
Most Popular Users

Elon Musk 
@elonmusk
239.4M followers

Barack Obama 
@barackobama
118.5M followers

Cristiano Ronaldo 
@cristiano
114.3M followers

Donald J. Trump 
@realdonaldtrump
111.7M followers

Narendra Modi 
@narendramodi
106.9M followers

Rihanna 
@rihanna
98.6M followers

NASA 
@nasa
92M followers

Justin Bieber 
@justinbieber
91.7M followers

KATY PERRY 
@katyperry
89.9M followers

Taylor Swift 
@taylorswift13
83.9M followers

Lady Gaga 
@ladygaga
75.4M followers

Virat Kohli 
@imvkohli
73.3M followers

Kim Kardashian 
@kimkardashian
70.8M followers

YouTube 
@youtube
68.6M followers

Neymar Jr 
@neymarjr
66.3M followers

Bill Gates 
@billgates
65.1M followers

Selena Gomez 
@selenagomez
63M followers

The Ellen Show
@theellenshow
62.1M followers

CNN 
@cnn
61.6M followers

X 
@x
60.6M followers
















