[Ann] Nile 0.8.0 available

tim Rowledge tim at rowledge.org
Mon May 14 19:16:08 UTC 2007


On 14-May-07, at 12:02 PM, subbukk wrote:


>
>    setFileName: "C:\WINDOWS\Fonts\msgothic.ttf"
Unless you are using something like a URI filenaming system you  
should never, ever, ever, ever. Ever,ever. Evereverever. *Ever* use  
strings like that to make filenames/paths. Build paths a step at a  
time with #directoryNamed: and fileNamed:. Allowing #fileNamed: to  
attempt to parse mangled platform related strings was a serious  
error. Platform fiddle-faddle for filenames is just horrific.

tim
--
tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
Don't sweat petty things....or pet sweaty things.





More information about the Squeak-dev mailing list