Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Meta-comment: I really love the expanding explanation hyperlinks in this article. It's a much better alternative (imo) than say, linking in a new tab, or a pop-up, etc.


Me too, I found that aspect of the site design really cool. Just another perk of hand-made personal sites instead of things like medium.

I think it might be even more useful with a faint background color so you could skip ahead to the end of the parenthetical if you figured out what you wanted to a few words in. Overall really cool feature though, which I'm tempted to steal haha.


Done! All the expandables have background colors now. https://github.com/akalenuk/wordsandbuttons/commit/22ef6295c... Thanks for the idea!


Background colors are a great idea, I'll do that!


Whereas I didn't realize they were links, and never thought to click on the oddly worded text below the examples. For others like me, the plain text label in a square box below the listings that says stilted things like "The one on the left does" expands when clicked to give a useful explanatory paragraph. Seems like a good approach, but I could have used a better affordance: a cursor change on hover, underlined blue text, even maybe a tool tip that says "click me for the answer you idiot".


I added a note saying that if you pick one of the answers an explanation will appear. Thanks for the feedback!


Good point! I'll think what I can do.


It cannot be toggled back to hide the explanation without refreshing the whole page.


Fixed! Every expandable text can now be toggled back. Thanks for bringing this up!


Nice and useful post BTW. Most programmers seem oblivious about what takes place "under the hood".

A side note: I still plan to read your Geometry for Programmers, now that it is close to being finished. All the best!


Yes, I did the foldable thingies in https://wordsandbuttons.online/programmers_guide_to_polynomi... and https://wordsandbuttons.online/if_i_were_to_invent_a_program...

But not on this page. I thought that the arrows are a bit noisy. I can still add this "toggle back" feature here if you want.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: