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
-
Root73850191d@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.
-
SortOfTested24915191d@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. -
yowhatthefuck1784191d@Root i like kotlin's when syntax , or the usual switch case syntax better. elseif is almost never required
-
SortOfTested24915191d@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. -
Commodore2342191dWhat if he did it intently? I mean, python doesn't have switch/case and some people learn to actually dislike the keywords.
-
iamai2565191dIt 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.
-
kamen5765191dOkay, how does a guy like this end up there to begin with? Shouldn't he be filtered out years prior at an interview?
-
devdiddydog481191d@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.
-
SortOfTested24915190d@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. -
AtuM1179187dif u !like if_statements; then
echo "who cares"
fi
Have you tried basic with goto?
Does that still get used anywhere in real life?
Still ppl made some good software at the time. -
scorpionk453180d@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
-
AlmondSauce14Mark. Mark was a support guy who could have been replaced by a robot. Nearly every support request that came ...
-
Godisalie5Most memorable coworker? Definitely one of our devs in the first company I worked at. He was around fifty, qui...
-
rutee0723Almost everyone from one of my previous companies. I had a manager who likes to "break" people and will do al...
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