2026-09-21 11:28 UTC
i read an interesting article comparing function-based views with class-based views in django
and it was like "function-based views are bad because you might have ten to thirty lines of code" and honestly this also explains a lot about programming in general
am i stupid for prefering ten to thirty readable, understandable lines of code to 3 lines of hidden complexity that requires 2 weeks of Reading The Docs to partially understand?
but, then again, senior programmers need their job security
Replies (1)
-
@faithisleaping@anarres.family 2026-09-21 13:01
@skye@toot.cat Oh, you’ve fallen down the OO/TDD rabbit hole. Pro tip from a professional: There is no rabbit. It’s just a hole.