You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Found a bit of misleading info on page 213 of the paperback version of the book. It goes like this:
Languages have a variety of notations for the chunk of code that sets up a new object for a class. C++, Java, and C# use a method whose name matches the class name. Ruby and Python call it init().
Ruby actually calls this method initialize(), not init().
The text was updated successfully, but these errors were encountered:
Found a bit of misleading info on page 213 of the paperback version of the book. It goes like this:
Ruby actually calls this method
initialize()
, notinit()
.The text was updated successfully, but these errors were encountered: