{"id":1054,"date":"2016-08-13T09:00:41","date_gmt":"2016-08-13T16:00:41","guid":{"rendered":"https:\/\/2016.la.wordcamp.org\/?p=1054"},"modified":"2016-08-17T18:56:50","modified_gmt":"2016-08-18T01:56:50","slug":"carl-alexander","status":"publish","type":"post","link":"https:\/\/la.wordcamp.org\/2016\/carl-alexander\/","title":{"rendered":"Speaker Interview: Carl Alexander"},"content":{"rendered":"<p><strong>Get to know <a href=\"https:\/\/2016.la.wordcamp.org\/speaker\/carl-alexander\/\">Carl Alexander<\/a>, a PHP developer all the way from\u00a0Montr\u00e9al, Canada.<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1055\" src=\"https:\/\/2016.la.wordcamp.org\/files\/2016\/08\/Alexanderwclax16.png\" alt=\"Alexanderwclax16\" width=\"1200\" height=\"688\" srcset=\"https:\/\/la.wordcamp.org\/2016\/files\/2016\/08\/Alexanderwclax16.png 1200w, https:\/\/la.wordcamp.org\/2016\/files\/2016\/08\/Alexanderwclax16-300x172.png 300w, https:\/\/la.wordcamp.org\/2016\/files\/2016\/08\/Alexanderwclax16-768x440.png 768w, https:\/\/la.wordcamp.org\/2016\/files\/2016\/08\/Alexanderwclax16-1024x587.png 1024w, https:\/\/la.wordcamp.org\/2016\/files\/2016\/08\/Alexanderwclax16-500x287.png 500w, https:\/\/la.wordcamp.org\/2016\/files\/2016\/08\/Alexanderwclax16-1000x573.png 1000w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><\/p>\n<p><strong>A bit more about Carl in his own words:<\/strong><\/p>\n<blockquote><p>I\u00a0live and breath advanced programming topics (and memes). I share a lot of my passion for those topics on my website where I publish articles on a regular basis.<\/p>\n<p>It\u2019s my way to help you with these hard-to-learn topics. That\u2019s also why I\u2019m excited to speak at WordCamp Los Angeles. It&#8217;s another way for me to help you.<\/p>\n<p>Besides that, I&#8217;ve been a WordPress Montr\u00e9al organizer since 2010. I also help organize other WordPress events during the year.<\/p><\/blockquote>\n<p>&nbsp;<\/p>\n<hr \/>\n<p><strong>What should we know about you that you haven\u2019t included in your brief, third-person, professional biography?<\/strong><\/p>\n<p>Though question! It&#8217;s hard to know what&#8217;s relevant to someone else. So I&#8217;ll go with one relevant fact and a random one!<\/p>\n<p>Relevant: I&#8217;ve been programming since the 3rd grade. Did my first robotics project in the 5th grade.<br \/>\nRandom: I lived in a living room from May 2012 to May 2016.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>What\u2019s the best programming meme available for the amusement of WordPress theme and plugin architects?<\/strong><\/p>\n<p>Two great resources for endless amusement. First, there&#8217;s\u00a0&#8220;<a href=\"http:\/\/devpractic.es\/\" target=\"_blank\">dev practices<\/a>&#8221;\u00a0that <a href=\"http:\/\/tommcfarlin.com\/\" target=\"_blank\">Tom McFarlin<\/a> created. (Well, I think he did lol) The other great one is &#8220;<a href=\"http:\/\/www.commitlogsfromlastnight.com\/\" target=\"_blank\">Commit Logs From Last Night<\/a>&#8221; which is a\u00a0hilarious take on &#8220;<a href=\"http:\/\/www.textsfromlastnight.com\/\" target=\"_blank\">Texts From Last\u00a0Night<\/a>&#8220;.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1056\" src=\"https:\/\/2016.la.wordcamp.org\/files\/2016\/08\/Commit_Logs_From_Last_Night.jpg\" alt=\"Commit_Logs_From_Last_Night\" width=\"1035\" height=\"185\" srcset=\"https:\/\/la.wordcamp.org\/2016\/files\/2016\/08\/Commit_Logs_From_Last_Night.jpg 1035w, https:\/\/la.wordcamp.org\/2016\/files\/2016\/08\/Commit_Logs_From_Last_Night-300x54.jpg 300w, https:\/\/la.wordcamp.org\/2016\/files\/2016\/08\/Commit_Logs_From_Last_Night-768x137.jpg 768w, https:\/\/la.wordcamp.org\/2016\/files\/2016\/08\/Commit_Logs_From_Last_Night-1024x183.jpg 1024w, https:\/\/la.wordcamp.org\/2016\/files\/2016\/08\/Commit_Logs_From_Last_Night-500x89.jpg 500w, https:\/\/la.wordcamp.org\/2016\/files\/2016\/08\/Commit_Logs_From_Last_Night-1000x179.jpg 1000w\" sizes=\"auto, (max-width: 1035px) 100vw, 1035px\" \/><br \/>\n<strong>Imagine you\u2019re allowed to link to or briefly pitch something, what do imagine?<\/strong><\/p>\n<p>I&#8217;ll assume you mean pitch something by me! [<em>Editors Note: Carl assumed correctly<\/em>] I write a lot on my\u00a0<a href=\"https:\/\/carlalexander.ca\/\" target=\"_blank\">personal site<\/a> about object-oriented programming and WordPress. I also offer a <a href=\"https:\/\/carlalexander.ca\/discover-object-oriented-programming\/\" target=\"_blank\">free email course<\/a> to help you start using it.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>For the rest of your life, you\u2019re only allowed either indexed arrays or associative arrays, not both. You can\u2019t mix them and you can\u2019t change later, which do you choose any why?<\/strong><\/p>\n<p>Associative arrays for sure! You can pretty much mimic an indexed array with an associative array, but not the other way around. This might be considered cheating on the question! \ud83d\ude1b<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Without spilling the secret sauce of the presentation, what\u2019s one simple piece of array advice we can start implementing today?<\/strong><\/p>\n<p>You don&#8217;t need to do an isset check before doing an empty check. (e.g. <code>if (isset($vars[1]) AND !empty($vars[1])) {<\/code> ) The isset check is redundant here. The empty check also checks if the value is set before doing its own tests.<\/p>\n<hr \/>\n<p>At WCLAX 2016 Carl will be presenting on\u00a0<a href=\"https:\/\/2016.la.wordcamp.org\/session\/use-php-arrays-like-a-boss\/\">Use PHP arrays like a boss<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Get to know Carl Alexander, a PHP developer all the way from\u00a0Montr\u00e9al, Canada. A bit more about Carl in his own words: I\u00a0live and breath advanced programming topics (and memes). I share a lot of my passion for those topics &hellip; <a href=\"https:\/\/la.wordcamp.org\/2016\/carl-alexander\/\">Continue reading <span class=\"assistive-text\">Speaker Interview: Carl Alexander<\/span>  <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":11536871,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[259194],"tags":[957362],"class_list":["post-1054","post","type-post","status-publish","format-standard","hentry","category-speaker-interviews","tag-carl-alexander"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p78Wxo-h0","_links":{"self":[{"href":"https:\/\/la.wordcamp.org\/2016\/wp-json\/wp\/v2\/posts\/1054","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/la.wordcamp.org\/2016\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/la.wordcamp.org\/2016\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/la.wordcamp.org\/2016\/wp-json\/wp\/v2\/users\/11536871"}],"replies":[{"embeddable":true,"href":"https:\/\/la.wordcamp.org\/2016\/wp-json\/wp\/v2\/comments?post=1054"}],"version-history":[{"count":3,"href":"https:\/\/la.wordcamp.org\/2016\/wp-json\/wp\/v2\/posts\/1054\/revisions"}],"predecessor-version":[{"id":1059,"href":"https:\/\/la.wordcamp.org\/2016\/wp-json\/wp\/v2\/posts\/1054\/revisions\/1059"}],"wp:attachment":[{"href":"https:\/\/la.wordcamp.org\/2016\/wp-json\/wp\/v2\/media?parent=1054"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/la.wordcamp.org\/2016\/wp-json\/wp\/v2\/categories?post=1054"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/la.wordcamp.org\/2016\/wp-json\/wp\/v2\/tags?post=1054"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}