Answer by Mathieu Guindon for VBA Python-like List Class
In addition to what was already said, I'll add these points:Public Sub Extend(ByVal sequence As Variant) Dim element As Variant For Each element In sequence collec.Add element Next elementEnd SubHere...
View ArticleAnswer by ChrisWue for VBA Python-like List Class
I'm no VBA coder so just a few minor things:Is there a particular reason to use ByRef for the parameter to TransformIndex? It doesn't seem exactly necessary and I usually prefer methods without side...
View ArticleAnswer by RubberDuck for VBA Python-like List Class
Only a a couple of minor notes. It looks pretty good (but admittedly, I've not run the code).Single letter argument names obfuscate their meaning. Public Property Get Slice(ByVal a As Long, ByVal b As...
View ArticleVBA Python-like List Class
VBA's Collection class is lacking so I created a basic List class using Python's as a template. This could make future derived classes easier to implement.The biggest features are better setting and...
View Article