Ben Halpern

dev.to/ben · Personal blog · on HN since 2016

Ben Halpern, founder of dev.to, writes about web development, developer communities, web components and the site's own news.

What HN saysHN links it mostly for dev.to announcements and posts on web development; the given comments mostly point to his profile rather than judge his writing.
51HN people shared it
7linked it in comments
123stories submitted
760story points
2 years agolast shared
2016people per year2026

Most-shared posts

  1. 1
    The target=“_blank” vulnerability by example
    7 people · 179 points · first shared 2016 · 11 comments on HN
  2. 2
    Dev.to Raises Seed Round
    3 people · 7 points · first shared 2018 · discussion on HN
  3. 3
  4. 4
  5. 5
  6. 6
  7. 7
    This Website Is Basically AMP HTML
    2 people · 8 points · first shared 2016 · discussion on HN
  8. 8
    On GUI-shaming and a mountain of hot takes
    2 people · 7 points · first shared 2018 · discussion on HN
  9. 9
    Dev.to is now open source
    2 people · 6 points · first shared 2018 · 1 comments on HN
  10. 10
  11. 11
    Technology Must Know When to Say “I Don't Know”
    2 people · 4 points · first shared 2018 · 1 comments on HN
  12. 12
    Is Git the be all and end all of version control?
    2 people · 4 points · first shared 2017 · 3 comments on HN
  13. 13
    The dev.to codebase will go open-source on August 8
    2 people · 4 points · first shared 2018 · discussion on HN
  14. 14
    Long Live jQuery
    2 people · 4 points · first shared 2016 · discussion on HN
  15. 15
    One of the coolest parts about the web is being eroded
    2 people · 3 points · first shared 2018 · discussion on HN

What HN people wrote when they linked it

bhalp1 · 2019-11-07
A lot of good things here. I think I'll try to address a lot of this in an upcoming blog post or two. I'd get into it now but I'm a bit tired from an exhausting day of making this announcement. You can follow me at https://dev.to/ben to get notice when I get a chance to flesh some of this out publicly.
dmitriid · 2022-09-01
Just imagine if instead of sinking hundreds of millions of dollars into poorly specced APIs with horrible usability like service workers[1] browser devs would instead implement something that apps actually need: proper UI controls and components. I keep saying: there's a reason all the CSS and UI frameworks on the web re-implement the same paltry dozen of the most primitive components and rarely if ever tackle anything complex. https://open-ui.org is too little too late. [1] To quote Dan Abramov, https://dev.to/ben/why-the-react-community-is-missing-the-point-about-… --- start quote --- React users would love to not have to npm install a date picker and bloat their bundles! If they need to "use the platform" then why doesn't that platform ship the features they actually ask for? Instead of a carousel they get an aside. Features like service workers are touted as a solution to many problems in the web, but their ergonomics are so under-designed that people actually have to change domains to bust the cache from a broken build (I’m not making this up). --- end quote ---
antjanus · 2018-07-27
I usually recommend a few different books: Clean Code: A Handbook of Agile Software Craftsmanship http://amzn.to/2vcRcgU This book really helped me focus on code organization and seeing maintainable code as an overall goal whilst building long-term applications. I'd say that one of the reasons why the work I've done 3-4 years ago can still be used, expanded, and maintained today is because of this book. Short functions, code organization, and naming conventions all stuck with me. I'd say that unlike other programming books, this one focuses on the "art" and "organization" rather than syntax and other aspects of programming. The Pragmatic Programmer: From Journeyman to Master http://amzn.to/2vfeUaT This book tackled real-world application building and practices. I'm still reading it. I liked how it tackled not only some basics of programming (resource management practices) but also project management to a certain extent. Eg. how to use prototypes, how to use "trace bullet" programs, etc. Game Programming Patterns I think one of my favorites has been "Game Programming Patterns" http://gameprogrammingpatterns.com/ which is free online or you can get an ebook/print version http://amzn.to/2veRdiO The book introduces several basic design patterns, it explains WHY they're used, how to implement them, etc. in the best way I've read so far. No CS book or online article has been able to explain these patterns as this book did. And I'm not even a game developer. Also, check…
davidatbu · 2024-10-06
I don't know if it's due to my familiarity with Rust, but I find none of the examples cursed or surprising, except the "&* is useful" one. Even for that one, I think the use case of "turning a raw pointer to a reference" actually requires unsafe, and so it's imo a bit misleading to omit that fact. All this is unlike a language i work with in my day job (and hence one would expect that I'd not find surprising), and yet I find so much behavior utterly baffling: https://dev.to/ben/what-is-the-oddest-javascript-behavior-4dh2
prohobo · 2022-12-09
First of all, don't use ChatGPT for that. Use full GPT-3, specifically the code models (ie. code-davinci-002). ChatGPT is a subset & tweak of the full GPT-3 model to make a good chatbot, and it's actually less capable than the full model. It's strange to me that people are going crazy over ChatGPT when GPT-3 has been out for months now. More info on the difference between ChatGPT and GPT-3: https://dev.to/ben/the-difference-between-chatgpt-and-gpt-3-19dh
tonystubblebine · 2019-06-06
Here's the Dev.to piece on the FCC section that the author is talking about. I wouldn't take FCC's public posturing uncritically as it appears they stole a lot of people's articles on the way off of Medium and ruined a lot of author's SEO in the process. https://dev.to/ben/i-m-concerned-with-the-move-that-freecodecamp-just-…
Cozumel · 2016-10-06
It could be some kind of 'target blank' attack, if you have Gmail open in one tab then open a link from a linkedin email onto their site, they have access to your gmail window and can probably get your contacts. Couple of examples explaining it better than I can: https://dev.to/ben/the-targetblank-vulnerability-by-example https://www.jitbit.com/alexblog/256-targetblank---the-most-underestima…

Keyboard shortcuts

/Search
j kNext / previous blog
EnterOpen selected blog
vVisit the blog site
fFollow / unfollow
lSwitch grid / list view
dSwitch dark mode
g hHome
g pTop posts
g tTopics
g fFollowing
g lLiked
g yHistory
g qFAQ
EscBack / close