Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Root797504y@SortOfTested So glad I’m not the only one. I’ve had this discussion with so many other devs before, and they simply cannot grasp why I find it so strange.
-
@Root
It's just pointless syntax bloat. It's lazy language design, rather than consider how a discrete branch should compile, they just reuse the same structural logic as cases and treat if and else as comprehensive boundaries. It's fucking sloppy. -
@2Large
Yep, it's always good to encode value resolution with pattern matching.
Though I will say most jvm languages , and even C# are doing their communities a disservice by not supporting union types. Kotlin also killed tuples, which is an objective mistake. -
What if he did it intently? I mean, python doesn't have switch/case and some people learn to actually dislike the keywords.
-
iamai20044yIt would be forgivable if they at least comment but they do those layers likely out of laziness so anything about proper documentation is also no existent. It's just uncaring for the next person who will work on it.
-
kamen69254yOkay, how does a guy like this end up there to begin with? Shouldn't he be filtered out years prior at an interview?
-
@localpost Sorry, I am pretty sure he's on DevRant and even if I blur out the visible Git info (from CodeLens in VS) the code reveals where he worked.
-
@2Large
C#, Scala, clojure, typescript, I have opinions about how things I like can improve 😘
Python really is about the same in that regard honestly. For comprehensions are need, but the dynamic typing makes it a bit structurey in the analysis. -
@SortOfTested Agreed Indeed comprehensions are great in python. But dynamic typing makes python codebase analysis/walkthrough way too slow.
Jumping back and forth in function calls and return statement to check what kinda object is accepted and and/or returned.
Related Rants
-
AlmondSauce7Mark. Mark was a support guy who could have been replaced by a robot. Nearly every support request that came ...
-
Godisalie3Most memorable coworker? Definitely one of our devs in the first company I worked at. He was around fifty, qui...
-
ChaoticGoods1I had a coworker that was an Air Force pilot (99% certain he was telling the truth as I was working for a gove...
A guy that just did not know how to code. He had years and years of experience (?), but DID NOT KNOW HOW TO CODE. He was given a simple task, spent weeks on it and what came out was usually 60 lines of "if, elseif, elsif....else".
He was given several warnings, and eventually "voluntarily" left the company.
I still get screenshots of his code sent by one of my ex-colleagues who's still there when he stumbles across it.
rant
wk223