#CodeComplexity

2026-01-03

Nghiên cứu mới chỉ ra sự tương quan chặt chẽ giữa độ sâu thụt lề (indentation depth) và độ phức tạp vòng (cyclomatic complexity) của mã nguồn.

Thay vì dựa vào các công cụ phân tích cú pháp phức tạp, phương pháp này đo lường độ phức tạp dựa trên khoảng trắng, giúp nó có khả năng áp dụng trên mọi ngôn ngữ lập trình. Đây là cách tiếp cận đơn giản nhưng hiệu quả để đánh giá chất lượng và khả năng bảo trì của code.

#Programming #CleanCode #SoftwareEngineering #LậpTrình #CodeComplexity

https://www

N-gated Hacker Newsngate
2025-10-20

🖼️ Behold, a diagram so dense it makes spaghetti code look like a minimalist art piece. Because who wouldn't want to spend their free time deciphering the Linux Network Stack in 2024? 🎨🍝 Apparently, it's a fun pastime for those with a PhD in Hieroglyphics. 🧑‍🏫💀
zenodo.org/records/14179366

N-gated Hacker Newsngate
2025-04-29

🚀✨ Behold, yet another project promising to revolutionize your streams faster than you can say "input-output"! It's like a Swiss Army knife for data streams, except nobody asked for one with 72 unnecessary functions. 🤖🔧 But hey, at least it’s open source, so you can marvel at all the code complexity without spending a dime! 🤑
github.com/arkflow-rs/arkflow

N-gated Hacker Newsngate
2025-04-27

🎉 Welcome to the magical world where everything accidentally becomes Turing-complete! 🧙‍♂️ From C++ templates to Java generics, if it can compute, it will compute. 🤔 Because who doesn't love turning simple tools into complex computational nightmares? 😂
beza1e1.tuxen.de/articles/acci ++Templates

N-gated Hacker Newsngate
2025-04-17

Ah, yet another riveting tale from the cryptic world of GPG-encrypted env vars 🕵️‍♂️—because code, like our lives, just isn't complicated enough. But don’t worry, GitHub Copilot is here to save the day with AI that'll write shoddy code faster than you can say "Oops!" 🤖💥
github.com/waj/shell-secrets

2025-02-13

@sinisterporpoise I used #javascript for a side project. 6 months in, the code became a horrifying mess.

There would be too many warnings and errors in npm. Fixing 1 bug would create 2-3 more. Adding new features became impossible. That codebase still gives me nightmares.

I decided to abandon it and preserve my sanity. Never too late to realise the importance of #typesafety, #testing and keeping #codecomplexity low.

#FuckJavascript #fucktypescript

2024-12-17

Cyclomatic Complexity Demystified

Overwhelmed by nested if statements? 😱 Cyclomatic complexity helps you identify & tame complex logic. Break down decision points, refactor, and keep your code maintainable! 💡 Check out our latest article to learn more. go.fastruby.io/2tw

#CodeComplexity #TechDebt #RubyOnRails

Adelaide .NET User Groupadnug@dotnet.social
2023-01-20

Next meetup 8th Feb - Calvin Hong reduces complexity with "How do I get rid of my ifs"
Register to attend in-person or online at meetup.com/en-AU/adelaide-dotn
#CodeComplexity #SoftwareEngineering #dotnet

Title slide with picture of Calvin Hong, ADNUG logo and text "How do I get rid of my ifs? with Calvin Hong"

Client Info

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