<div class="gmail_quote">2009/11/21 Colin Putney <span dir="ltr">&lt;<a href="mailto:cputney@wiresong.ca">cputney@wiresong.ca</a>&gt;</span> <br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I really need to rewrite the tutorial to de-emphasize paths. You should use FSReference for everything. Once I get Eliot&#39;s suggestion implemented, the above will be:<br>
<br>
ref := FSReference D / &#39;Squeak&#39; / &#39;3.10&#39;.<div class="im"><br></div></blockquote><div>Hi<br><br>I don&#39;t like global objects referencess in code. I cant mock global object in tests.<br>I like VW dsl for that. For FileSystem it&#39;s can be: <br>
<br>&#39;d://squeak/3.10&#39; asFileReference. <br><br>And delimiter &quot;/&quot; is just squeak delimiter (not OS filenames delimiter).<br><br>#asFileReference can be implemented like that:<br><br>String&gt;&gt;asFileReference<br>
   FileSystem default parseFileReference: this.<br><br>I think this approach hides windows disks logic.<br><br>And for different FileSystem (not defafult) it&#39;s can be:<br><br>&#39;squeak&#39; / &#39;3.10&#39; asFileReferenceOn: aFileSystem<br>
<br><br><br></div></div>