Poll: Templates or Generics?
I’m wondering about this question in the context of scripting.
The poll itself is at the bottom, of this post, so you’re encouraged to read the arguments and relevant comments first 😉
I’m wondering about this question in the context of scripting.
The poll itself is at the bottom, of this post, so you’re encouraged to read the arguments and relevant comments first 😉
Here is a quick summary of recent changes SVN-side for DWScript:
type TStatic = class static class procedure Whatever; end;
Note that a static class can only be subclassed to a static class, and can only inherit from a static class (or TObject).
var hello := "bonjour l'ami";
A source archive file for DWS 2.2 preview 3 (231 kB) is now available. This is essentially just a zip file (7zip actually) for those not using the SVN.
Changes since the last post are rather limited:
Further changes since the last archive (preview 2) are listed in the following posts:
Did the attention that my little April 1st post drew help set things in motion a little earlier than planned?
It’ll be denied, it wasn’t seen, and it can’t be proven, it’s just that the slides and the video look a bit rushed, but anyway, on a just released Delphi 64 sneak preview page on the Embarcadero website, there is a now a “join the beta” link, were you can apply for the beta. However the beta isn’t open, and Delphi XE users will apparently have priority.
As for the preview keypoints themselves, Marco Cantu has an executive summary.
It seems the beta will be under the usual NDA terms, so it may be some more time before more details filter out.
The googlecode SVN version of DWS introduces delegates capability: