Better HN
topnewbestaskshowjobs
Log inSign up

deterministic

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

Submissions

comment 8y ago · link · parent

I call bullshit on this. "Busy" people always seems to have plenty of time to watch TV, be on Facebook/Twitter and/or play video games.

comment 8y ago · link · parent

Seriously? Are your devs running MS-DOC with 640k of RAM? If not then don't worry about it.

comment 8y ago · link · parent

What he actually talks about is Erlang style programming. Erlang is the most OO language out there according to his definition. Which is funny because Erlang is also a functional programming language.

comment 8y ago · link · parent

There are a lot of smart, experienced, thoughtful developers who know from experience that they are more productive using types. And there are smart, experienced, thoughtful developers who know from experience that they are more productive not using types. So something interesting is going on here. Obviously this is not a situation where one of those choices is "objectively correct". It is very likely that both groups are right. So what can we learn from this? Perhaps that it depends on the developer and/or the kind of software they develop whether types make sense or not. It might also depend on how well the developer understands type systems and the kind of exposure they have had to them. I think THAT is a much more interesting conversation to have than the usual "my way is better than yours" typical conversation we have had SOOOOOOO many times.

comment 8y ago · link · parent

For the most part I feel that 99% of problems are easier to fix with types. Especially large scale refactorings.

comment 8y ago · link · parent

I find it interesting that Rich (and other Clojure people) feel they need to continue defending themselves again and again. While strongly typed language communities usually don't feel the need. There must be some deep doubt in the Clojure community that triggers this.

comment 8y ago · link · parent

The data types in Clojure can be very easily (and better) expressed in (say) Haskell. For example: http://tech.frontrowed.com/2017/11/01/rhetoric-of-clojure-an...

comment 8y ago · link · parent

> Maintaining state and mutating state is useful and neatly done in OO

I started laughing when I read "neatly done". I assume you don't mind long range state mutating effects making your code a lot more complex to reason about than it needs to be. Or the "grab a banana and you grab the whole planet" dependency issues OO almost inevitably introduce. Or ... (I could go on). OO with mutable state is anti-modular.

comment 8y ago · link · parent

> That's why I like Clojure's philosophy of a few data structures and many functions operating on them.

Which in practice means that a few data structures that are not perfect for solving a specific problem are forced (with repeated hammer blows) to bend to the problem. Like the old style LISP AList's used as a map. Probably the worst possible structure for representing a map. But yeah it kinda works as long as you don't have much data.

comment 8y ago · link · parent

The dragon book is not recommended. It is very out of date. I write (among other things) high performance compilers for a living. And the Dragon book is not useful at all.

comment 8y ago · link · parent

I also don't believe PG's claim. I know Common Lisp, Scheme and Clojure well enough to be able to say that. Also, lots of people/companies made fortunes not using Lisp. So PG's claim proves nothing.

comment 8y ago · link · parent

And 10000+ other people/companies have made fortunes using programming languages other than Lisp. So what's your point?

comment 8y ago · link · parent

Haskell (and other functional languages) is also built on the lambda calculus. Lisp isn't special in that regard.

comment 8y ago · link · parent

I'd rather have 5 very good programmers (using ANY language) than 50 code monkeys (using ANY language). The problem with the Lisp programmers is that they very likely would not be able to work as a team.

comment 8y ago · link · parent

So what? 10000+ companies were successful with software not written in Lisp. Biz success is not decided by the programming language you use.

comment 8y ago · link · parent

Macros/Code Generation used correctly is exactly the opposite of what you are saying. Macros/Code Generation used correctly forces you to figure out at a much higher level what it is you want to achieve. And declare it in a formal computer readable way.

comment 8y ago · link · parent

Code generation is brilliant. Remember that a compiler is a code generator. Using your own code generator allows you to declare what you want at a high level and then generate bug free code that implements it. It is like having a super fast automatic programmer at your side making you super productive.

comment 8y ago · link · parent

Lisp seems to be optimum for team sizes of one. Maybe two or three if they are very "world view" compatible or have a dominant "alpha" dog. But using it for large scale development?

comment 8y ago · link · parent

I agree. I understand and have programmed in Common Lisp, Scheme and Clojure. And yes I fully understand macros. I even implemented Lisp style languages just for fun (using C++ and Haskell). But I never wanted to use it for production code.

comment 8y ago · link · parent

Industrial robots kill people all the time. And have for years. So nothing new legally.

comment 8y ago · link · parent

You clearly don't understand the world of video game programmers. I worked on a game (Banjo Kazooie) that ended up being turned into more than 6 million ROM cartridges and distributed worldwide through retail. The cost of producing the cartridges alone was millions of $. With no internet patching available in case of a bug. We took verification VERY seriously.

comment 8y ago · link · parent

I would say that people who build systems with excessive complexity are (almost per definition) not smart. They made appear confident and have a high level of "I am so smart" feel about them. But they are clearly not.

comment 8y ago · link · parent

"Large-Scale C++ Software Design" by John Lakos. The only book (as far as I know) that really teach you the nitty gritty of handling very large scale systems (not just C++ systems). Something I have needed more than once in my career.

comment 8y ago · link · parent

> Most wealthy and successful people I've met are intelligent, confident and likeable people.

That is not a large sample. So not even close to being evidence for anything. As a counter argument: I have met more than one wealthy person who is a sociopath. So there.

comment 8y ago · link · parent

What it does show is that even if there is a "more deterministic mechanism" then it doesn't perform better than random luck.

comment 8y ago · link · parent

There are more than two alternatives. And there are many flavours of capitalism. Some great. Some not so much.

comment 8y ago · link · parent

This is the big mistake people always make: focusing on the tax rate. Wake up. The tax rate does not matter. At all! What matters is the end result: your buying power. How much good stuff (goods and services) are you getting in return for the time you spend working? THAT is what matters.

comment 8y ago · link · parent

I know Singapore quite well. And yes it is a nice city but also very boring. Nothing to do but shopping.

comment 8y ago · link · parent

Where is the proof that CEO's make better than random decisions? Companies go bankrupt all the time.

comment 8y ago · link · parent

The existential angst experienced by Hacker News developers is amazing. One moment I am reading articles proclaiming that "nobody hires Senior Developers" (which is nonsense). And people freak out. Followed shortly by "nobody hires Junior Developers" (which is also nonsense). With an equal amount of freaking out. So should we conclude, based on the "wisdom" of Hacker News, that nobody hires any Junior or Senior or any other Developers of any age/sex/...? Of course not. Because developers get hired every day, all the time.
1
111112113
116