home.social

#codingweek — Public Fediverse posts

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

  1. #CodingWeek #progress

    This week, I've made significant progress, completing about 80% of the second email for my Short Ruby Email Courses. This email is about into the syntax of the endless method.

    My focus was on providing practical insights. I explored the history of feature requests submitted to reduce the number of `end` we write and understand what would be the benefits of using this new #Ruby syntax.

    #EmailCourses

  2. It is the middle of the week so maybe now it is a good time to take a small break and reflect on what you could NOT implement.

    Not everything you think should be implemented is essential now. Some things can be omitted or delegated for later.

    #BuildWithRuby #CodingWeek

  3. I was just doing some benchmarking of a bit of ruby code, comparing `value.digits(32)` to an explicit while loop that does the same thing, and decided to try it with `--yjit` too.

    * Normal ruby -- native method was more performant, although not by a whole lot

    * with `--yjit` the ruby loop was better than the native method.

    gist.github.com/copiousfreetim

    #Ruby #CodingWeek #yjit

  4. #CodingWeek #Inspiration

    "Small methods ease maintenance. They let you isolate assumptions.
    Code that has been written with the right small methods requires the change of only a few methods to correct or enhance its operation"

    - Source: Smalltalk Best Practice Patterns

  5. #Ruby #CodingWeek

    What are you planning to develop with #Ruby or #RubyOnRails this week?

    For my side project, I plan to continue with writing the second email for the #ModernRuby #EmailCourse: "Endless Method Definition"