{ 'Brace'. 'Arrays'. 'coming to'. 'vast 2021' asUppercase. }

99 views
Skip to first unread message

Mariano Martinez Peck

unread,
Sep 2, 2020, 11:08:24 AM9/2/20
to VA Smalltalk
Hi Everyone, 

Another new feature has been announced for VAST 2021. This time: Brace Arrays. Check out our tweet to see a quick demo video.


Cheers,

--
Mariano Martinez Peck
Software Engineer, Instantiations Inc.

Richard Sargent

unread,
Sep 4, 2020, 2:14:18 PM9/4/20
to VA Smalltalk
On Wednesday, September 2, 2020 at 8:08:24 AM UTC-7, Mariano Martinez Peck wrote:
Hi Everyone, 

Another new feature has been announced for VAST 2021. This time: Brace Arrays. Check out our tweet to see a quick demo video.

Yes!!

Joachim Tuchel

unread,
Sep 9, 2020, 5:20:52 AM9/9/20
to VA Smalltalk
Not that I like the Brace Arry syntax per se, but this is excellent news. Porting code from other platforms and submitting fixes back will become a lot easier with this extension. This alone makes it a game changer!

Mariano Martinez Peck

unread,
Sep 9, 2020, 11:15:03 AM9/9/20
to VA Smalltalk
Hi Joachim, 

I totally agree with you. In fact, I doubt we will use it much (if anything at all) ourselves in the base product as that compromises backward compatibility with older VAST versions. So...similarly like Tonel, one the main goals here is to improve dialect compatibility and ease frameworks portability

Cheers,

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to va-smalltalk...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/va-smalltalk/c3b27e8a-907a-4693-8584-9e401b20cf92n%40googlegroups.com.

Richard Sargent

unread,
Sep 9, 2020, 12:33:11 PM9/9/20
to VA Smalltalk
On Wednesday, September 9, 2020 at 2:20:52 AM UTC-7, Joachim Tuchel wrote:
Not that I like the Brace Arry syntax per se, but this is excellent news. Porting code from other platforms and submitting fixes back will become a lot easier with this extension. This alone makes it a game changer!

I understand. I am torn between avoiding redundancy in Smalltalk syntax and keeping it small versus the benefit of conciseness.

In this case, I have to side with:
{statement1. statement2. statement3. ... statement9}
over:
((Array new: 9)
at: 1 put: statement1;
at: 2 put: statement2;
at: 3 put: statement3;
...
at: 9 put: statement9;
yourself)

The clutter of the latter is anathema to me. It obscures the meaning.
Reply all
Reply to author
Forward
0 new messages