smalltalk - Why instanceVariableNames is a String and not a more structured collection -


i'm smalltalk beginner, playing pharo , i'm curious choice in subclass message: keyword instancevariablenames wants able answer substrings message. wonder why doesn't expect more structured array, since needed collection of symbols.

object subclass: #experiment instancevariablenames: #(#foo #bar). 

my guessing @ historical reason: maybe not smalltalks have arrays or syntax differs slip inner message subclass. there other explanation?

in pharo vision document, 1 of points change , have real notion of instance variables. check these links if interested:


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -