Category:Smalltalk: Difference between revisions

Content added Content deleted
 
Line 650: Line 650:


a) is somewhat inconvenient if the code example consists of multiple methods, possibly in multiple classes.
a) is somewhat inconvenient if the code example consists of multiple methods, possibly in multiple classes.
<br>b) comes the additional trouble that fileIn formats are different (chunk file, vs. XML file, vs. Monticello, vs. GNU-ST etc.).
<br>b) comes with the additional trouble that fileIn formats are different (chunk file, vs. XML file, vs. Monticello, vs. GNU-ST etc.).


For example, for export/import, GNU-ST uses a ''private format'' (which has the advantage of not needing the chunk format's bangs and especially the ugly bang doubling inside code and the empty chunk at the end):
For example, for export/import, GNU-ST uses a ''private format'', which has the advantage of not needing the chunk format's bangs and especially the ugly bang doubling inside code and the empty chunk at the end:
<lang smalltalk>Number extend [
<lang smalltalk>Number extend [
my_factorial [
my_factorial [