Better HN
topnewbestaskshowjobs
Log inSign up

deterministic

2,860 karma · joined Feb 27, 2013 (13y ago) · 3,465 submissions

Submissions

comment 5y ago · link · parent

The syntax is really bad. And I am familiar with Haskell, Lean, Idris, Agda etc. If the author reads this, I recommend instead copying the syntax used by Lean, Idris, or Agda. They are very close to each other and all good.

comment 5y ago · link · parent

Simple doesn’t mean easy. Making things simple can be hard. Understanding simple things can be hard. Easy means “familiar”. Hard means “very far from what I already understand”. The Lambda Calculus is super simple. But super hard to understand in all its ramifications.

comment 5y ago · link · parent

Yep :) I have played Factorio more than any other game. By far.

comment 5y ago · link · parent

Wow. And I thought my 800+ hours was a lot :)

comment 5y ago · link · parent

Hello my name is John and I am a Factorio addict. I have so far managed to go two days without playing Factorio. But I fear that my resolve is slipping away. I dream of belts and factory layouts in my sleep. Of killing biters with long range artillery while laughing like a crazy person. Of witnessing yet again the launch of a mighty rocket as it race to the heavens. My name is John and I am a Factorio addict.

comment 5y ago · link · parent

I think you are quoting Bjarne Stroustrup (C++ creator).

comment 5y ago · link · parent

I don’t think having multiple ecosystems is a bad thing. Think about it as a market place where ecosystems compete to attract the attention of developers. A bit like a decentralised economy. While what you are suggesting is the equivalent of a top down centrally planned economy where a dictator will tell everybody what to use. And (I assume) police and punish everybody who doesn’t comply. That doesn’t sound like a good thing.

comment 5y ago · link · parent

I disagree. If you don’t understand Monads then you loose a lot of opportunities to write clean elegant code in pure functional languages. I wrote my own Monads all the time in Haskell. However if you are not using a pure language then I agree.

comment 5y ago · link · parent

My point is that you need to understand Monads to use Haskell/Lean/Idris/Coq for anything practical. Because those languages are pure. You don’t have to understand monads to use non-functional languages. In the same way that you don’t have to understand Category Theory to use Haskell. So when I say you don’t use monads in non-functional languages that is exactly what I mean. In the same way that you don’t use Turing Machines in any programming language even though it “is” a Turing Machine underneath.

comment 5y ago · link · parent

You don’t need Monads unless you are programming in a pure functional language like Haskell/Lean/Idris/…

comment 5y ago · link · parent

No Monads are not “just a very concise definition of a List”. I do agree that some developers love to obfuscate rather than clarify because it makes them seem smart. But not everybody. I agree with the article that you really have to try and implement your own Monads to understand them. Reading articles won’t help. However unless you are programming in a pure functional language you don’t need to learn/use Monads. So just ignore it if that’s the case.

comment 5y ago · link · parent

Yep agree. I actually understand Monads and have used them in Haskell but I still 100% agree with you. One of the problems is that understanding Monads is 100% needed in purely functional languages but not in non-pure functional languages. I have never used Monads outside of Haskell because it doesn’t make sense to use them in C++/Java/C#.

comment 5y ago · link · parent

What an excellent article. He is 100% right. And the sad truth is that most documentation/tutorials/teachings does it wrong.

comment 5y ago · link · parent

I think you will find that there is a large set of ways to solve the same problem equally well. So arguing about the best way to solve the problem is a waste of time.

comment 5y ago · link · parent

Most places I have worked had zero agreed standards. It wasn’t a problem at all. And people didn’t waste their time getting into fights about how to interpret the “agreed standards” or policing it. Great!

comment 5y ago · link · parent

Smart experienced software developers disagree on “best practices” all the time. What is “obviously” the best practice to you is “obviously” not the best practice for somebody else. Now what?

comment 5y ago · link · parent

Two different “experts” will do this and arrive at different conclusions. Now what.

comment 5y ago · link · parent

My experience is that enforcing standards for everybody is really bad. Different projects are truly different and require different trade offs. Enforcing one way to do things is anti-agile.

comment 5y ago · link · parent

What a BS straw man answer. There are much easier ways to do that kind of testing.

comment 5y ago · link · parent

I am talking about very large scale systems with web + mobile + desktop clients in an Enterprise environments. Think airlines and airports (operations and pairing/rostering). However it sounds as if your experience has been pretty bad. So I understand where you are coming from. My experience is that yes it is hard to do right but also that it is worth doing. YMMV of course.

comment 5y ago · link · parent

What’s incorrect about my comment? Clearly other organisations can write successful end-to-end tests. The fact that you can’t do it doesn’t mean that nobody can.

comment 5y ago · link · parent

They are only slow if you do it wrong.

comment 5y ago · link · parent

Of course you can. Part of the end-to-end test is to setup the test scenarios you want to test (including limited HD space etc.)

comment 5y ago · link · parent

Well it is true. The fact that you don’t believe it tells me you have a lot to learn. Writing good end-to-end tests is a skill you need to learn. Don’t assume that software developers can do it without proper training/learning. It is hard to do well.

comment 5y ago · link · parent

Yep agree. Focus on the one thing that will have the most positive impact in your life. Ignore the rest (doing minimum to keep things going). What is #1 will change as life changes. But there will always be a #1 that you should focus your energy on while keeping the rest at minimum power.

comment 5y ago · link · parent

Think about it this way: if you are making a lot of progress then you are not learning anything new. It’s when you are stuck, when you have hit a wall, that’s when you are doing something new. Something where you have to push hard and think hard to make progress. But that is also where you learn and make personal progress. So seek out problems that are hard not easy.

comment 5y ago · link · parent

Agree. HN is the only website I visit every day.

comment 5y ago · link · parent

Most creative people have about 2 hours of effective time per day. The rest is thinking/noodling/playing/recovering/… time.
1
828384
116