Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pbw
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
20 ms
·
211.
▲
by
pbw
6y ago
I think tools are great. I don't get into it in the article, but with both tools and humans you can in fact makes sense of complicated structures even if there are dozens of attributes per object, but the thing is it's hard, a
212.
▲
by
pbw
6y ago
I believe how thinking works has many parallels with how visual perception works, because they both use the same underlying hardware. Chunking and hierarchy are super primitive and very likely are abilities that permeate the brain. Kurzweil
213.
▲
by
pbw
6y ago
The example was a real-world example I encountered the morning that I wrote the article. The article is 1500 words, I'd love to do a 5000 word version sometime with more in depth examples. As for explosion of things, there's accid
214.
▲
by
pbw
6y ago
It's a bad idea to add objects/classes/structs for no reason. If they are not pulling their conceptual weight they should be moved. Hierarchy has costs, flat is sometimes better. But as I wrote in the article attributes are l
215.
▲
by
pbw
6y ago
I totally agree, but in this case the args precisely are key/value pairs that appear the in the chrome://tracing GUI under the heading “Args”! So it actually works pretty nicely. But over use and misuse of args and kwargs is
216.
▲
by
pbw
6y ago
The Bonsai metaphor in the article agrees with your point, you don’t want poorly composed bags shared all over the place. You want a carefully and continuously groomed tree of objects that’s well designed and well cared for.
217.
▲
by
pbw
6y ago
I agree if attributes are global variables to the structured program that is the object, then methods are just functions and they are far less "dangerous". If you have a modest number of globals, like 3, you can have hundreds of d
218.
▲
by
pbw
6y ago
I wrote the article and you nailed it. In another comment I mention NumPy's ndarray has 15 attributes but 50 methods. Imagine the reverse, an object with 50 attributes? Even if the attributes were just booleans, that object could be in
219.
▲
by
pbw
6y ago
One of the reasons Linus cites for disliking C++ is he dislikes C++ programmers. He considers the average C++ programer to be of much lower quality than the average C programmer. And I don't really doubt him. I think the same can be sa
220.
▲
by
pbw
6y ago
I love flat APIs with many methods or functions. My article only talks about objects and attributes not methods or APIs. Numpy's ndarray object has around 15 attributes but over 50 functions. Imagine the reverse, if it had 50 attribute
221.
▲
by
pbw
6y ago
I love that. Chunking by textual grouping is great. Sometimes that is totally enough. One really nice thing about sub-objects though is you can pass them to and from functions like: info = get_owner_info(event.owner) info.record_d
222.
▲
Brain Oriented Programming
(tobeva.com)
111 points
by
pbw
6y ago
|
73 comments
223.
▲
Brain Compatible Programming
(tobeva.com)
2 points
by
pbw
6y ago
|
0 comments
224.
▲
by
pbw
6y ago
I'm confused. This page [1] claims to be the "Linux kernel coding style" and it says "The limit on the length of lines is 80 columns and this is a strongly preferred limit". So he's reversing that without actua
225.
▲
True Confidence
(tobeva.com)
3 points
by
pbw
6y ago
|
0 comments
226.
▲
Happy Birthday Tobeva Software
(tobeva.com)
1 points
by
pbw
7y ago
|
0 comments
227.
▲
3Blue1Brown on Breeding Necessity
(kmeme.com)
1 points
by
pbw
7y ago
|
0 comments
228.
▲
Harris and Christakis on Coronavirus
(kmeme.com)
1 points
by
pbw
7y ago
|
0 comments
229.
▲
Project Heading, Speed and Acceleration
(kmeme.com)
1 points
by
pbw
7y ago
|
0 comments
230.
▲
Externally Located Conscious Awareness
(kmeme.com)
1 points
by
pbw
7y ago
|
0 comments
231.
▲
by
pbw
7y ago
Google has 100,000 employees not one can offer up anything in defense of their pricing? That's sad, I'm sure they have some explanation for what they did, and why they did it, and how they want things to evolve from here. Would be
232.
▲
How Not to Meditate
(kmeme.com)
2 points
by
pbw
7y ago
|
0 comments
233.
▲
Mindfulness is driving without texting
(kmeme.com)
2 points
by
pbw
7y ago
|
0 comments
234.
▲
by
pbw
8y ago
I wrote this a while ago: http://www.kmeme.com/2010/03/healthcare-diff.html I wonder how well code-style line-oriented diffs work for laws. If you word wrap then your single-line changes can cascade and effect ma
235.
▲
by
pbw
8y ago
See Richard P. Gabriel's essay http://dreamsongs.com/RiseOfWorseIsBetter.html
236.
▲
Link to Text: highlight text in target page
(kmeme.com)
1 points
by
pbw
8y ago
|
0 comments
237.
▲
Tips for Writing
(kmeme.com)
1 points
by
pbw
8y ago
|
0 comments
238.
▲
by
pbw
8y ago
Is this just an audio simulation? The sliders don't seem to change the graphics very much. :(
239.
▲
Feasibility Study of Groundhog Day Piano Lessons
(kmeme.com)
2 points
by
pbw
8y ago
|
0 comments
240.
▲
A Disease of the Mind – Lying
(kmeme.com)
3 points
by
pbw
8y ago
|
0 comments
More ›