#codequality

2025-12-12

Khi viết React với arrow function, bạn chọn **implicit** hay **explicit return**?

- **Implicit**: Ngắn gọn, đẹp mắt, phù hợp component đơn giản.
- **Explicit**: Rõ ràng, dễ debug, cần thiết khi có logic.

Lạm dụng implicit để "ngắn" có thể khiến code khó đọc. Dùng explicit máy móc cũng gây dư thừa.

Cá nhân tôi ưu tiên **readability > brevity**. Dùng implicit mặc định, chuyển explicit khi cần.

Bạn thuộc Team nào?

#React #JavaScript #Frontend #CodeQuality #ReactJS #LậpTrìnhFrontend

N-gated Hacker Newsngate
2025-12-11

🤔 Ah, yes, the age-old tale of programmers ignoring warnings because who has time for that? 😅 Let’s just wait until the whole codebase combusts, then panic-solve. 📉 Apparently, foresight is as deprecated as the methods in question. 🚀
entropicthoughts.com/deprecate

Turbo Learn PHPTurboLearnPHP
2025-12-08

Spread Operator - array_merge vs Spread

💻 Spread Operator - array_merge vs Spread - Junior vs Senior PHP code comparison! See how professionals write code differently. This will improve your skills! Can you spot all the issues?

...

youtube.com/watch?v=2ISHsG6Gfr8

Turbo Learn PHPTurboLearnPHP
2025-12-05

PHP Attack Plan For Static Global Functions

⚡ PHP Attack Plan For Static Global Functions - Code quality comparison! Junior developers make common mistakes, senior devs write clean code. Learn from this! Which approach do you use?

...

youtube.com/watch?v=FuqEkHP5EUw

2025-12-03

Enhance your coding experience in Visual Studio with SonarQube IDE extensions! Get real-time feedback, improve code quality, and streamline your development process. #SonarQube #VisualStudio #CodeQuality

isaacl.dev/gwp

N-gated Hacker Newsngate
2025-12-01

🚀 Oh joy, another tool to check if your code isn't a complete disaster, written in because why not mix two languages for the price of one? 😏 Bask in the as you type-check your way into a pit of configuration and concepts, hoping to discover the module that just might save you. 📚 Enjoy your 'Getting Started' journey, because you're going to need all the guidance you can get. 😂
docs.astral.sh/ty/

Turbo Learn PHPTurboLearnPHP
2025-11-30

JSON Handling - Manual vs JSON_THROW_ON_ERROR

⚡ JSON Error Handling Done Right! Junior developers use json_decode without error checking (silent failures!), while senior devs use JSON_THROW_ON_ERROR to catch issues immediately. Plus, see how to properly build JSON strings instead of manual concatenation. This prevents bugs in production!

...

manual

2025-11-24

These tips won’t surprise most software engineers, but they’re a useful reminder - especially if you’re just getting started. These best practices highlight essential fundamentals such as version control, coding standards, and code reviews. Read the whitepaper. #SoftwareDevelopment #BestPractices #CodeQuality
kdab.com/best-practices-the-ba

2025-11-23

LLVM không thể sửa mã của bạn. Không phải công cụ nào cũng có thể sửa lỗi code. #LLVM #Compiler #LậpTrình #Programming #CodeQuality #ChấtLượngMã

reddit.com/r/programming/comme

N-gated Hacker Newsngate
2025-11-22

Ah, another riveting treatise on the arcane art of writing commit messages 🤓. Because, you know, "meaningful" commits are the last bastion against code entropy🐢. Thankfully, overlords at are here to save us from our own verbosity! 🤖
github.com/arpxspace/smartcomm

Dr. Ferran Jovellmrswats@fosstodon.org
2025-11-22

Acabo d'alliberar una nova versio de flake8-nested-fstrings!

github.com/mrswats/flake8-nest

Amb suport per python 3.14.

#Python #Flake8 #CodeQuality

2025-11-18

Met de juiste Git-kennis kan je team de geschiedenis herschrijven, fouten corrigeren en gevoelige data verwijderen uit de repository. Dit zorgt voor een schone en georganiseerde codebase, waardoor fouten worden voorkomen en samenwerking binnen het team verbetert. De Geavanceerd gebruik van Git training biedt praktische vaardigheden om dit effectief te doen, wat resulteert in betrouwbare software en soepelere workflows. #Git #CodeQuality #Collaboration

N-gated Hacker Newsngate
2025-11-17

Why bother giving C a "superpower" when its only power is ensuring your code dies a slow, painful death? 🤦‍♂️ Building a "leak-free, threadsafe grep" in C23 is like trying to make a porcupine cuddle-friendly: adorable in theory, lethal in practice. 🦔🔪
hwisnu.bearblog.dev/giving-c-a

kitetokiteto
2025-11-10

⚠️ AI is making developers code faster, but there's a hidden cost:
→ 50% of AI-generated code has security flaws
→ Developers implement code they don't fully understand
→ Traditional code review isn't enough anymore
The fix isn't abandoning AI - it's smarter testing.
AI-powered test generation + human oversight = the winning combination.
Your testing strategy must evolve as quickly as your coding tools.
Read more in our newest article.

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst