There are a lot of different t views on debugging with a debugger vs print statements and what works better. This often seems to be based on user preference and familiarity. One thing that I haven’t seen mentioned is for issues with dependencies. Setting up a path dep in rust or fetching the code in whatever language you’re using for your project usually takes more time than simply adding some breakpoints in the library code.
I live in a small town and the loudest sounds besides the train itself is the extremely loud horn it blows before every crossing. Apparently nobody wants to pay for automatic booms at the road crossings so it legally has to use the horn that blasts through the area.
I find the java example different to my experience. java doesn't have all expressions return values, like if, making the attempt to have single returns from functions much harder to do tidily than in other languages like for example ruby, rust, scala.
You can program just about any darned way in Java which can lead to some pretty schizophrenic code bases and organizations. I recall a fairly recent code review where the author had a static method in a class which took in another type, did some reasoning on the state of the type and returned a result. I asked why that method was not in the type itself since all the state required to answer the question lived in the instance of that object. The author said, oh we tend not to use “smart” objects.
I have just a couple of friends who run full marathons on a regular basis. One of them just died this year, probably due to heart condition, one day after a marathon. He has no other ailments we knew of.
It’s anecdotal, yes, but coupled with some research and other medical advice I’ve read, running marathons or longer distance too often and aiming for a competitive time likely has long-term negative effects on your health.
(Note: The etymology of ‘marathon’ also gives a small hint of this, though obviously Pheidippides ran in a very different condition from modern marathons.
My nose is almost permanently running or clogged. Eventually I went to see an ENT who sent me for a scan and was surprised to find that I didn't have an inferior turbinate on one side.
When I was younger I smashed my nose and had surgery so either that doctor removed the inferior turbinate during that surgery or I was just born without one.
Either way it seems to have left me in a snotty situation.
reply