Log inSign up
Surma
22.3K posts
Image
user avatar
Surma
@DasSurma
DX & monorepo at @ShopifyEng Craving simplicity, finding it nowhere. Internetrovert 🏳️‍🌈 He/him.
Bristol, UK
surma.dev
Joined June 2008
1,480
Following
37.9K
Followers
  • Pinned
    user avatar
    Surma
    @DasSurma
    Jun 17, 2025
    📝 First blog in a long time! I always like “flow-based” programming, and it’s a very powerful paradigm. LangGraph lets you codify complex workflows as graphs, and also integrates really well with LangChain, if your workflow is LLM-driven.
    Image
    LangGraph for complex workflows — surma.dev
    From surma.dev
    14K
  • user avatar
    Surma
    @DasSurma
    Jan 21, 2019
    *sigh* okay: Frontend dev: hard. Backend dev: hard. Language design: hard. Writing docs: hard. HTML/CSS: hard. UI design: hard. Communicating: hard. Leading people: hard. Management: hard. It's all hard. Each one of these is an endless rabbit hole. And it's not a competition.
  • user avatar
    Surma
    @DasSurma
    Nov 8, 2019
    Incrementing variables in for-loops i++ - overused - nonsensical - imbalanced i-=-1 - hipster - expressive - symmetric
  • user avatar
    Surma
    @DasSurma
    Jan 10, 2018
    My password generator just spat out a password that starts with <H1> and ends with </H1> and now I’m seriously questioning the RNG...
    Image
  • user avatar
    Surma
    @DasSurma
    Mar 30, 2022
    Happy accident: Had my ultra-wide monitor in split-screen mode and plugged in the same laptop via USB-C and HDMI. This might be my favorite set up yet.
    Image
    00:00
  • user avatar
    Surma
    @DasSurma
    Feb 14, 2022
    I wish I had known about this a couple years ago: A really detailed, interactive diagram of WebGL’s internal, global state object, where you can see how each WebGL API call affects said object. webglfundamentals.org/webgl/lessons/…
    Image
  • user avatar
    Surma
    @DasSurma
    Dec 27, 2018
    Mini function of the day: `nextEvent()`. Gives you a promise for the next event of a certain type. Really nice in conjunction with async/await.
    Image
    Image
    Image
  • user avatar
    Surma
    @DasSurma
    Oct 25, 2022
    It’s been 0 days since a new build system for JS came out.
  • user avatar
    Surma
    @DasSurma
    Oct 4, 2017
    TIL: If you hover a request while holding shift in Chrome DevTools, the initiator while be green, and all child requests will be red.
    Image
  • user avatar
    Surma
    @DasSurma
    Jan 4, 2022
    New year. New city. New job. After almost 7 years, I left the Web DevRel team at Google today. It was an incredibly tough decision, but I think it was the right decision for me. I’ll miss working with this incredible group of people on a daily basis.
  • user avatar
    Surma
    @DasSurma
    May 16, 2018
    TIL: `document.getElementsByClassName()` & Co return _live_ `NodeList`s. `document.querySelectorAll()` returns a _static_ `NodeList`. Use `querySelectorAll()`, people!
    Image
  • user avatar
    Surma
    @DasSurma
    Oct 27, 2018
    Looking for a Senior React Hooks engineer with at least 4 years experience. DMs are open.
  • user avatar
    Surma
    @DasSurma
    Jul 4, 2022
    🎉 As of today, @ShopifyEng is officially a member of Ecma and I will be one of the delegates for TC39. Feeling pretty chuffed I get to continue pushing JavaScript forward.
  • user avatar
    Surma
    @DasSurma
    Oct 28, 2017
    This is your reminder to enable Brotli on your servers. It beats gzip in compression ratio and decompression speed. caniuse.com/#feat=brotli
    Image

New to X?

Sign up now to get your own personalized timeline!

Create account

By signing up, you agree to the Terms of Service and Privacy Policy, including Cookie Use.

Terms·Privacy·Cookies·Accessibility·Ads Info·© 2026 X Corp.
Don't miss what's happening
People on X are the first to know.
Log inSign up
Advertisement
Advertisement