{"assets":[],"author_link":"author\/nacho\/","author_name":"Lycaon","cat":"LD #28","categories":["LD #28"],"comments":[],"epoch":1387040820,"event":"LD28","likes":0,"metadata":{"p_key":"79605","p_author":"Lycaon","p_authorkey":"0","p_urlkey":"288615","p_title":"Goddamned ArrayLists","p_cat":"LD #28","p_event":"LD28","p_time":"1387040820","p_likes":"0","p_comments":"0","p_status":"WAYBACK","us_key":null,"us_name":null,"us_username":null,"event_start":"1386892800","event_key":"20","event_name":"LD28"},"source_url":"2013\/12\/14\/goddamned-arraylists\/","text":"<p>Goddammit, C#. Why you gotta be like this. I\u2019m better off with you than with Java, but still, why you gotta do this to me, man? All I want to do is make an ArrayList. It\u2019s not a complex concept. This, shockingly, involves parentheses. Why don\u2019t you expect them? You should expect parentheses more often. They\u2019re a part of life.<\/p>\n<p>\u00a0<\/p>\n<blockquote><p>\u00a0\u00a0\u00a0 public ArrayList partyActivities = new ArrayList();<br\/>\npartyActivities.Add(getDrink);<br\/>\npartyActivities.Add(wistfullyGazeOutWindow);<br\/>\npartyActivities.Add(examineBooks);<\/p>\n<p>public ArrayList targetActivities = new ArrayList();<br\/>\ntargetActivities.Add(swapBooks);<br\/>\ntargetActivities.Add(drugDrink);<br\/>\ntargetActivities.Add(hideInBathroom);<\/p><\/blockquote>\n<p>And unity spits out an error on those saying \u201cUnexpected symbol \u2018(\u2018 in class, struct, or interface member declaration\u201d for every open and closed parenthesis, for every Add(); function call.<\/p>\n<p>Goddammit C#.<\/p>\n<p>\u00a0<\/p>","time":"December 14th, 2013 5:07 pm","title":"Goddamned ArrayLists","title_was_empty":false}