Ruby with python style type hints
Ask HN: What would be your “perfect” programming language?
11–20 of 182 posts
Re: Ask HN: What would be your “perfect” programming language?
#12Re: Ask HN: What would be your “perfect” programming language?
#13Rust with Lisp syntax so I could actually write unhygienic macros without learning a bunch of arcane stuff about compiler internals.
By the way this already kind of exists. https://github.com/JunSuzukiJapan/macro-lisp Lisp syntax that translates to real rust at compile time. I love rust!
Re: Ask HN: What would be your “perfect” programming language?
#14And then one feature that I like which few languages support are some kind of contexts. Scala does this really well for example, but even in Scala it could be improved.
What I mean is that code that looks the same can mean different things in different contexts. The typesystem then ensures that it cannot be used wrongly though.
An example would be how "5 ± 3" can mean different things depending on the context, such as "1 or 8" or "mean of 5 with variance of 3" (in statistics).
Without such a feature it's hard to translate thoughts into code as easy in certain domains.
Re: Ask HN: What would be your “perfect” programming language?
#15Python syntax and libraries with nim’s packaging and distribution
Re: Ask HN: What would be your “perfect” programming language?
#16Go without the garbage collector.
Re: Ask HN: What would be your “perfect” programming language?
#17Re: Ask HN: What would be your “perfect” programming language?
#18Like what this macro does https://github.com/JunSuzukiJapan/macro-lisp
Wait maybe what I want already exists
Re: Ask HN: What would be your “perfect” programming language?
#19I've actually been having a lot of fun building stuff using OpenAI Codex. I suppose something where I could write the specs and the AI spits out something resembling HTML/JS/CSS so that I can verify that I communicated correctly. - create a dark mode palette for the page based on this image: {file path} - make a form with a single name (not first and last), email, country code, phone -- this form should allow a docum…
I guess the "perfect" language would have far less bugs.
Re: Ask HN: What would be your “perfect” programming language?
#20Rust with lisp syntax. Like what this macro does https://github.com/JunSuzukiJapan/macro-lisp Wait maybe what I want already exists