<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: CodeCraft: The Dev Diary</title>
    <description>The latest articles on DEV Community by CodeCraft: The Dev Diary (@codecraft-devdiary).</description>
    <link>https://dev.to/codecraft-devdiary</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3241948%2F380d3466-6f68-476f-80a2-e505e48882e2.png</url>
      <title>DEV Community: CodeCraft: The Dev Diary</title>
      <link>https://dev.to/codecraft-devdiary</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/codecraft-devdiary"/>
    <language>en</language>
    <item>
      <title>Iterators in Ruby — Think Less Looping, More Logic</title>
      <dc:creator>CodeCraft: The Dev Diary</dc:creator>
      <pubDate>Tue, 24 Jun 2025 11:31:35 +0000</pubDate>
      <link>https://dev.to/codecraft-devdiary/iterators-in-ruby-think-less-looping-more-logic-57h7</link>
      <guid>https://dev.to/codecraft-devdiary/iterators-in-ruby-think-less-looping-more-logic-57h7</guid>
      <description>&lt;p&gt;🚨 New Blog Drop for Every Ruby Developer Who’s Still Writing for Loops!&lt;/p&gt;

&lt;p&gt;Ever looked at your code and thought:&lt;br&gt;
"There has to be a cleaner way to loop through this..."&lt;/p&gt;

&lt;p&gt;Well, there is.&lt;br&gt;
They’re called Ruby Iterators, and once you understand them — your code will look smoother, smarter, and way more Ruby-like.&lt;/p&gt;

&lt;p&gt;In this fun yet practical blog, I break down:&lt;br&gt;
✅ each, map, select, and times&lt;br&gt;
✅ Why they’re better than old-school loops&lt;br&gt;
✅ Real-world examples + a mini code challenge&lt;br&gt;
✅ Mistakes to avoid when starting out&lt;/p&gt;

&lt;p&gt;Whether you're a beginner, a student, or someone refining their Ruby chops — this post is for you.&lt;/p&gt;

&lt;p&gt;👉 Read the blog now:&lt;br&gt;
🔗 &lt;a href="https://codecraftdiaries.blogspot.com/2025/06/iterators-in-ruby-think-less-looping.html" rel="noopener noreferrer"&gt;https://codecraftdiaries.blogspot.com/2025/06/iterators-in-ruby-think-less-looping.html&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;#RubyLang #WebDevelopment #CodeCraft #LearnToCode #CleanCode #RubyIterators #BeginnerCoding&lt;/p&gt;

</description>
    </item>
    <item>
      <title>This is Ruby. And Ruby Has Cousins You Should Know: Procs &amp; Lambdas</title>
      <dc:creator>CodeCraft: The Dev Diary</dc:creator>
      <pubDate>Mon, 09 Jun 2025 13:24:14 +0000</pubDate>
      <link>https://dev.to/codecraft-devdiary/this-is-ruby-and-ruby-has-cousins-you-should-know-procs-lambdas-1gl0</link>
      <guid>https://dev.to/codecraft-devdiary/this-is-ruby-and-ruby-has-cousins-you-should-know-procs-lambdas-1gl0</guid>
      <description>&lt;p&gt;🚨 New Blog Drop for Ruby Devs, Students &amp;amp; Freshers!&lt;br&gt;
 Ever heard of Procs and Lambdas in Ruby and thought:&lt;br&gt;
 “Wait, aren’t they the same thing?” 👀&lt;br&gt;
Turns out — they’re like cousins:&lt;br&gt;
 🎓 Same family, but different personalities.&lt;br&gt;
In this blog, I’ve broken down:&lt;br&gt;
How Procs &amp;amp; Lambdas work&lt;br&gt;
Where you should use them (and avoid them)&lt;br&gt;
The difference that no one explained clearly until now&lt;br&gt;
Plus some dev humor to keep you entertained 🍿&lt;br&gt;
If you're learning Ruby, writing cleaner code, or just tired of Googling "what's yield again?" — this is for you.&lt;br&gt;
👉 Read now: &lt;a href="https://lnkd.in/dEkCtiVV" rel="noopener noreferrer"&gt;https://lnkd.in/dEkCtiVV&lt;/a&gt;&lt;br&gt;
 #RubyLang #CodeCraft #WebDevelopment #CleanCode #LearnToCode #ProgrammingHumor #Ruby #RubyOnRails #ROR #DevCode&lt;/p&gt;

