Talk:Create an object/Native demonstration: Difference between revisions

(→‎Tcl omitted: Tcl provided)
 
(3 intermediate revisions by 2 users not shown)
Line 25:
:::: I am not sure whether "Emulating an associative array" or "Emulating a native type" is better. I hate the names of the [[Associative arrays/Creation]] and [[Associative arrays/Iteration]] pages, because the slash suggests that these are subpages of an "Associative arrays" page, but there is no such page. (The [[Associative array]] page has no final "s".) --[[User:Kernigh|Kernigh]] 23:08, 21 February 2011 (UTC)
::::: Should we rename those by dropping the s?[[User:Markhobley|Markhobley]] 22:58, 6 July 2011 (UTC)
I agree this task needs a new name. What about Fixed Associative Map?
[[User:Garbanzo|Garbanzo]] ([[User talk:Garbanzo|talk]]) 20:31, 30 January 2021 (UTC)
==Changed wording==
I reworded the task based on the discussion above and the Ruby and D implementations. I tried to keep the meaning the same but it looks like not everyone had the same interpretation. I removed "magic methods" because none of the implementations mentioned it. Feel free to change it back or clean it up if I got something wrong.
[[User:Garbanzo|Garbanzo]] ([[User talk:Garbanzo|talk]]) 04:51, 31 January 2021 (UTC)
 
:I thought your changes might have been too much so added something back, as well as my own slant. What do you think?
:--[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 06:41, 31 January 2021 (UTC)
::Mentioning that the values can be modified is a good catch. For delete vs. reset, the original mentioned delete so that is less of a change but the semantics of using delete to restore values won't be idiomatic in many languages - maybe this could be left up to the implementers? For "magic methods", I wasn't sure what it was expecting. Is it operator overloading in this case? [[User:Garbanzo|Garbanzo]] ([[User talk:Garbanzo|talk]]) 08:08, 31 January 2021 (UTC)
125

edits