What appears as effortless creativity is often years of diligent notetaking
What appears as innovative thinking is often systematic knowledge management
Please don't open a pull request without doing a self review first.
It might seem counterintuitive, but self-reviewing your code benefits both yourself and your team.
It helps you catch errors, bugs, or any issues that have slipped through. It also allows you to ensure that your code aligns with your company's code guidelines or standards.
So, submitting a self-reviewed PR increases your team's trust in you, leads to faster code reviews, opens the door to more meaningful discussions and teaches you to detach from your code and spot areas for improvement.
It's a win-win for everyone.
My only 2 tips for self-reviews are:
1) Take a longer break before doing it, so you come with a fresh perspective.
2) Detach yourself from the code. Be objective.
However, self-reviewing your code can feel like a chore. Thankfully, there is a solution to that.
@coderabbitai speeds up the process and makes it more engaging.
CodeRabbit is an AI tool that automatically reviews your pull requests, provides context-aware feedback, and suggests code changes.
How do I use it?
1. Find issues, errors, and bugs
As the 1st image shows, CodeRabbit highlighted an issue. It described what the issue is, and suggested a change.
2. Catch silly mistakes
As the 2nd image shows, it also catches silly mistakes.
I copied the error message from another component and forgot to adapt it accordingly. CodeRabbit understood the context and suggested the change.
3. Discover areas for improvements
As the 3rd image shows, it also suggests improvements for your code.
It gave an excellent suggestion that I had overlooked initially. It saved me some future headaches.
Conclusion?
It's a great and valuable tool that significantly improves the self-review process and your code subsequently.
@coderabbitai has a 7-day free trial for private repositories, and it's free for open-source projects. If you're sceptical about it, give it a try!
It's a handy tool to add to your toolbox.
Thanks to @coderabbitai for sponsoring my post. I've been using them for a while now.
https://t.co/35hv3W5roN
I was reviewing a new client's website yesterday using our SEO tool and discovered that it's set to noindex.
She said: "That would explain why I am not showing up on Google".
If you want to avoid this check out our free SEO on-page tester: https://t.co/KvPBA10jWi
I finally finished it. It took me a while, but I'm happy with it.
I'd really appreciate it if you would check it out. It's always the biggest video of the year for me and has been a staple of the channel. 😊
https://t.co/hQqHF9OG5I
Time to announce FOUR 🆓 upgrades to freeCodeCamp's curriculum today.
Years in the making. Live now.
🏗️ A 21-project JavaScript cert
🐍 A fully interactive 15-project Python cert
🔨 The Odin Project on fCC
🏕️ And a new English for Developers curriculum
Let's unbox these 🎄🎁
It's hard to resist the urge to fix everything that's wrong with a client's website.
However, does a plumber regrout your entire bathroom when you call them to fix a leaky faucet?
As a beginner dev, avoid these mistakes:
❌Blindly copying & pasting
❌Trying to memorize the code
❌Writing code without planning
❌Not testing your code regularly
Tips:
✅Don't be afraid to break things (break & fix them)
✅Surround yourself with a community of others who code
“Giving a damn about accessibility” is a fantastic book by @ByrneHaber which I think everyone building digital products and services should read at least once a year.
It’s available for free as a pdf or audio https://t.co/D31SsUhQem
#AdventOfA11y day 2
One thing to try this week: Create a “distraction list”
Most distractions are never emergencies
Whenever a distracting thought takes over your mind, do nothing about it but jot it down
It’s off your mind and on paper, ready for you to deal with when you actually have the time
NEW SERIES DROPPED TODAY!
web dev:
✅ should be fun + inspiring
❌ not overrun with FoMO & hot takes
my new show is all about bringing back the playful, inspiring experimentation I love so much
watch it! on my YT channel (link + more details in the thread)