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
hello-world contains a blow-by-blow tutorial. We recently added a test case to help catch folks using the equals operator to detect an empty string (i.e. #280).
The tutorial needs an adjustment:
the section titles assume there are three test cases; there are now four.
this (new) second test needs some crisp explanation about the difference between comparing by value vs. comparing the reference without invoking too many concepts.
the tutorial avoids the pitfall of using == for string comparison, let's keep that; this is about clarifying why this test matters.
the audience of the tutorial are Early Programmers — people who are relatively newish to programming, but this is not their very first attempt at writing code.
The text was updated successfully, but these errors were encountered:
hello-world
contains a blow-by-blow tutorial. We recently added a test case to help catch folks using the equals operator to detect an empty string (i.e. #280).The tutorial needs an adjustment:
==
for string comparison, let's keep that; this is about clarifying why this test matters.The text was updated successfully, but these errors were encountered: