Most designers love a tooltip.
They’re a cheap way to declutter your UI.
But they don’t improve UX, they degrade it.
Here’s 3 better patterns that you can consider instead:
I just KEEP seeing uses for Prettify<T> out in the wild.
Here, you can use it to unwrap a class with lots of complex inheritance to actually see it in the tooltip.
Tired of writing if statements every time you need to check if something's defined?
Make a little 'raise' function to throw an error, and inline it with a nullish coalescing operator.
Thanks to @heyImMapleLeaf for this one.
10x engineer is a myth. 100x AI-powered engineer is more real than ever. As OpenAI winds down Codex, Microsoft announces GitHub Copilot X. I think it's almost as exciting as GPT-4 itself:
- Copilot Chat: any piece of text database will be "chattable", and codebase is no different. Don't read your code, talk to it.
- Copilot for Pull Request: improves *human collaboration*. Now GPT will accelerate not just a single dev, but entire OSS communities.
- Copilot CLI: bash is so unintuitive and awkward sometimes. No more bash, just English.
- Copilot doc: thanks to GPT-4's much longer context (32K tokens), you can fit entire docs in one go. No need to memorize any doc - simply retrieve from the prompt.
It's a bit annoying that there is a separate waitlist for each item ... I'll link them in 🧵:
The development of AI is as fundamental as the creation of the microprocessor, the personal computer, the Internet, and the mobile phone. It will change the way people work, learn, travel, get health care, and communicate with each other. https://t.co/uuaOQyxBTl
Excited to get back into #Rust and #JavaScript mentoring on @exercism_io after a busy year! Grateful for the opportunity to both learn and teach in the programming community.
Just found out I earned a badge too! 🥰
I was amazed when I saw this post. I didn't know that #TypeScript could handle addition and recursion so I decided to dive in and learn more.
I decided to challenge myself by creating a Factorial type that could calculate the factorial of a number and give a type-based output.