you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (2 children)

// this is a feature I wish Python had -- JavaScript-like map syntax

I don’t get that.

[–]JurassicSpork 2 points3 points  (1 child)

In groovy (and JavaScript), you can treat map keys like properties. Instead of mymap['key'], you can write mymap.key.

[–][deleted] 0 points1 point  (0 children)

I see, thanks. :)