Blog by @BLorenteEs, Engineer @Twitter π₯ Writing articles to level up your skills βΊ JS π Python π Rust π Bash π Let's become better Devs together!
It's here!
I've been using One Big Google Doc to keep all my notes for many years now, and it's been working wonders for me!
Link below to learn how π
Over the years, I've tried tens of systems to keep my notes.
I want it to organize several things:
- A diary
- Context about current projects
- Long-term storage of knowledge
Only one approach has consistently worked:
πOne Big Google Doc π
Blog post coming soon!
πͺ²Debugging tip:
Start by finding a reliable, fast, reproduction of the bug. You want to be able to run one command line, and see the error be reproduced reliably.
If it takes you 5 commands and 15 minutes to reproduce the bug, you'll lose track every time you try a solution.
@dabit3 I agree! I think the same way.
However!
Coding my own, useless toys (like emulators for consoles) is still a great way to just have fun doing something I like. It has to be without pressure, though.
@olafurpg Just watched it last night. Indeed, easily one of my top 10 talks just for the first 15 minutes alone, and the other 40 minute dissertations on the human condition are just incredibly insightful gravy!
PSA: Avoid the word "just" in code reviews. As in "why don't you just do X?"
Either:
1β£ The author already considered X, and there's complexity you're not aware of, or
2β£ The author didn't consider X, and that "just" is just making them feel dumb.
"just" is not adding anything.
@SimonHoiberg It costs more in the long run!
If one can't afford it right now, there's nothing to do, but if you can, _not_ doing it will cost a lot more than $500 in missed opportunities and lost productivity when issues start to come up.
@dmokafa I found really hard was to decide:
When is a change too much? When am I changing just for the sake of it?
What I found is: Always start by thinking about the needs of the end users, then elaborate. The right answer (to change or not to change) usually becomes clear from there.
@JavaScriptCoff1 My favourites:
- If the sum of the digits of a number is divisible by 3, the number is divisible by 3. Prove it.
- Imagine pressing a button triggers a long computation. How do you make the rest of the UI not freeze?
Also, best wishes!
@catalinmpit I'm not knowledgeable in any of those, but I'm still curious, if you have a moment:
Why a mentor specifically? What gaps does a mentor fill that online knowledge (docs, posts and tutorials) doesn't?
This whole blog is entirely about filling those gaps, so I'd love your insight.
@BrokenCompiler@catalinmpit Glad you like it! I'm coming back to it after some time, looking forward to writing more!
If you'd like me to cover any topics, I'm all ears :)
@macerub > Tests are also code examples and executable specifications.
I want this on a t-shirt.
Note the example: @macerub is not afraid of long function names. I find it helps a lot to be very descriptive when testing.
Tip: Test exactly one thing per test! Makes them easier to read.