Char count is poor complexity metric. Perl is better than Python with your logic as it is more condensed.
Char count is poor complexity metric. Perl is better than Python with your logic as it is more condensed.
Can anyone actually tell what exactly complicated in Java? Verbose, maybe it was at some point but I find it very straightforward and easy.
I don’t know german but it seems to be more logical to have one word for “health insurance card” since it describes one class of objects. Better than spelling 3 nouns where one partially describes what object is and other nouns act like clarification
That was my first thought, but is that much different for say Tesla. They get tax breaks and pay as low as they can. Don’t get me wrong I not protecting China’s way, I’m rather against both. But it would be interesting to see numbers from both sides
AFAIK major contributor into low Chinese EV prices are subsidies and tax breaks for manufacturers. I know they have significant tax breaks in US. It would be interesting to see how they compare. Because if they are mostly on par this is pure corporate greed stopping them. Especially in case of Tesla. They are not overpaying workers and don’t use luxury materials
Imagine how much more common this positive vibe would be if people wouldn’t need to spend at least 1/3 of their life trying to meet ends in competitive environment
Why sit there 5 mins? This looks like normal city bus stop. Bus arrives at scheduled time, picks up passengers and takes off. I believe great ‘merica supper power nation can manage what Eastern Europe nations made happen years ago. Yes you may have few mins delays but it’s not a disaster.
If for whatever reason it must sit there for long time bust stop should be in a bay
I believe car drivers are capable of waiting 15 seconds while vehicle which most likely transports multiple times more passengers dropping/picking those passengers. Car drivers wait hours in traffic jams for themselves, can wait a bit for bunch of people in a bus
Crossings should be safe for humans and bikes. Meaning, they should be short and bikes should not be ridden across intersections if no bike lane
Better explain why pedestrian crossings are stretched so much instead of being on shortest trajectory to other side
Do you have to unlock? You can open wallet from blocked screen without unlocking phone
removed, stop buying your metal scrap and pay your devs. I wanna play Marathon this century
But it’s FAANG company, they know how to do best /s
I’m not sure how I feel about it. Don’t want this to cause “share” bots networks which will pump particular posters. Next logical think to do is to start showing more from those posters, which will kill the hole point of consuming content from fediverse for me. I don’t want to see same things from same people. I want diverse content from different posters
Kinda, I guess we all can agree it’s more typical to deserialize into POJO where theres is no such thing as missing field. Otherwise why would you choose Java if you don’t use types. This great precondition for various stupid hacks to achieve „patching” resources, like blank strings or negative numbers for positive-only fields or even Optional as a field.
How about SQL in PostgreSql?
query: select array_length(Array[]::text[], 1)
Output: null
Dont get me wrong JS is still awful
No it’s how Python wants you to format. Many times I want to separate two logical sections in one function and can’t coz Python go crazy
Library built this way because it supposed to be flexible and provide ground for complex usecases. It can only be flexible if your API works with simple abstractions which you can then compose. It’s not driven by “I need this specific utility for this specific scenario”. That would be zoo you have in JS where you have 10 ways to iterate over array and 9 of them wrong for your scenario.
Java’s OO is great because they design library with SRP in mind making sure there is few but good ways to do things.
BufferedReader cannot accept file name because it makes arbitrary reader… well buffered. It’s not BufferedFileReader, even that would accept something like Path or File, not string, because File can be remote file, should Reader now know all possible local and remote protocols and path formats? What else it must do?
Having it designed the way it is, allows Java to have utilities for various scenarios. Your scenario covered by standard lib too. See Files.readAllLines which, surprise-surprise, built on top of BufferedReader.