Live data from Hacker News

Closure, from why the lucky stiff (2013)

github.com

141–149 of 149 posts

Re: Closure, from why the lucky stiff (2013)

#141
post #92

Earlier quoted context omitted.

right! and, to build on that: people who see programming as maths understand it fundamentally differently than those who see it as prose, they approach every aspect of programming differently, evaluate "quality" on entirely different metrics, etc. in my experience, this is a major source of friction in programming teams, and deserves to be addressed more directly -- if i had it my way, i'd prefer that those who see p…

As both a writer and someone who has a degree in math, I see the segregation of prose and mathematics into fundamentally different categories as arbitrary, perhaps even incorrect. I see an artistic element to mathematics, just as much as I see a mechanical element to prose. The mechanics of the thing tell us what we can do, the art of it tells us what we want to do. Perhaps even _why we do it.

I don’t mean it as a separation, it’s an emotional response to how I do things.

In fact my blog is called The Art && Science of Ruby

Re: Closure, from why the lucky stiff (2013)

#142
post #36

Earlier quoted context omitted.

I always said "Python is like writing maths, ruby is like writing english"

right! and, to build on that: people who see programming as maths understand it fundamentally differently than those who see it as prose, they approach every aspect of programming differently, evaluate "quality" on entirely different metrics, etc. in my experience, this is a major source of friction in programming teams, and deserves to be addressed more directly -- if i had it my way, i'd prefer that those who see p…

With Ruby I feel (feel being the operative word) like I’m free to get the computer to do what I want and create something that looks good and makes me happy.

But in other languages I immediately feel cramped and constrained - and the code looks ugly to my eyes.

As for correctness and quality, number one is it has to fulfil the business requirements I’m being paid for (and I’ve shipped lots of crappy code that I’m ashamed of but the clients are very happy) and secondary, I like to look back at it and see something elegant that also looks good in an editor.

Of course, the definitions of elegant and “looks good” are the real questions here.

Re: Closure, from why the lucky stiff (2013)

#143

Earlier quoted context omitted.

I seem to remember multiple incidents where Rails programmers complained that everyone at the conference they went to was playing Werewolf instead of sticking to the topic. It made me wonder what kind of community would lead to that. As for _why, there is nothing special about him. If you need an overly precious twee white guy, we have a natural source of them called the city of Portland. You can go find another ten…

> As for _why, there is nothing special about him That sounds patently false to me considering we're still talking about him almost 20 years after his flagship work was published. Minimizing _why because of a tired, narrow-minded focus on identity politics seems disingenuous and like a missed opportunity to learn

[deleted]

Re: Closure, from why the lucky stiff (2013)

#144
post #84

Earlier quoted context omitted.

Honestly, internet of weirdos that feels separate from the real world is on private discords now. I pluck people from various semi-public communities that seem cool and build cool private communities.

There is a huge difference between pockets of weirdos sharing giphy memes in walled gardens using tools provided by a corporation and what felt like practically the entire internet being comprised of, built for and used by absolute weirdos.

[deleted]

Re: Closure, from why the lucky stiff (2013)

#145
post #133

Earlier quoted context omitted.

I seem to remember multiple incidents where Rails programmers complained that everyone at the conference they went to was playing Werewolf instead of sticking to the topic. It made me wonder what kind of community would lead to that. As for _why, there is nothing special about him. If you need an overly precious twee white guy, we have a natural source of them called the city of Portland. You can go find another ten…

I don't think that's true at all. If you go back and read his stuff, it ages pretty well in my estimation, largely because _why was apolitical. And he was way more informed by good humanities sources than any average Portland woke hipster.

> largely because _why was apolitical

ahahahahahha

Re: Closure, from why the lucky stiff (2013)

#146
post #122

Earlier quoted context omitted.

Yes, Ruby has always prioritised readability and "developer happiness" over predictability and rigour, but that doesn't mean that it necessarily encouraged incomprehensible meta-frameworks. Sinatra or similar projects show how things can be done more decently in Ruby, while still utilising its malleability in order to create a nice DSL.

When a main goal to maximize a subjective trait such as "developer happiness," you are almost certain to cause the opposite for a significant portion of your users. This is the curse of inherited ruby code.

Ruby gives incredible flexibility to individual developers writing code the way they prefer. For a large team, that can be a problem but I'm not sure that was Ruby's original target group.

Re: Closure, from why the lucky stiff (2013)

#147

Earlier quoted context omitted.

right! and, to build on that: people who see programming as maths understand it fundamentally differently than those who see it as prose, they approach every aspect of programming differently, evaluate "quality" on entirely different metrics, etc. in my experience, this is a major source of friction in programming teams, and deserves to be addressed more directly -- if i had it my way, i'd prefer that those who see p…

With Ruby I feel (feel being the operative word) like I’m free to get the computer to do what I want and create something that looks good and makes me happy. But in other languages I immediately feel cramped and constrained - and the code looks ugly to my eyes. As for correctness and quality, number one is it has to fulfil the business requirements I’m being paid for (and I’ve shipped lots of crappy code that I’m ash…

yep! and i have almost exactly the opposite experience!

with ruby i feel (same caveats) like there is so much ambiguity that i can't build a coherent and predictable mental model of my program -- it makes me feel anxious and unsure

what you characterize as "cramped and constrained" i probably experience as "precise and unambiguous" -- it makes me feel calm and in control

no judgment from me about which of these perspectives is better or worse, i don't think there is any way to say that, just want to point out this interesting difference in perspective among practitioners

Re: Closure, from why the lucky stiff (2013)

#148
post #104

Earlier quoted context omitted.

[flagged]

What type of programming do you do? Because in my experience, programming is as much an art as it is a science (or mathematics). In my previous job, I had to classify phone numbers as either 1) valid NANP [1], 2) invalid NANP [2], or international, and it wasn't clear cut like balancing equations. I was surprised that the Oligarchic Cell Phone Company (our customer) didn't even send us valid phone numbers! [1] North…

i think my example of "balancing equations" was a poor one. obviously, there is almost never a single objective solution to a programming problem.

probably a better metaphor for programming is as a craft -- not a pure science, like math; not a pure art, like painting or writing; but much more akin to something like woodworking

Re: Closure, from why the lucky stiff (2013)

#149
post #92

Earlier quoted context omitted.

right! and, to build on that: people who see programming as maths understand it fundamentally differently than those who see it as prose, they approach every aspect of programming differently, evaluate "quality" on entirely different metrics, etc. in my experience, this is a major source of friction in programming teams, and deserves to be addressed more directly -- if i had it my way, i'd prefer that those who see p…

As both a writer and someone who has a degree in math, I see the segregation of prose and mathematics into fundamentally different categories as arbitrary, perhaps even incorrect. I see an artistic element to mathematics, just as much as I see a mechanical element to prose. The mechanics of the thing tell us what we can do, the art of it tells us what we want to do. Perhaps even _why we do it.

i fully understand and appreciate the distinctions, and equivocations, you're describing here. i also agree with you that the best "stuff" acknowledges and maximizes both left- and right-brained parameters

my point is less about these abstract concepts, and more about the perspectives that human beings have when engaging with this "stuff"

concretely -- when i'm playing a musical instrument, my brain is in a mode that is completely different than, and totally incompatible with, the mode my brain is in when i'm writing a program, or working on a math problem

it's one or the other

why's book reads to me as a "playing an instrument" perspective on a "writing a program" problem, which doesn't work for me, at all -- personally!

other people, it works, i get that

Post reply on HN