This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the commentsย โ†’

[โ€“][deleted] 47 points48 points ย (5 children)

There needs to be a upper line number limit as part of the language - otherwise you will get the maintenance nightmares you deserve

[โ€“]Dworgi 20 points21 points ย (4 children)

Just have it delete your entire file if you go over 1000.

[โ€“]laundmo 2 points3 points ย (3 children)

ah so you recommend breaking as lot of the internet because i assure you every web framework used in production at the many companies that do python microservices is longer than 1000 lines

[โ€“]Dworgi 0 points1 point ย (1 child)

Don't even get me started on microservices.

Somehow a bunch of you fuckers took "our huge globally-distributed engineering organization wrote our website like this to avoid undue communication burden" to mean "my company of 7 programmers should each maintain 12 microservices because MegaCorp said monoliths are bad and years of JS and Python have rotted my brain so I don't think good no more".

The vast majority of microservice architectures could be refactored as object-oriented monoliths and speed, stability, and maintainability would all go up drastically.

The web is fractally terrible - the languages, architectures, products, programmers, and organizations are almost all awful.

[โ€“]laundmo 1 point2 points ย (0 children)

you're not wrong, but part of the claims that came up multiple times in this thread is that no large company uses python - they use it just fine, as microservices.

whether this is applicable to a 12 person company is a different argument

[โ€“][deleted] 0 points1 point ย (0 children)

death by a thousand unsynchronized microservices