Better HN
topnewbestaskshowjobs
Log inSign up

deterministic

2,859 karma · joined Feb 27, 2013 (13y ago) · 3,460 submissions

Submissions

comment 7y ago · link · parent

> ...but humans will never actually write SQL. They will instead ask questions about data in a natural language.

Nope they won't. Natural languages are not precise enough for this.

comment 7y ago · link · parent

John "Daikatana" Romero telling the world how to make games. Right...

comment 7y ago · link · parent

Yep completely agree. FRP sucks. FP rocks.

comment 7y ago · link · parent

Yeah as an Australian I am deeply mystified by why things are going so badly in the US given that it has the worlds largest GDP.

comment 7y ago · link · parent

Google, Facebook etc. are ad serving companies. That's how they make their money. Let's compare that with other companies (a lot of them European) that are busy saving the world with renewable energy technologies etc. No comparison.

comment 7y ago · link · parent

What makes you think that EU isn't a Mecca of enterprise and innovation? It certainly is. Just not in the areas (Google etc.) that software developers care about.

comment 7y ago · link · parent

The Lambda Calculus (https://en.wikipedia.org/wiki/Lambda_calculus).

comment 7y ago · link · parent

Economics is, and has always been, formalised ideology. In other words, Economics is not a science and Economists are not scientists.

comment 7y ago · link · parent

> Are you seriously going to argue that those concepts are equally arcane to somebody not familiar with the underlying paradigm?

Most definitely! I have tried to teach C# to a non-programmer friend of mine and his brain exploded when I tried to teach him about classes. However I have taught a few programmer friends what a Monad is in a few minutes. The problem with the Wikipedia page is that it is correct but targeted at somebody who understands category theory. Which is useless if you just want to learn how to use it in (say) Haskell.

comment 7y ago · link · parent

> so I have some degree of openness to different paradigms.

That's great! I truly believe that learning new hard stuff is how a software developer goes from average to great. If you learn a little bit every day then after 5 years you will be SO much better than the average guy/gal sitting next to you.

comment 7y ago · link · parent

Once you get there I recommend then learning Typescript (Javascript with types) and compare the experience with Javascript.

comment 7y ago · link · parent

> But no one is yet making this claim. Which should make one wonder.

I for one are most definitely making that claim. Based on 35+ years of programming in both single typed and typed programming languages. But clearly your experience is different.

comment 7y ago · link · parent

> The argument is that one world (dynamism) allows for higher throughput than a static-checked environment.

I have programmed in both dynamic languages and typed languages for 35+ years. And I am most definitely more productive using a typed language. Otherwise I wouldn't. So I wonder why our experiences are so different?

comment 7y ago · link · parent

Look I have been programming for 35+ years in both dynamic and typed languages. And my experience is that I am more productive when using a typed language. It sounds as if your experience is the opposite. I wonder why our experiences are so different? It would be interesting to find out.

comment 7y ago · link · parent

> insanely expensive

Wow that sounds really expensive! How did you actually measure that in the real world?

comment 7y ago · link · parent

Right. And when another programmer changes the ADT so that this is no longer true your dynamic language will now crash in production instead of telling you right away before putting it into production? Or are you telling me that your code always have 100% code test coverage checking all possible execution paths for all pattern matches?

comment 7y ago · link · parent

> the full power of dynamic languages?

There is nothing you can do in a dynamic language you can't do in a typed language. There is no "special power" that only dynamic languages have. If you truly believe that dynamic languages have "special powers" that typed languages can't have then I recommend studying a bit of basic computer science. Starting with the Turing Machine or Lambda Calculus.

comment 7y ago · link · parent

> This is not an opinion thing.

Of course it is an opinion thing.

> never a concession as to its cons and costs.

Pretty much what I get all the time from people who don't know how to use type systems productively, and then think that because they can't nobody else can. If types doesn't work for you, don't use them. They work for me so I use them.

comment 7y ago · link · parent

> My claim is this is death to productivity/throughput when you compare it to alternatives.

A claim with no evidence to back it up. My experience (for example) is exactly the opposite.

comment 7y ago · link · parent

> And even so the programming ergonomics will be terrible vs. a language designed with typelessness in mind.

Not my experience at all. I switched from Javascript to Typescript and I am way more productive now. So it is definitely not in general true that "the programming ergonomics will be terrible vs. a language designed with typelessness in mind".

comment 7y ago · link · parent

My examples would be Javascript vs Typescript. I am SO much more productive in Typescript than in Javascript and the number of bugs have dropped substantially.

comment 7y ago · link · parent

> by picking Haskell you are throwing sticks between your legs unnecessarily.

You clearly have no idea how types work and how to use it to make you more productive as a developer. Being able to switch from Javascript to Typescript made me so much more productive.

comment 7y ago · link · parent

If you are learning something new and it isn't hard to learn then you are not learning anything truly new. Just variations/flavours of what you already know. If it is really hard then you are truly learning something new. No pain no gain.

comment 7y ago · link · parent

I have tried to teach C# to a smart non-programmers friend. That was really really hard. The idea of OO/classes just blew his mind.

comment 7y ago · link · parent

I have explained Haskell code in a few minuts to professional programmers and they got it. It took a bit longer to explain monads but it wasn't hours.

comment 7y ago · link · parent

> This is why no one likes Haskell programmers and why the community just sucks.

I like most Haskell programmers and I don't think the community sucks more than any other language community. So I guess that proves that assertion wrong.

> If the goal is to remain an impenetrable fortress / secluded monastery

I am pretty sure there is no such goal :D

> if the goal is to become popular and get others to understand the benefits of Haskell

I am pretty sure that is a goal for some Haskell people and not for others. For me personally I had a lot of fun learning Haskell. It taught me to become a better developer in any programming language.

comment 7y ago · link · parent

> If that's supposed to be the way to write production code in the future, count me out!

Eh? Sorry but the code is really clear to me? Which parts do you find difficult to read?

comment 7y ago · link · parent

> You could have the project finished quickier in Javascript. Would you disagree?

That very much depends on the project (I have a lot of experience with Javascript, Typescript and Haskell).

comment 7y ago · link · parent

> I have taught both Haskell and Java and there is no comparision in difficulty.

Interesting. How much real world experience did you have with both languages before teaching it?

comment 7y ago · link · parent

> I question the well-being of anybody who subjects themselves to the pain and torture that is Haskell.

I question the well-being of anybody who refuse to learn anything that is hard to learn. Learning is like body building. No pain no gain.

1
107108109
116