<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2015-07-16 22:40 GMT+02:00 Sven Barth <span dir="ltr"><<a href="mailto:pascaldragon@googlemail.com" target="_blank">pascaldragon@googlemail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">var<br>
X: strong TDictionary<weak TList<Integer>, string>;<br>
</blockquote>
<br>
Prefixed modifiers are the /worst/ you can do for Pascal.<br></blockquote><div><br></div><div>it is already being done by introducing "specialize" keyword. </div><div><br></div><div>I have totally different opinion :) for me it is beautiful:</div><div><br></div><div><a href="http://docs.elementscompiler.com/Platforms/Cocoa/StorageModifiers/">http://docs.elementscompiler.com/Platforms/Cocoa/StorageModifiers/</a><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">In the end your code above will look like this in mode ObjFPC:<br>
<br>
=== code begin ===<br>
<br>
var<br>
X: specialize SmartObj<specialize TDictionary<specialize WeakObj<specialize TList<Integer> >, string> >;<br>
// the spaces between the "> >" are added, because I don't know yet whether I'll be able to deal with the fact that the scanner always converts ">>" to "shr" (and "<<" to "shl")<br>
<br>
=== code end ===<br></blockquote><div><br></div><div>no difference ;) contrary to the principle of KISS </div></div><br>Best regards,
</div><div class="gmail_extra">Maciej Izak</div></div>