snipt

Ctrl+h for KB shortcuts
Notice: Snipt is moving away from free accounts on May 1st, 2014. Read more about the transition here.
#19467

Smalltalk

One of my most-hated standard smalltalk methods

fail
	^self assert: false
https://snipt.net/embed/97357f83413b988a1310c65fea2e842d/
https://snipt.net/raw/97357f83413b988a1310c65fea2e842d/
97357f83413b988a1310c65fea2e842d
smalltalk
Smalltalk
2
2014-04-23T11:09:40
True
False
/api/public/snipt/19467/
one-of-my-most-hated-standard-smalltalk-methods
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a></pre></div></td><td class="code"><div class="highlight"><pre><span id="L-1"><a name="L-1"></a><span class="nf">fail</span> </span><span id="L-2"><a name="L-2"></a> <span class="o">^</span><span class="bp">self</span> <span class="nf">assert:</span> <span class="bp">false</span> </span></pre></div> </td></tr></table>
bad, example