</description>
      <category>ruby</category>
      <category>codenewbie</category>
      <category>programming</category>
      <category>howto</category>
    </item>
    <item>
      <title>Ruby Blocks — The Secret Sauce Behind Elegant Code</title>
      <dc:creator>CodeCraft: The Dev Diary</dc:creator>
      <pubDate>Fri, 06 Jun 2025 13:52:16 +0000</pubDate>
      <link>https://dev.to/codecraft-devdiary/ruby-blocks-the-secret-sauce-behind-elegant-code-1kaa</link>
      <guid>https://dev.to/codecraft-devdiary/ruby-blocks-the-secret-sauce-behind-elegant-code-1kaa</guid>
      <description>&lt;p&gt;🚨 Ever wondered how Ruby keeps things so elegant, clean, and DRY?&lt;/p&gt;

&lt;p&gt;🧠 It’s not magic.&lt;br&gt;
✨ It’s Ruby Blocks — and they're the underrated heroes behind beautiful code.&lt;/p&gt;

&lt;p&gt;In my latest blog post, I break down:&lt;br&gt;
🔹 What Ruby blocks are (in plain English, no fluff)&lt;br&gt;
🔹 How to use yield, do...end, and {} like a pro&lt;br&gt;
🔹 Why blocks make your Ruby code more powerful, readable, and fun&lt;br&gt;
🔹 Real-world analogies + a mini code challenge to practice&lt;/p&gt;

&lt;p&gt;Whether you’re a fresher, a student, or a dev tired of copy-pasting logic — this blog is for you.&lt;/p&gt;

&lt;p&gt;🔗 Read now → &lt;a href="https://codecraftdiaries.blogspot.com/2025/06/this-is-ruby-and-ruby-knows-how-to.html" rel="noopener noreferrer"&gt;https://codecraftdiaries.blogspot.com/2025/06/this-is-ruby-and-ruby-knows-how-to.html&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;💬 If you read it and learn something new, drop a "BLOCKS FTW 🔥" in the comments 👇&lt;br&gt;
Let’s teach and grow, one elegant line at a time!&lt;/p&gt;

&lt;p&gt;#RubyLang #CodeCraft #WebDevelopment #LearnToCode #DevDiaries&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Loops in Ruby — Because Copy-Pasting Is Not Coding</title>
      <dc:creator>CodeCraft: The Dev Diary</dc:creator>
      <pubDate>Wed, 04 Jun 2025 04:21:02 +0000</pubDate>
      <link>https://dev.to/codecraft-devdiary/loops-in-ruby-because-copy-pasting-is-not-coding-4paj</link>
      <guid>https://dev.to/codecraft-devdiary/loops-in-ruby-because-copy-pasting-is-not-coding-4paj</guid>
      <description>&lt;p&gt;🚀 New Blog Alert!&lt;br&gt;
Loops in Ruby — Because Copy-Pasting Is Not Coding&lt;/p&gt;

&lt;p&gt;Are you still copy-pasting lines of code to repeat tasks? 😅&lt;br&gt;
Let’s change that.&lt;/p&gt;

&lt;p&gt;In this latest edition of #CodeCraftDiaries, we break down all the powerful looping tools Ruby offers — from while to each, and times to until. Whether you're a beginner or brushing up, this guide helps you write cleaner, DRY-er, and smarter Ruby code.&lt;/p&gt;

&lt;p&gt;👉 Read the full blog here:&lt;br&gt;
🔗 &lt;a href="https://codecraftdiaries.blogspot.com/2025/06/because-copy-pasting-is-not-coding-ruby.html" rel="noopener noreferrer"&gt;https://codecraftdiaries.blogspot.com/2025/06/because-copy-pasting-is-not-coding-ruby.html&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;💡 Key takeaways:&lt;br&gt;
✅ Use loops to eliminate repetitive code&lt;br&gt;
✅ Avoid common pitfalls like infinite loops&lt;br&gt;
✅ Learn real-world patterns with clear examples&lt;/p&gt;

&lt;p&gt;—&lt;/p&gt;

&lt;p&gt;🔥 Let’s automate repetition and level up your Ruby skills.&lt;/p&gt;

&lt;p&gt;#Ruby #CodeCraftDiaries #WebDevelopment #DRYCode #100DaysOfCode #RubyOnRails #LoopsInRuby #ruby #rails #webdev&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
