array.includes(x) is really a function includes(array, x), and this is O(n,1).
> And it hit me that it's actually O(n), because we've got an array and have to iterate over every element to see if the element matches char. No, it's actually O(1). n refers to the _input_, which is always a single…
> And the old "I have suffered therefore the others have to suffer". Actually, its an extremely important point. Tools which optimise for the professional are better than those which do so for the noob. Whenever you can…
> You can ease the cognitive load by making certain programming structures first-class citizens in the language. Which, in every s-expression based language I'm aware of, can be achieved using macros.
The major examples are parts of the stdlib which offer higher-level pipelines (some answers here indicate the need for such things to be very flexible in their return values to allow this, but this is not a priori…
One thing that really annoyed me about D is that its documentation lists basically every function with an 'auto' return type. Auto should be completely banned from documentation, it's a complete hindrance. It's the…
My personal anecdatal arguement against "Hard to parse for humans" is... I actually really like generics residing within <>. It's actually harder for me to read generics denoted otherwise (D uses parentheses) As for the…
Within my first year of professional development, I encountered several fixed-width files I needed to read and write. I suppose exposure depends a lot on the specific industry.
Just want to throw D into the ring as a candidate here. It's a smashing language. I think it satisfies the very compromise you are seeking from your evaluations of other languages.
I think I am going to side with VW on this. I have always been skeptical of fully autonomous vehicles, and I do not believe they will _ever_ exist on the roads that currently stand. Driving safely in all conditions…
I think C has better syntax than Rust, by miles. Rust's syntax is the bastard child of C++ and OCaml and is more than the sum of its parts. Rust code having fewer bugs has absolutely nothing to do with its syntax.
> disk space is mostly free these days. This is the only "argument" ever presented, and I don't think it is any good. I care about file sizes. I want to get the most out of my hardware. Not needing to buy another drive…
Here's one maybe-reason and one definitely-reason VSCode cannot replace vim for me: 1) Logs are often compressed. Can VSCode open .gz files? Vim behaves pleasingly unixy: 'zcat logs.gz | vim -' opens the file pretty…
I don't think it does. People share information and learn from each other. Hence, it is important to be responsible when providing information. We frequently see disclaimers on HN, Reddit, etc. like "IANAL", so as to…
Would be a big improvement on Rust.
Money is not as wierd as anyone might guess. I work on a financial application, and money is almost always just a BigDecimal with the scale set to 2 (and stored in a database as a bigint type or equivalent). When its…
AlphaZero does not "smash" Stockfish. In official games they draw 90+% of the time, and stockfish won a non-negligible number of games. AZ is still the "winner" but honestly it didnt seem like a massive leap forward to…
> the rare ability to identify a musical note like F# just by hearing it, can be a massive benefit to a musician It can also be a curse. I've known a number of people with perfect pitch. Those who were pianists…
> No, emojis are incredibly expressive and enrich all forms of writing. I certainly find many (almost all?) highly ambiguous, which is the total opposite of expressive in my opinion. I'm aware I will sound "old man…
Great articles for when you want to know how it works but want the code to play hard to get.
>Elon Musk will be this generations' Edison. I hope you mean this in the literal sense, in that they are both people who have taken the scientific contributions of others for their own businesses, and somehow get the…
>Like, if I type a math formula or "what's the population of Alberta", the Google result is just the number, not a link to the result. I prefer to use WolframAlpha for such things.
>So... Yes, these are both (special cases of) magmas, but the general term used for them is "algebra" or "algebraic structure". Don't you agree? Algebraic stucture, sure, but _algebra_, absolutely not. An algebra is a…
The proof prover proves the proof, but who shall prove the proof prover?
Considering that Windows 95 powered many people's first exposure to computers, they clearly had to put a lot of thought into user experience. And they did a fantastic job. I definitely believe almost everything since…
array.includes(x) is really a function includes(array, x), and this is O(n,1).
> And it hit me that it's actually O(n), because we've got an array and have to iterate over every element to see if the element matches char. No, it's actually O(1). n refers to the _input_, which is always a single…
> And the old "I have suffered therefore the others have to suffer". Actually, its an extremely important point. Tools which optimise for the professional are better than those which do so for the noob. Whenever you can…
> You can ease the cognitive load by making certain programming structures first-class citizens in the language. Which, in every s-expression based language I'm aware of, can be achieved using macros.
The major examples are parts of the stdlib which offer higher-level pipelines (some answers here indicate the need for such things to be very flexible in their return values to allow this, but this is not a priori…
One thing that really annoyed me about D is that its documentation lists basically every function with an 'auto' return type. Auto should be completely banned from documentation, it's a complete hindrance. It's the…
My personal anecdatal arguement against "Hard to parse for humans" is... I actually really like generics residing within <>. It's actually harder for me to read generics denoted otherwise (D uses parentheses) As for the…
Within my first year of professional development, I encountered several fixed-width files I needed to read and write. I suppose exposure depends a lot on the specific industry.
Just want to throw D into the ring as a candidate here. It's a smashing language. I think it satisfies the very compromise you are seeking from your evaluations of other languages.
I think I am going to side with VW on this. I have always been skeptical of fully autonomous vehicles, and I do not believe they will _ever_ exist on the roads that currently stand. Driving safely in all conditions…
I think C has better syntax than Rust, by miles. Rust's syntax is the bastard child of C++ and OCaml and is more than the sum of its parts. Rust code having fewer bugs has absolutely nothing to do with its syntax.
> disk space is mostly free these days. This is the only "argument" ever presented, and I don't think it is any good. I care about file sizes. I want to get the most out of my hardware. Not needing to buy another drive…
Here's one maybe-reason and one definitely-reason VSCode cannot replace vim for me: 1) Logs are often compressed. Can VSCode open .gz files? Vim behaves pleasingly unixy: 'zcat logs.gz | vim -' opens the file pretty…
I don't think it does. People share information and learn from each other. Hence, it is important to be responsible when providing information. We frequently see disclaimers on HN, Reddit, etc. like "IANAL", so as to…
Would be a big improvement on Rust.
Money is not as wierd as anyone might guess. I work on a financial application, and money is almost always just a BigDecimal with the scale set to 2 (and stored in a database as a bigint type or equivalent). When its…
AlphaZero does not "smash" Stockfish. In official games they draw 90+% of the time, and stockfish won a non-negligible number of games. AZ is still the "winner" but honestly it didnt seem like a massive leap forward to…
> the rare ability to identify a musical note like F# just by hearing it, can be a massive benefit to a musician It can also be a curse. I've known a number of people with perfect pitch. Those who were pianists…
> No, emojis are incredibly expressive and enrich all forms of writing. I certainly find many (almost all?) highly ambiguous, which is the total opposite of expressive in my opinion. I'm aware I will sound "old man…
Great articles for when you want to know how it works but want the code to play hard to get.
>Elon Musk will be this generations' Edison. I hope you mean this in the literal sense, in that they are both people who have taken the scientific contributions of others for their own businesses, and somehow get the…
>Like, if I type a math formula or "what's the population of Alberta", the Google result is just the number, not a link to the result. I prefer to use WolframAlpha for such things.
>So... Yes, these are both (special cases of) magmas, but the general term used for them is "algebra" or "algebraic structure". Don't you agree? Algebraic stucture, sure, but _algebra_, absolutely not. An algebra is a…
The proof prover proves the proof, but who shall prove the proof prover?
Considering that Windows 95 powered many people's first exposure to computers, they clearly had to put a lot of thought into user experience. And they did a fantastic job. I definitely believe almost everything since…