snipt

Ctrl+h for KB shortcuts
#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-03-31T16:26:20
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