home.social

#codereading — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #codereading, aggregated by home.social.

fetched live
  1. I have zero concern that #generativeAI will take the place of experienced programmers in the next 5-10 years. You know what I really want, though? An AI #codereading assistant that doesn't try to tell me what a given line of code *does* but explains why it's needed, why it's where I found it in the code base instead of elsewhere, and what the other programmer(s) intended when it was written.

    Grokking intent seems useful, but currently beyond any tool I've tried. How about you?

  2. I have zero concern that #generativeAI will take the place of experienced programmers in the next 5-10 years. You know what I really want, though? An AI #codereading assistant that doesn't try to tell me what a given line of code *does* but explains why it's needed, why it's where I found it in the code base instead of elsewhere, and what the other programmer(s) intended when it was written.

    Grokking intent seems useful, but currently beyond any tool I've tried. How about you?

  3. Anyone have experience analyzing #RubyLang code bases or generating exploratory tests specifically with #Codium and #vim? I'm not a fan of Copilot and don't want a #GUI #IDE.

    I'm interested in summaries, guided #CodeReading, and finding seams faster in gems that may need customization or patching. "Why does Foo wrap Bar, and where the heck is the log template actually defined?" seem like questions I might ask if `ack "Foo|Bar|Log"` sends me down rabbit holes.

  4. Anyone have experience analyzing #RubyLang code bases or generating exploratory tests specifically with #Codium and #vim? I'm not a fan of Copilot and don't want a #GUI #IDE.

    I'm interested in summaries, guided #CodeReading, and finding seams faster in gems that may need customization or patching. "Why does Foo wrap Bar, and where the heck is the log template actually defined?" seem like questions I might ask if `ack "Foo|Bar|Log"` sends me down rabbit holes.

  5. To improve as a programmer, many advise to read lots of code but few actually do.

    In this old but still relevant essay Peter Seibel discussed why and explained what he does instead, summarizing his approach this way:

    "Code is not literature and we are not readers. Rather, interesting pieces of code are specimens and we are naturalists."

    gigamonkeys.com/code-reading

  6. To improve as a programmer, many advise to read lots of code but few actually do.

    In this old but still relevant essay Peter Seibel discussed why and explained what he does instead, summarizing his approach this way:

    "Code is not literature and we are not readers. Rather, interesting pieces of code are specimens and we are naturalists."

    gigamonkeys.com/code-reading

    #CodeReading #programming

  7. Very excited to be hosting a #codereading workshop based on the work of @Felienne at @SoCraTes_UK in July, alongside some workshops by other amazing people like @lunivore @jonskeet @abangser @woodyzuill
    - Get your tickets now! socratesuk.org/training_day.ht

  8. Very excited to be hosting a #codereading workshop based on the work of @Felienne at @SoCraTes_UK in July, alongside some workshops by other amazing people like @lunivore @jonskeet @abangser @woodyzuill
    - Get your tickets now! socratesuk.org/training_day.ht

  9. Example 2: I stumbled over a very neat Config class in Flask (lnkd.in/eCygDMTu), which is basically a subtype of Dict with a lot of handy methods that fill the Dict from different sources like files, environment variables or objects.
    This motivated and inspired me to do something similar in my own JavaScript tooling.

    So after 2 weeks, deliberate code reading of unfamiliar code already had some significant impact on my code writing.

    #CodeReading

  10. Example 2: I stumbled over a very neat Config class in Flask (lnkd.in/eCygDMTu), which is basically a subtype of Dict with a lot of handy methods that fill the Dict from different sources like files, environment variables or objects.
    This motivated and inspired me to do something similar in my own JavaScript tooling.

    So after 2 weeks, deliberate code reading of unfamiliar code already had some significant impact on my code writing.

    #CodeReading

  11. Example 1: Flask uses a lot of code comments to describe and clarify the use of classes and methods. This reminded me that I might do this too little in my own coding and I already adapted and started adding more meaningful code comments (especially about the things that you cannot express by code: high-level descriptions and "why"s)

    #CodeReading

  12. Example 1: Flask uses a lot of code comments to describe and clarify the use of classes and methods. This reminded me that I might do this too little in my own coding and I already adapted and started adding more meaningful code comments (especially about the things that you cannot express by code: high-level descriptions and "why"s)

    #CodeReading

  13. In week 2 of my experiment to learn a new programming lang by only reading code 30 minutes a day I feel like I learned a ton of new stuff, for example:

    - What PEP's are in Python
    - Magic methods like __getattr__ and __repr__
    - @property decorators
    - What WSGI Gateway/Applications are and how they work

    But the code reading didn't just provide the questions and confusion that guided me to learn new things, I also noticed that it sparked ideas on how I could improve my own coding.

    #CodeReading

  14. In week 2 of my experiment to learn a new programming lang by only reading code 30 minutes a day I feel like I learned a ton of new stuff, for example:

    - What PEP's are in Python
    - Magic methods like __getattr__ and __repr__
    - @property decorators
    - What WSGI Gateway/Applications are and how they work

    But the code reading didn't just provide the questions and confusion that guided me to learn new things, I also noticed that it sparked ideas on how I could improve my own coding.

    #CodeReading

  15. Inspired by the book "The Programmers Brain" by @Felienne I started to have a daily 30-minute session of deliberate code reading. Codebase is Flask (python) and I have no clue about python.

    After 3 days, I'm absolutely blown away by the amount of stuff I learned about the python language in only 3x30 minutes by "just" reading the code of a mature project done in that language.

    I will definitely continue doing this and share my progress once in a while.

    #continuouslearning #codereading

  16. Inspired by the book "The Programmers Brain" by @Felienne I started to have a daily 30-minute session of deliberate code reading. Codebase is Flask (python) and I have no clue about python.

    After 3 days, I'm absolutely blown away by the amount of stuff I learned about the python language in only 3x30 minutes by "just" reading the code of a mature project done in that language.

    I will definitely continue doing this and share my progress once in a while.

    #continuouslearning #codereading

  17. #CodeReading, week 1:

    Started diving into the Flask codebase. Biggest thought so far is "Hold up, have I... EVER tried reading project code outside of work? Have I only ever seen project structures written by my own team? Am I a writer who's barely read any books???"

  18. #CodeReading, week 1:

    Started diving into the Flask codebase. Biggest thought so far is "Hold up, have I... EVER tried reading project code outside of work? Have I only ever seen project structures written by my own team? Am I a writer who's barely read any books???"

  19. Really enjoyed a #security #testing session, #conference talk debriefing & #codeReading practice today together with amazing people. Also, it was so good to hear about positive impact I had at my previous company! 💚 A great and really full day - now on to some vacation vacation. 😅

  20. Really enjoyed a #security #testing session, #conference talk debriefing & #codeReading practice today together with amazing people. Also, it was so good to hear about positive impact I had at my previous company! 💚 A great and really full day - now on to some vacation vacation. 😅