hasty_pudding

Joined 2 years ago

Karma
168
Submissions
321
Member since
Dec 13
View on Hacker News

Recent submissions

Comment · 2 years ago
News needs sensationalism.

Thanks for posting another side of this.

What you're saying makes a lot of sense.

Comment · 2 years ago
what languages don't use objects to implement non-primitive data structures?

like a binary tree for example

Comment · 2 years ago
What languages on Earth implement non-primitive data structures without objects?

I guess maybe low level c and assembly where you implement everything as bits in physical memory?

Comment · 2 years ago
you know how unsufferable it is when people bog a conversation down with semantics instead of ideas.

the point is obvious.

Being that every single language on Earth uses objects for non-primitive data structures that should be inferrable to a reasonable person.

a data structure in that context is clearly an ordered grouping of objects versus an unordered/loose grouping of objects.

Comment · 2 years ago
Very far
Comment · 2 years ago
You definitely need generic node objects to define the nodes.

You could have a completely stateless class/object that would manipulate those nodes and add them and remove them from the data structure.

Comment · 2 years ago
Comment · 2 years ago
"all functions are pure, there is no data mutation, and entities are represented by data structures instead of objects."

God i love to see this

Comment · 2 years ago
The problem is you don't know if it's a blunder until after.
Comment · 2 years ago
don't know what you're getting downvoted it is true

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton