HN user

da4c30ff

86 karma
Posts5
Comments25
View on HN

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 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.

Also better look and feel[1] for Mac (including dark mode) users with

  (add-to-list 'default-frame-alist '(ns-transparent-titlebar . t))
  (add-to-list 'default-frame-alist '(ns-appearance . dark))
[1]: https://imgur.com/aRdxPk0

Git really should have issue and merge/pull request data shipped with the repository. Does anyone know if this has been planned or not?

Currently there's only a tokenizer/parser implementation publicly available. I'm currently working on the type system.

Progress has been a bit slow, but I will be posting here on HN if I end up making something worthwhile.

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.

    3.5 Use object method shorthand.
I disagree. With anonymous objects it breaks the syntactical uniformity of the expression. I think it is much clearer when each field is given a name(and a value) the same way.

I wish I could use 'type' as a variable name or as a field on a struct. It's one of the most used identifier names and the inability to use it is frustrating.

Light Table 0.7.0 12 years ago

I wonder how many people contributed under the assumption that their contributions would remain under GPL. I assume the CLA specifies their right to change the license?