• 0 Posts
  • 9 Comments
Joined 1 year ago
cake
Cake day: June 22nd, 2023

help-circle
  • I personally don’t think that’s the issue with the typing system. With vanilla js if I’m looking at a function that has say four parameters that are not trivial objects like strings but are actually complex (think dependency injection) it’s very difficult for me to know what these objects are other than reading through the code of the function.

    Actually, even if the parameters are simple, I’m not sure of that until I look into the function and see what it’s doing. This is a huge pain in the ass most the time, because I just wanna look at the function name its parameters and move on. However, that being said, most of this can be remedied with jsdocs and a good linter/lsp.



  • Time zones are part of it, but also daylight savings is a real pain in the ass. And like you said it gets particularly complicated when you’re dealing with a system that deals with these things as an afterthought, which seems to be a lot of older libraries for time. For instance, the Java date utils are a nightmare and are now considered semi deprecated replaced by a new java.time api. That is, of course, no help for the ridiculous amount of things that depend on these stupid date utils and no one wants to spend the dev hours to refactor.


  • Zionism was not started by Ottoman Jews, which were a very, very small minority in Palestine. The grandfather of Zionism was an Austro-Hungarian, Theodor Herzl. Before that there was a proto Zionist movement the Hovevei Zion which was created in response to pograms in the Russian empire. The Zionist movement was entirely created as a response to the treatment of European Jews by European powers.

    Living under sharia law and being treated as a second-class citizen (which all non-Muslims were) certainly was not ideal for Palestinian Jews, but hundreds of thousands of European Jews did not start streaming into Palestine because of that.


  • While I don’t totally disagree with you, nor advocate the position you are arguing against… I wonder what is the scientific definition of sanity? Is there a consensus on it? If it is a concept that exists outside the context of our society as you claim, then is it something objectively inherent in all humans regardless of their culture or circumstances? Or can its meaning change over time; can the standard of entrance be lowered or raised depending on current trends or the whim of the majority?


  • I thought Tail recursion just gets turned into an iterative loop by the compiler? Hence why you won’t get a stack overflow. And since in procedural languages you can just use a loop in place of a tail recursive function you would never run into this problem, right? At least this is how it was taught to me when I was learning about it in lisp.