Lädt...


🔧 Refactor a code factor


Nachrichtenbereich: 🔧 Programmierung
🔗 Quelle: dev.to

Greetings,

This week we had to learn about refactoring an existing code base. This was a new experience for me as a student you don't often have to go back to an old assignment. However, since we were working with our existing AI CLI tool we had something to work with.

Additionally, we also had to use git rebase to squash the changes we made for the refactor. I've never done a squash before so it was a good learning opportunity.

While my code base was small there are always things to improve, I moved several file related functions into their own module. Then I simplified the way global variables were created by using a function, and reduced some code duplication when making calls with Ollama.

Each change was made in a separate commit, which was then squashed together into a single commit, the process was not as complicated as I expected. Then it was merged into the main branch.

That was all for this week, see you next week!

...

🔧 Refactor a code factor


📈 37.67 Punkte
🔧 Programmierung

🔧 Best Time to Refactor: Tips for Refactoring a Legacy Code Base


📈 26.4 Punkte
🔧 Programmierung

🔧 Best Time to Refactor: Tips for Refactoring a Legacy Code Base


📈 26.4 Punkte
🔧 Programmierung

🔧 Don't refactor the code


📈 26.4 Punkte
🔧 Programmierung

🔧 How to Refactor Spaghetti Code - One Bite at a Time!


📈 26.4 Punkte
🔧 Programmierung

🔧 How to Review and Refactor Code with GPT-4 (and ChatGPT)


📈 26.4 Punkte
🔧 Programmierung

🕵️ CVE-2024-8796 | Devise-Two-Factor up to 5.x Multi-Factor Authentication Code entropy


📈 25.81 Punkte
🕵️ Sicherheitslücken

🔧 A small refactor story


📈 23.15 Punkte
🔧 Programmierung

🔧 Refactor to UseCases


📈 23.15 Punkte
🔧 Programmierung

🔧 How do you Refactor a 2,700-Line React Component?


📈 23.15 Punkte
🔧 Programmierung

🔧 Refactor and Reboot: Time to Clear Backlog in Open Source


📈 23.15 Punkte
🔧 Programmierung

🔧 Refactor vs. Rewrite: Making the Right Choice


📈 23.15 Punkte
🔧 Programmierung

🔧 The TDD Cycle: Red, Green, Refactor


📈 23.15 Punkte
🔧 Programmierung

🔧 Refactor your CSS NOW!!


📈 23.15 Punkte
🔧 Programmierung

🔧 Refactor: How I Improve My Barrierless Project


📈 23.15 Punkte
🔧 Programmierung

🔧 I asked ChatGPT to refactor the Forem StoriesController


📈 23.15 Punkte
🔧 Programmierung

🔧 Time to refactor legacy with OOP


📈 23.15 Punkte
🔧 Programmierung

🎥 Hands-on Workshop: Refactor Node.js and Express APIs to Serverless APIs with Azure Functions


📈 23.15 Punkte
🎥 Video | Youtube

🔧 Refactor Stimulus.js Controllers to Use Change Callbacks


📈 23.15 Punkte
🔧 Programmierung

🎥 Google Mainframe Modernization - Refactor for Batch


📈 23.15 Punkte
🎥 Video | Youtube

🎥 Google Mainframe Modernization - Refactor for Batch


📈 23.15 Punkte
🎥 Video | Youtube

🔧 How To Refactor Your Codebase


📈 23.15 Punkte
🔧 Programmierung

🔧 How To Refactor Your Codebase


📈 23.15 Punkte
🔧 Programmierung

🔧 Refactor: GoroutineTracker with unnecessary usage of reflect


📈 23.15 Punkte
🔧 Programmierung

🔧 Little PRs make the mighty refactor


📈 23.15 Punkte
🔧 Programmierung

📰 Two-Factor vs. Multi-Factor Authentication: What’s the Difference?


📈 22.55 Punkte
📰 IT Security Nachrichten

📰 Cybersecurity Awareness Month – Multi-Factor (aka Two-Factor) Authentication


📈 22.55 Punkte
📰 IT Security Nachrichten

📰 Cybersecurity Awareness Month – Two-Factor (aka Multi-Factor) Authentication


📈 22.55 Punkte
📰 IT Security Nachrichten

📰 What are two factor authentication (2FA) and multi factor authentication (MFA) solutions ?


📈 22.55 Punkte
📰 IT Security Nachrichten

🔧 Multi-Factor Authentication and Two-Factor Authentication


📈 22.55 Punkte
🔧 Programmierung

matomo