Yii Framework Forum: Dictionary & Vector Vs. Map & List - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Dictionary & Vector Vs. Map & List

#1 User is offline   Ben 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 269
  • Joined: 15-March 09

Posted 04 May 2013 - 06:10 AM

What was the reason to rename these data structures? The new names are longer to type and it will cause (a tiny bit) more effort to port existing code. Obviously, not a big deal. Just wondering...
Don't like ads in my sig...
0

#2 User is offline   qiang 

  • Yii Project Lead
  • Yii
  • Group: Yii Dev Team
  • Posts: 5,880
  • Joined: 04-October 08
  • Location:DC, USA

Posted 04 May 2013 - 06:40 AM

Because these are more standard names. If you look at the name Map, you may get confused with something else. List is a reserved PHP keyword.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users