150 points · by revskill · 3y ago · 72 comments
For those unaware, https://en.wikipedia.org/wiki/Why_the_lucky_stiff _why’s legacy from things like https://poignant.guide/ was a radical shift in how web programming could be taught, and how fun and approachable (for folks of all backgrounds, academic and otherwise) it could be to learn. IMO we owe a tremendous amount of the modern startup landscape to him.
He's actually still in Seattle, last I heard.
He's more of an idea and an ideal anyway. It's better this way, better that he never "returns."
Who wants to see Instagram posts of _why talking about the shitty hamburger he ate? He's always going to be a mystery to me and that's so much better than anything else could ever be. And the reason he is legendary only increases because of that.
Thanks so much for that, _why, whenever you are.
Found these words: archetype, prototype, ideal, ur-form, primordial (mathematics), formal cause, exemplar, Platonic form, essences, archetypal, original pattern, fundamental pattern, first principle, protype, paradigm, archetypical
Just mentioning it as an aside in case anyone's ever similarly trying to find the right word in the future.
i appreciate the sentiment of _why, but quality, depth, rigor, and tenacity are also important. _why is no Richard Stevens.
if you fold up and throw a tantrum the minute that your 5 seconds of fame is over and you get to experience some real criticism and apathy and all sorts of other unpleasant things that successful people have to handle, it sort of underscores the immaturity of it all.
matz is still around, isn't he? hell, so is even larry wall.
Still, it was pretty influential and original.
I don't think it's fair to comment on the person based on one letter - although I will say the tone is reminiscent of some folk in my community who have their own demons.
I can see that as advice to a new programmer, a call to experiment, play around, stretch skills, share small scripts etc is useful.
Once you start building more meaningful, long term, things in a team context, then things like consistency, tests, comments and do on become a lot more important.
I've been lucky enough to work with very bright people over the years. But for some of them, their code is hard to read, somewhat prone to bugs, and generally working with it is "disliked." It is slowly being replaced. I include some of my early code in this.
Over the years personally I've tried to change from writing "clever" code to "clear" code. The latter seems less impressive but ultimately lasts longer.
Wherever _why is, I wish him well.
I have worked with too many programmers that know everything about engineering and process but can't actually DO THE WORK or solving problems, applying data structures, innovating their way out of a corner.
They can go a long way with senior management because they speak all the right lingo.
But when push comes to shove, and a new system needs to be built, or a bug needs to be solved quickly and safely in production without backwards incompatible changes, or business requirements collide against technology options...they are lost.
But the advice in the post doesn't make bad programmers into good programmers - it just makes bad programmers "try to be clever" - which frankly doesn't end well.
Do some of these techniques help bad programmers _become_ good programmers? Sometimes yes. But then it should come with the caveat never to do it in "real" code. It might be a good learning tool, but it's a terrible production tool.
Programming has culturally shifted. It's not as fun as it used to be, but it is more accessible and has less mystery about it. That was my time as a young programmer, if you missed out on that then that's too bad, but I missed out on previous and probably even more wild times - both my parents were programmers and I envy their experience. I'm sure there's slices of programming culture now that I have no access to that are again wild and exciting in their own way, just not in web or application programming. So the wheel turns.
Hardware hacking, for example, is "back" in that it's once again in the limelight for beginner programmers after a period of being too expensive and too limiting to be attractive to a lot of people. It never went away, certainly, but in the late 1990s it looked more like this:
https://todbot.com/blog/2006/09/25/arduino-the-basic-stamp-k...
That's a webpage which compares the BASIC Stamp to an Arduino setup. The upshot? The BASIC Stamp was about $120 all-in to buy the hardware plus a proprietary development environment, whereas a comparable setup for the Arduino is $60 (or less) for the hardware plus a more pleasant development environment, especially if you're coming from Python or ECMAScript and don't like the idea of learning a SHOUTY LINE-BASED 1960s CRUFTFEST that isn't even something cool like assembly language.
So in some ways we've circled back around, but it's more like a helix: Yes, kids are Making LEDs Blink Again, but this time it's with a language that isn't a dead-end and it's with hardware they don't have to be so paranoid about blowing up. Experimentation is more fun if you're not afraid of failure. It's the same point in some dimensions, but it's a few miles different in a different dimension.
Speaking of dimensions, Web programming has gained a whole new set of dimensions. Say what you will about webdev as a whole, there's few easier ways to show off your work than being able to give your friends a URL so they can just load and go. Shadertoy alone is, from a 1990s perspective, so cool my teenage self would have gone of the deep end with it.
Give it a shot again. I really enjoyed doing so.
Gotta say, last time I checked up on Rails though, it really depressed me how bloated it got. Maybe I'll just use ActiveRecord and ActiveSupport... but there was so much to love about Rails, I'm just really sad all the JS support kinda overwhelmed it from my perspective.
"As someone who maintains _why's code these days, please, write some tests."
His distaste for tests is just a consequence of that.
https://www.nippon.com/en/japan-topics/g00837/digital-minist...
Chapter 3^ says (among other things)
> Two chapters from now you'll be writing your own Ruby programs. In fact, it's right about there that I'll have you start writing your own role-playing game, your own file-sharing network (a la BitTorrent), as well as a program that will pull genuine random numbers from the Internet.
Which always sounded cool to me (and still does), but it's never brought up again in the book. Were those meant (and I realize no one can say for sure) merely as examples of projects one could do, or did (a version of) the book walk you through their implementations? Or am I missing something?
I disagree and I don’t really see how they’re connected.
There's been a few posts on HN that I remember which could be summarised as "I made this cool and useful thing, but I'm worried I'll be criticised because it's not polished enough. Should I just throw it away?" That's the "worry too much" view.
This is stopping me from actually making any meaningful progress on some other challenges in the codebase. (pushing boundaries)
And for the actual problem: is drawing a card actually move with a source and destination?
/player1/draw
/move/player1_deck/to/player1_hand
I keep getting hung up on the fact that move feels “more right abstractly” but now the move endpoint has to know about _all states_ to know if the move is valid.
There was no testing framework capable of testing my latest JS library so I built my own; but here's the catch: the testing framework for the library is bootstrapped by the library itself, necessitating building a large amount of the functionality before getting CI in place.
Explains why I've replaced so much inconceivably tortured code over the years
Edit:
1: Eleven years ago!
Python was there first, and took a very long time to gain its hegemony. Pandas and Jupyter could in principle have been built on Ruby: why weren't they? Python suffered massively in the 2->3 transition and has only just begun to essay thread-safety, which both should have given Ruby a leg up.
Was it a core implementation group's superior openness to the needs of such projects?
Ruby had all the mindshare and hype over Python back then. To me as a Python fan, it felt like Python had peaked and wasn't going to grow further.
Then Node came along and stole the bandwagon followers that had flocked to Rails. The Ruby community was mostly the Rails community, so this kinda capped the growth of Ruby.
Python though had lots of competing Web frameworks, and other use outside webdev incl core tooling for Linux distros etc. Ansible (and Salt to a lesser extent) came along and stole back share from Chef/Puppet. Less fashionable Python kept on trucking along and was well placed to pick up machine learning.
AFAIK the .NET MVC setup was pretty influenced by Rails, but don't think Rails people went to .NET
I really doubt many Rails devs went to .NET. In those days Ruby was pretty bad on Windows machines (might still be?), and nearly all Rails devs were Mac users.
I never knew .NET MVC was Rails inspired - I always assumed it would've been closer in style to the older Java MVC frameworks Rails was keen to disrupt in the beginning.
I did a contract with a Rails shop and refused to renew it. Without Rails there's not a strong reason to use Ruby. It's a beautiful language, no doubt, but other languages fill its niche just fine (Python, PHP, js).
> about the size of life peoples let’s say
> live action role playing larger than life sage type of people
> Seems people just about the size of life
??
Statistics folks, data science peeps. Just needing to get things done, and not necessarily interested in--or aware of--programming ergonomics (for example).
> LARP
Personalities, like a Carmack. People we refer to just by name, due to technical agility, charisma, or sheer output.
I liked _why's stuff. The way he left is not how I would expect a persona to depart. There were some shifts in the programming landscape, and it led to a kind of forlorn sadness or mourning.
If I had to list others, Chris Crawford and Mark Pilgrim.
> Seems people just about... what's needed for language to flourish
Folks needing to munge data from CSV or Excel found python (and R, and other data libs) earlier, or more convenient to use; this built momentum as others tried Python instead.
Maybe also academia, python was there so it was taught. Another example could be students learned UNIX and brought it to their jobs. Same with Java.
Ruby metaprogramming made for some write-once-read-never codebases.
cpython has supported thread safety since last millennium, it's just slow is all
probably ruby, like lisp, is better for experiments to figure out what problem you're solving, but python (or, more so, golang or kotlin or typescript) is better for writing a maintainable solution to the problem once you more or less understand it
i think of python as favoring flexibility a bit more than i'd like, at the expense of comprehensibility and performance, but ruby is even more extreme along that axis
but probably random chance also plays a large role
_why's message lands aptly upon those who cannot see the value in experimentalism. It takes a backwards kind of discipline to force yourself to push code you know isn't perfect. Sometimes seeing the whole before each part.
This mentality is what led me to my own methodology: Write everything twice, from scratch".
Of course, in practice there's never enough time for as much experimentation and rewriting as we'd like. Still I believe it's an ideal worth aspiring towards.