Programming Bits, Bytes 'n' Blocks (in Ruby) Step-by-Step Book - Let's start with the types of strings, that is, bytes, (string) buffers, and (frozen) strings, ...

(Gerald Bauer) #1

Hello,

   I've started a new (free online) book(let) titled:

   Programming Bits, Bytes 'n' Blocks (in Ruby) Step-by-Step Book / Guide [1]

   Let's start with the three types of strings, that is, bytes,
(string) buffers, and (frozen) strings, ...

   Trivia Question: What's the difference between?

    1) String.new
    2) String.new("")
    3) ""

   Happy bits & bytes slicing & dicing with ruby. Cheers. Prost.

[1] https://github.com/s6ruby/programming-bits-bytes