The take I have is that with a dynamically typed language you still have a static analysis step. It’s just that the analysis happens in your and other developers’ brain and it is objectively worse. I honestly can’t think of a single thing in favor of dynamic typing.
I write Clojure in my day job and it’s insane how often we have issues where it would have been immediately caught by a static type check.
I'd love to learn more. Are you part of a large team (enterprise or SMB, whatever you can share)?
How have you experienced using Type Clojure, spec, Malli, etc. to determine correctness?
I've only worked on solo projects with Clojure, with most of it fitting into my head. I imagine with teams of size N > 1 things can change quite a bit.
I don't have an ADHD diagnosis but clearly have some of the typical symptoms.
My brain is constantly in an obsessive state, meaning that I get an obsession about something and my brain just focuses on that single topic for some variable amount of time (days, weeks, months) until I get a new obsession. I'm quite unable to think (or do) anything else during that time.
Last November I experienced something that I have not experienced before. My mind was at peace. I had no obsession for at least two weeks. It felt amazing, I was so content.
I started to read Wizard of Earthsea, which I finished few days later. Then I read Tombs of Atuan in a few days as well. I read The Farthest Shore about halfway before my brain rebooted into its usual obsessive state. This was the most I'd read in almost 10 years!
I wish I could experience that peace of mind once again.
Not really related to the article, but would you look at that web page. This is what all of them should look like! Nothing fancy, just good content, 64.91KB in total.
That's because your browser sucks. Try Opera Mobile or something similar. Good browsers can reflow text to fit whatever screen size they display at. This website has zero CSS related to layout, so it is your browser's duty to render it nicely.
It boggles my mind why reflow is not one of the most important and most highly regarded features of any mobile browser.
The problem is quickly solved on Firefox thanks to its "Fit text to width" addon [1].
>it is your browser's duty to render it nicely
I think browsers should have the ultimate say on how to display websites, according to the user's preferences (think of text size and colors). Sadly, with websites gradually transforming into "web apps", users are losing control.
even after 'zooming in'?
it didn't create a new viewport for me after doing that that.
on opera mobile: are you truly comfortable to use a 'default on man-in-the-middle-ware' from china? (it proxies everything and compresses it, to save data bandwidth)
i stopped using it in August because of that. might've been too paranoid though.
Yeah, they should add the meta/viewport with scale=1 tag to the head, and it would improve readability on phones. I mean it't annoying that the web is in a state where that is necessary, but until it's solved, it's better (and not much more difficult) than nothing.
This is something that I'm actually writing for my own programming language, coincidentally also written in Rust.
My idea was to label each expression with these flags, i.e. is the expression constant?, tail recursive?, etc., and then make that information available for the text editor and other tooling, so the user can instantly see certain things about their program, and see the type of optimizations the compiler will do for them.
I write Clojure in my day job and it’s insane how often we have issues where it would have been immediately caught by a static type check.