Ask HN: What is your favourite programming language? Why?
51–60 of 60 posts
Re: Ask HN: What is your favourite programming language? Why?
#52Re: Ask HN: What is your favourite programming language? Why?
#53My favorite programming language is Zero (yes it is my invention). If you have not heard of it then I am not surprised because the language is very new (theoretical actually). You develop programs in it by defining new infinite sequences from existing ones. All begins with the primitive infinite sequences and the language's means of combination (specified with decimal digits) ---universe begin--- sequence 01: 0 1 2 3…
Re: Ask HN: What is your favourite programming language? Why?
#54I've used a lot of languages in my career, and Clojure is easily my favorite. I have never found anything else that comes close to being fun to use, getting the heck out of my way, and allowing me to solve real problems fast. The combination of generic data programming, sane state management, and access to host platforms with reach is a killer combo.
Re: Ask HN: What is your favourite programming language? Why?
#55My favorite programming language is Zero (yes it is my invention). If you have not heard of it then I am not surprised because the language is very new (theoretical actually). You develop programs in it by defining new infinite sequences from existing ones. All begins with the primitive infinite sequences and the language's means of combination (specified with decimal digits) ---universe begin--- sequence 01: 0 1 2 3…
How do you define new sequences? What is the 'purpose' of this language -- that is, what can I do with it?
I define an infinite number of new sequences twice over in the example above. Between "---universe begin---" and "---universe end---" is listed the state of the universe. After inspecting the current state of the universe one can add new sequences with numeric codes as I have attempted to describe. The example above shows two iterations of this process. In each case an infinite number of sequences is added. So really your program will describe an infinite sequence of infinite sequences. And, if you never stop programming, then you are actively directing an infinite sequence of infinite sequences of infinite sequences!
The purpose of the language is to be "general purpose". Any programming problem can be modeled with this language. Because a number represents anything at all, I would not hesitate to use the language anywhere I have need for an algorithm. Input transformed to number is manipulated by algorithm then presented to the user as output. A gui is typically used to control this process.
Impressively, it is possible to write relations with very little knowledge of specific algorithms. For instance, you may know how to square a number but be totally ignorant of methods to find the inverse function (the square root). Not a problem - you already know enough to direct the computer to take square roots. This might seem magical. It certainly is magnificent, but there is no magic involved. It all has to do with the design of the language.
Re: Ask HN: What is your favourite programming language? Why?
#56C# is my favorite language as long as we're only talking about the language. It gets out of my way - I can write it without thinking consciously about the programming language. If the run-time didn't have garbage collection, it would be my ideal language. The GC never gets out of my way, ever.
Re: Ask HN: What is your favourite programming language? Why?
#57Re: Ask HN: What is your favourite programming language? Why?
#58Re: Ask HN: What is your favourite programming language? Why?
#59Elm! (Currently.) I might have said Haskell, except I have very little hands on experience with Haskell. Elm is such a joy. Here are some reasons! 1. In the end, all your code is either functions or data! 2. There are only a few core concepts, and very little extra language features. There is zero implicit indirection. (E.g. macros or class inheritance.) As a result, it’s incredibly easy to reason about what the code…
are there any cases where elm was not the ideal solution but js was?
Re: Ask HN: What is your favourite programming language? Why?
#60Earlier quoted context omitted.
How do you define new sequences? What is the 'purpose' of this language -- that is, what can I do with it?
Thank you for asking. I define an infinite number of new sequences twice over in the example above. Between "---universe begin---" and "---universe end---" is listed the state of the universe. After inspecting the current state of the universe one can add new sequences with numeric codes as I have attempted to describe. The example above shows two iterations of this process. In each case an infinite number of sequenc…