kiecodes (@kiecodes) header
kiecodes (@kiecodes) profile picture

👨‍💻 Programmer by day. 🎥 YouTuber by night. 📖 Lifelong amateur. 🤝 Always happy to help!

Joined May 2021
Photo by kiecodes (@kiecodes)Photo by kiecodes (@kiecodes)Photo by kiecodes (@kiecodes)Photo by kiecodes (@kiecodes)Photo by kiecodes (@kiecodes)Photo by kiecodes (@kiecodes)Photo by kiecodes (@kiecodes)Photo by kiecodes (@kiecodes)Photo by kiecodes (@kiecodes)Photo by kiecodes (@kiecodes)
Readers added context they thought people might want to know
This post advocates "Tie the token to the user's billing account. ... This turns 'unlimited free API access' into 'someone abusing their own quota,' which is a completely different severity." This is in fact exactly what Perplexity does. OP is getting a big bill next month: x.com/denisyarats/st…
159
406
135
4,899
3,243,156
kiecodes retweeted
GPTs can save a lot of effort:
2,205
3,381
2,337
41,273
6,558,967
kiecodes retweeted
Your naming is good, when your code reads like a short snappy article. Not like a random generated password or an dragging essay that could use some editing.
1
2
kiecodes retweeted
Being a good programmer is multi-dimensional, but reducing "time to figure out what's wrong with your code" is the fastest way to get a better one.
2
2
kiecodes retweeted
Git annotations are a great way to find your perfect match for a code review. If you changed a lot of code in a module a teammate of yours wrote, this teammate might be a good fit to review your code.
kiecodes retweeted
All you need is to succeed only one more time than you fail.
2
1
kiecodes retweeted
Code shouldn’t be owned by one person, but by the whole team. Resolve knowledge islands to spread ownership.
2
4
kiecodes retweeted
In 99% the problem is not the programming language, the framework, the library or the IDE, it is the code. (Read: you)
1
1
4
kiecodes retweeted
Code is read many more times than it is written!
2
1
kiecodes retweeted
I never trust a unit test that ends up green the first run. 🤔
1
2
kiecodes retweeted
Red test. 🔴 Greeeeeen test! 🟢
kiecodes retweeted
<🤓> pure functions are idempotent, but idempotent functions are not necessarily pure </🤓>
kiecodes retweeted
Tabs or spaces?
1
1
kiecodes retweeted
Comment your code to make clear 𝘄𝗵𝘆 you do something. Your code should already tell 𝗵𝗼𝘄 you do it.
1
2
2
kiecodes retweeted
Don't beat yourself up about your unfinished projects. Maybe they aren't unfinished at all. If they were learning projects, maybe you learned all you needed and moved on to the next lesson. Don't beat yourself up!
1
2
kiecodes retweeted
I hear a lot of beginners talking about "switching" programming languages: You don‘t switch programming languages. You use/learn the language that is most useful for the job.
kiecodes retweeted
Make sure your comments explain why you do sth., not how. If you need a comment to explain how you do sth., your code is not readable enough. This also helps you with keeping your comments in sync with your code. Why you do sth. rarely changes, how you do it will change.
1
1
kiecodes retweeted
Don't compare yourself to others. We're all on our own journey. Try to make one small step each day and be better than yesterday. You will get there!
1
2
kiecodes retweeted
Anyone can write code that computers understand. Good programmers write code that humans understand. - Martin Fowler
4
12
kiecodes retweeted
To learn something new, you always need to question what you already know. The more you know, the harder it is for you to admit, that you might have been wrong about something all this time.
1
2