@jrobah@StackOverflow@code Am on GPT plus using codex 5.4 extra High and I never run out of tokens. I use it for 3 different projects. Are you building something intensive?
@AnyunguWanyungu@nut3case Interfaces compile differently, yes, are cached by the TS compiler and slightly faster to resolve
But:
The difference is milliseconds, you will never feel it
Still using type for unions anyway so you're already paying the cost
TypeScript's compiler has gotten dramatically faster
@AnyunguWanyungu@nut3case Interfaces are great when you're building a TypeScript library and need people to extend your types. That's basically it.
For everyday app development, type does everything interface does and more. Why use two tools when one is strictly more powerful?
@nut3case@AnyunguWanyungu@AnyunguWanyungu@nut3case
type can do everything interface can + more. interface can't do unions, tuples, or conditional types. Plus defaulting to type keeps your codebase consistent, no more randomly mixing types and interfaces
Added some Google to my portfolio, I strongly believe in the company long term.
Going forward, I’m shifting to a safer strategy: making VT the core of my portfolio.
15-year horizon.
❌ Avoid using useState() for complex state management in React
✅ Instead use useReducer:
1. Predictable State Transitions
2. Easier to test
3. Scales better
@NdemoKelvin what are American citizen going through? No complain from them, Trumps just doing what he said in the campaign trail and they voted for him
Majamaa wa tech…mnaona aje I create a telegram channel then I look for jobs for you za freelancing. It’s a good thing because itasaidia wasee kumake some extra cash on the side. I can get all kinds of jobs, from AI, machine learning, front end, technical essays and assignments