{"id":1878,"date":"2011-12-21T16:46:13","date_gmt":"2011-12-21T21:46:13","guid":{"rendered":"http:\/\/www.thejuliagroup.com\/blog\/?p=1878"},"modified":"2012-01-08T22:10:04","modified_gmt":"2012-01-09T03:10:04","slug":"racism-and-learning-new-languages-whos-a-geek-now","status":"publish","type":"post","link":"https:\/\/www.thejuliagroup.com\/blog\/racism-and-learning-new-languages-whos-a-geek-now\/","title":{"rendered":"Racism and learning new languages- who&#8217;s a geek now?"},"content":{"rendered":"<p>After watching <a href=\"http:\/\/www.huffingtonpost.com\/2011\/11\/11\/soledad-obrien-black-in-america-silicon-valley_n_1088291.html\">Black in America: The New Promised Land<\/a>, about eight black entrepreneurs trying to get traction in Silicon Valley, I read some of the articles on line about it and some of the comments (always a mistake), comments which served up further proof that there should be some sort of IQ requirement to use the Internet. (In fairness, this is my response when reading comments on almost any article.)<\/p>\n<p>One comment that particularly annoyed me regarded the follow up to the founders, &#8220;where are they now&#8221;. <a href=\"http:\/\/socialwayne.com\/about\/\">One of the start-up founders featured<\/a> commented he wanted to build his application himself so &#8220;I&#8217;m learning a new programming language.&#8221;<\/p>\n<p>This led to a comment from someone who said this just proves that all these entrepreneurs were unqualified because true geeks did not need to learn a new programming language. Once they know one programming language, they know them all.<\/p>\n<figure id=\"attachment_1936\" aria-describedby=\"caption-attachment-1936\" style=\"width: 150px\" class=\"wp-caption alignleft\"><a href=\"http:\/\/www.thejuliagroup.com\/blog\/wp-content\/uploads\/2012\/01\/Pterodactyl_2_PSF.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-thumbnail wp-image-1936  \" title=\"Pterodactyl. Placed in public domain by Pearson Scott Foresman\" src=\"http:\/\/www.thejuliagroup.com\/blog\/wp-content\/uploads\/2012\/01\/Pterodactyl_2_PSF-150x150.png\" alt=\"My ride to FORTRAN77 course\" width=\"150\" height=\"150\" \/><\/a><figcaption id=\"caption-attachment-1936\" class=\"wp-caption-text\">My ride to FORTRAN77 course<\/figcaption><\/figure>\n<p>When I was in college, back when I flew my pterodactyl to school, I had classes in FORTRAN and BASIC. Later, when I was working as an industrial engineer, we all took a class on COBOL, for some project that never materialized. If you work in a big company long enough, you will eventually do work for a project that never happens. Next year, it will be 30 years that I have been programming with SAS. I&#8217;ve written everything from analyses of data sets with millions of records to applications to pull nightly data from one system, run statistics, create reports by department and output web pages of daily,\u00a0 weekly and monthly results to a different system to just about everything else you can imagine. I wrote my first computer game to teach kids math in BASIC when I was in graduate school back in the mid-1980s, just for a class I was taking.<\/p>\n<p>So, when I read this comment I just could not believe the stupidity of it. Lately, I thought I should learn a new programming language because I have some projects coming up where doing it all with SAS is not the best idea. <a href=\"http:\/\/www.thejuliagroup.com\/blog\/?p=1166\">I started with Ruby and I really liked it<\/a>. However, the house rocket scientist thought javascript might be better for my purposes and he kept leaving little hints around like a book on Canvas and another on HTML5 (which was mostly javascript) and just dropped a book in my office the other day, Javascript, the good parts.<\/p>\n<p>So far, I really like javascript and it has been fairly easy to pick up. I&#8217;ve written a couple of simple games, just for practice. Now to the idea that anyone who is a &#8220;true geek&#8221; has a magical decoder ring is so stupid as to render me speechless. (But not type-less, as evidenced by this blog.)<\/p>\n<p>Let&#8217;s take a simple example of code from Jeanine Meyer&#8217;s book, The essential guide to HTML5.\u00a0 This is from the middle of a <a href=\"http:\/\/www.thejuliagroup.com\/blog\/bouncy.html\">program that just makes a ball bounce around\u00a0 the screen <\/a>at varying velocity. Not much in itself but I can certainly see how it can be useful incorporated into a game.<br \/>\n<code>function moveball() {<br \/>\nctx.clearRect(boxx,boxy,boxwidth,boxheight);<br \/>\nmoveandcheck();<br \/>\nctx.beginPath() ;<br \/>\nctx.arc(ballx,bally,ballrad,0,Math.PI*2,true) ;<br \/>\nctx.fill() ;<br \/>\nctx.strokeRect(boxx,boxy,boxwidth,boxheight) ;<br \/>\n}<br \/>\nfunction moveandcheck() {<br \/>\n\/\/ Set new X and Y positions<br \/>\nvar nballx = ballx + ballvx ;<br \/>\nvar nbally = bally + ballvy ;<br \/>\nif (nballx &gt; boxboundx ) {<br \/>\nballvx = -ballvx ;<br \/>\nnballx = boxboundx ;<br \/>\n}<\/code><\/p>\n<p>Because I have used other languages, I immediately think of the function like creating a macro in SAS. The empty parentheses denote no parameters. I can guess that the { means the beginning of a function. From both Ruby and just plain geometry, I can guess that the next statement does something to a rectangle and those four values are going to define the area of the rectangle. It seems likely the next statement is calling another function (which, sure enough, I see defined later in the program.\u00a0 The ctx.arc looked to be drawing a circle, x and y are probably the midpoint, I assume ballrad is the radius. Obviously (from having learned a little bit of Ruby) Math.PI is going to be pi, i.e. 3.14 etc.\u00a0 Without having read Meyer&#8217;s book, or an equivalent, I wouldn&#8217;t have known what the 0 or true did in that statement.<\/p>\n<p>We can go through the whole snippet of code that way&#8230; the var statements are similar to a SAS ATTRIB statement, but like in a lot of programming languages, these variables are being defined up front. As with a SAS macro or many other examples in many other languages, variables defined within a function \/ macro are local variables. Variables defined outside of the function earlier in the program (not shown) are global variables &#8230; and so on.<\/p>\n<p>All of this is to say that, yes, it is easier to learn a new language if you already know one or two well. However, I never would have known that functions in javascript begin and end with &#8220;{&#8221; unless I read it in a book. I would not have known that\u00a0 the SAS equivalent of IF- THEN DO used curly brackets also. I wouldn&#8217;t have known any of the specific syntax, like the CASE keyword or using Math.PI instead of just PI and hundreds of other specifics to javascript.<\/p>\n<p>Learning a new language is easier the more languages you already know, but it takes time, no matter who you are. Learning the first one takes more time.<\/p>\n<p>I was very disappointed, although I hate to say, not surprised, by the comments that followed the articles on Black in America. They ran about 10 to 1 saying there is no discrimination, and besides these people were not very good so that is why they did not get funding. Their ideas were awful.<\/p>\n<p><a href=\"http:\/\/www.thejuliagroup.com\/blog\/wp-content\/uploads\/2011\/12\/372px-Coloured_Figures_of_English_Fungi_or_Mushrooms_-_t._111.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-1950\" title=\"Mushrooms (public domain)\" src=\"http:\/\/www.thejuliagroup.com\/blog\/wp-content\/uploads\/2011\/12\/372px-Coloured_Figures_of_English_Fungi_or_Mushrooms_-_t._111-e1326078539684.png\" alt=\"\" width=\"93\" height=\"150\" \/><\/a>I don&#8217;t know that they were any more awful than ideas that have gotten funding and made millions. Take Farmville, for example. I think that is the stupidest idea ever and have never played it but lots of people I know spend hours on it each week and it has certainly been profitable. I really like twitter and am on it hours each week. I learn a lot of useful information from many people I follow and are amused by others. Similarly, I have many friends who think that twitter is the dumbest invention since the mushroom brush. (Can you believe there is actually a site named <a href=\"http:\/\/www.mushroombrush.com\/\">mushroombrush.com<\/a> ? )<\/p>\n<p>Actually, I think the comments reflect the racism that is alive and well in Silicon Valley and America, it makes me sad. It reminds me of a social psychology study many years ago when subjects were posed a question something like this &#8230;<\/p>\n<blockquote><p>If an African-American candidate was equally qualified for a position, in a department where everyone else on the staff was white, do you think it would ever be acceptable for that candidate to be selected instead of the white candidate?<\/p><\/blockquote>\n<p>All of the African-American subjects said, &#8220;Yes&#8221;.<\/p>\n<p>The white subjects almost all began their answers with,<\/p>\n<blockquote><p>Well, if the person REALLY was equally qualified &#8230;.<\/p>\n<p>IF the person was equally qualified &#8230;<\/p><\/blockquote>\n<p>The investigator found this curious because the question began by stating that the two had equal qualifications. He said it was as if the subjects had difficulty believing that the black candidate could really be as qualified as the white candidate, even though the researcher had definitely stated that was the case.<\/p>\n<p>I could not find this article again, but if you are more into the social psych literature than me and can point me to this reference, I would appreciate it. On searching for it though, <a href=\"http:\/\/clinton2.nara.gov\/WH\/EOP\/OP\/html\/aa\/aa04.html\">I did come across this interesting study citing the justification for affirmative action.<\/a> Those who are wondering if there is any hard evidence of discrimination in employment might want to read it. Short answer, Yes.<\/p>\n<p>From personal experience, I can tell you that over many years, on many occasions, including a few times in the past year, I have been in meetings discussing some code that I had written, some analyses I had done, when someone would turn to a junior colleague and ask him or her questions, assuming the work had been done by anyone other than the Latina grandmother sitting at the head of the table. The last time this happened, I brought it up to an executive from the organization who had been in the same meeting. She said,<\/p>\n<blockquote><p>Well, you can&#8217;t really blame them for assuming someone else had done the programming. Everyone in the meeting was Asian or Indian except for you.<\/p><\/blockquote>\n<p>I had no response because my jaw was still hanging open when she walked away.<\/p>\n<p>Do I have an answer? Maybe a little bit of one. Yes, there is prejudice and discrimination. You can still be successful. DO learn new languages. DON&#8217;T believe people who tell you that you are &#8220;not a true geek&#8221;, &#8220;your start-up is a stupid idea&#8221;. DON&#8217;T let any idiot tell you you&#8217;re not successful or competent because you&#8217;re not the next Mark Zuckerberg or Marc Andreesen.\u00a0 Neither are they.<\/p>\n<p>As my <a href=\"http:\/\/www.rondamma.com\/\">third daughter likes<\/a> to say in response to comments putting her down,<\/p>\n<blockquote><p>Okay, random person on the Internet typing this from his mother&#8217;s basement, maybe <strong>you<\/strong> don&#8217;t think I can be best in the world, but I&#8217;m not\u00a0 going to let that stop me.<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>After watching Black in America: The New Promised Land, about eight black entrepreneurs trying to get traction in Silicon Valley, I read some of the articles on line about it and some of the comments (always a mistake), comments which served up further proof that there should be some sort of IQ requirement to use&#8230;<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1,8],"tags":[],"class_list":["post-1878","post","type-post","status-publish","format-standard","hentry","category-dr-de-mars-general-life-ramblings","category-technology"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.thejuliagroup.com\/blog\/wp-json\/wp\/v2\/posts\/1878","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.thejuliagroup.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.thejuliagroup.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.thejuliagroup.com\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.thejuliagroup.com\/blog\/wp-json\/wp\/v2\/comments?post=1878"}],"version-history":[{"count":8,"href":"https:\/\/www.thejuliagroup.com\/blog\/wp-json\/wp\/v2\/posts\/1878\/revisions"}],"predecessor-version":[{"id":1882,"href":"https:\/\/www.thejuliagroup.com\/blog\/wp-json\/wp\/v2\/posts\/1878\/revisions\/1882"}],"wp:attachment":[{"href":"https:\/\/www.thejuliagroup.com\/blog\/wp-json\/wp\/v2\/media?parent=1878"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.thejuliagroup.com\/blog\/wp-json\/wp\/v2\/categories?post=1878"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.thejuliagroup.com\/blog\/wp-json\/wp\/v2\/tags?post=1878"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}