Live data from Hacker News

How Dwarf Fortress is built

stackoverflow.blog

361–370 of 407 posts

Re: How Dwarf Fortress is built

#361
post #334

Earlier quoted context omitted.

Please enlighthem us how React is even able to work when we take away DOM and JavaScript OOP capabilities out of it. I am quite curious how the browser is going to display anything. You think that you know much more than me, enjoy a peaceful life thinking that way, if it makes you happy.

React is a remarkably well-focused library that can work just fine without DOM, itself having no relationship with or dependency on DOM or the browser whatsoever. If you want to render into DOM, you’ll need to use another library, ReactDOM (notably not a dependency of React). However, rendering to DOM is not the only way to use React. Ink[0], for example, allows to create command-line program interfaces out of React…

What is Array.prototype.map()?

Re: How Dwarf Fortress is built

#362
post #335

Earlier quoted context omitted.

You're right you are unaware. This is not an insult and I'm not trying to offend you. This is a factual statement. You truly are unaware as you stated yourself, and I can prove it to you. First off FRP is actually a term. Functional Reactive Programming. It is 100% a functional paradigm that gasp by DEFINITION cannot be procedural. So you truly didn't know what you were talking about here: https://en.wikipedia.org/wi…

Ah so ReasonML doesn't transpile to JavaScript, an OOP language? How does it run on the browser?

[deleted]

Re: How Dwarf Fortress is built

#363
post #9

To me what was most surprising about Dwarf Fortress, given the complexity, is that Tad didn’t use git or any other code repository until more recently.

Did he finally start using one? I know that was one of the things that blew most people away, is that he had no change history for most of his code...

I could have misread, but in a less recent interview, I think he has been using git within the last two years. The interview where he mentioned that he didn’t use any source code repo was 4 years or older.

Re: How Dwarf Fortress is built

#364
post #358

Earlier quoted context omitted.

Are you by chance thinking of MVC? MVU is more towards functional rather than imperative programming.

Not when using an OOP language like JavaScript, you are by definition using OOP constructs exposed as language fundamental types.

[deleted]

Re: How Dwarf Fortress is built

#366
post #361

Earlier quoted context omitted.

React is a remarkably well-focused library that can work just fine without DOM, itself having no relationship with or dependency on DOM or the browser whatsoever. If you want to render into DOM, you’ll need to use another library, ReactDOM (notably not a dependency of React). However, rendering to DOM is not the only way to use React. Ink[0], for example, allows to create command-line program interfaces out of React…

What is Array.prototype.map()?

You don’t have to use map() if you don’t like it; and you’re free to pick a functional implementation from Ramda or somewhere else and use that instead, React really couldn’t care less.

Re: How Dwarf Fortress is built

#367
post #361

Earlier quoted context omitted.

React is a remarkably well-focused library that can work just fine without DOM, itself having no relationship with or dependency on DOM or the browser whatsoever. If you want to render into DOM, you’ll need to use another library, ReactDOM (notably not a dependency of React). However, rendering to DOM is not the only way to use React. Ink[0], for example, allows to create command-line program interfaces out of React…

What is Array.prototype.map()?

[deleted]

Re: How Dwarf Fortress is built

#368
post #365
post #360

Earlier quoted context omitted.

Whatever makes you happy to face the hard realities of this world. Beware, with great power comes great responsibility.

[deleted]

Ah that explains the false sense of superiority, without ever having done any UI/UX work to prove knowledge claims!

Re: How Dwarf Fortress is built

#369
post #362
post #335

Earlier quoted context omitted.

Ah so ReasonML doesn't transpile to JavaScript, an OOP language? How does it run on the browser?

[deleted]

Dear teacher what is Array.prototype.map()?

While you are at it, what is the typeof(function)?

Re: How Dwarf Fortress is built

#370
post #361

Earlier quoted context omitted.

What is Array.prototype.map()?

You don’t have to use map() if you don’t like it; and you’re free to pick a functional implementation from Ramda or somewhere else and use that instead, React really couldn’t care less.

What is typeof(function)?
Post reply on HN