{"id":10086,"date":"2020-01-02T00:36:44","date_gmt":"2020-01-02T08:36:44","guid":{"rendered":"https:\/\/careerkarma.com\/blog\/?p=10086"},"modified":"2022-09-30T17:18:30","modified_gmt":"2022-10-01T00:18:30","slug":"ruby-vs-javascript","status":"publish","type":"post","link":"https:\/\/careerkarma.com\/blog\/ruby-vs-javascript\/","title":{"rendered":"Ruby vs JavaScript: Compared and Contrasted"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\" id=\"h-ruby-vs-javascript-summary\">Ruby vs JavaScript Summary<\/h2>\n\n\n\n<p><em>In short, Ruby is an object oriented language typically used for server side development. JavaScript is also object oriented and typically used for client side applications. JavaScript is far more widely used than Ruby, although Ruby is still a strong language. <\/em><\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p>JavaScript is one of the number one languages on the web. If you\u2019re developing something for the front-end, chances are you\u2019re going to be making it in JavaScript. In fact, JavaScript is the most used <a href=\"https:\/\/githut.info\/\" target=\"_blank\" rel=\"noopener\" rel=\"nofollow\">language on Github <\/a>at time of writing. Ruby is another general purpose programming language that is also in use on the web, especially its web framework, Ruby on Rails. How do these two languages stack up against each other, and which should you learn? Let\u2019s find out.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-javascript\"><strong>JavaScript<\/strong><\/h2>\n\n\n\n<p>JavaScript is, along with HTML and CSS, one of the core technologies of the internet. It lets us have interactive web pages and it\u2019s the go to language for client side web applications. It\u2019s used on almost all of the internet\u2014<a href=\"https:\/\/w3techs.com\/technologies\/details\/cp-javascript\" target=\"_blank\" rel=\"noopener\" rel=\"nofollow\">as of 2018 95% of all websites used JavaScript<\/a>. That web dominating list includes sites like Google, Facebook, and Youtube, which all use JavaScript.&nbsp;<\/p>\n\n\n\n<p>JavaScript was created to \u201cmake web pages alive.\u201d Made for web apps and sites, it was created by Brendan Eich working for Netscape in 1995. It is a high-level, interpreted, scripting language, which means JavaScript isn\u2019t compiled; it\u2019s interpreted on the spot at runtime. JavaScript is also an object oriented programming language, like C languages. It has curly-bracket syntax, dynamic typing, and first-class functions. It\u2019s interpreter is built into web browsers, so without some help from a program like Node.js it will only run in a browser.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-ruby\"><strong>Ruby<\/strong><\/h2>\n\n\n\n<p><a href=\"https:\/\/careerkarma.com\/blog\/what-is-ruby-programming\/\">Ruby is a dynamic and open source programming language<\/a>. It has a focus on simplicity and productivity. Ruby was developed by Yukihiro Matsumoto and first released in 1995. It\u2019s designed for ease of use, being dynamically and duck typed (if it looks like a duck it is a duck\u2014a method of identifying types), multi-paradigm, high level, and interpreted. Ruby is also object oriented like JavaScript. It\u2019s flexible because it allows programmers to modify how it functions by changing different parts of the language. It\u2019s taken influences from Python and Pearl, and it <a href=\"https:\/\/careerkarma.com\/blog\/what-is-ruby-code-used-for\/\">has a lot of different uses<\/a>.<\/p>\n\n\n\n<p>Ruby is also well known for Ruby on Rails. Ruby on Rails is made for easily creating web apps, and it\u2019s been around since 2011. It\u2019s been used for social networks, blogs, and online marketplaces. It\u2019s been used for AirBnB, Hulu, and Github. However, Rail\u2019s popularity has diminished significantly since JavaScript has taken over the web.&nbsp;<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-what-is-ruby-on-rails\"><strong>What is Ruby on Rails?<\/strong><\/h3>\n\n\n\n<p>Ruby on Rails is a framework written in Ruby for creating web applications. Frameworks are like a skeleton for web development, providing some of the basic structure and optional features that can be popped in and out. Another example of a popular framework is Angular, which is JavaScript based. It\u2019s important to note, Rails is not a programming language, Ruby is. Rails is simply created using Ruby, and saves you a lot of typing.&nbsp;<\/p>\n\n\n\n<p>Ruby on Rail follows the MVC (model, view, controller) style of framework. Models store the information, the view shows it, and the controller works between the two to control it. Ruby on Rails also comes with Gems. Gems are libraries of Ruby programs that have been made into a standard format for installation so that they are plug and play. There are thousands of Gems available, each providing for a unique and often required need when putting together a web app.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-javascript-vs-ruby\"><strong>JavaScript Vs Ruby<\/strong><\/h2>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1000\" height=\"667\" src=\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/01\/alex-meier-EbXSMYVOF-I-unsplash.jpg\" alt=\"\" class=\"wp-image-10087\" srcset=\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/01\/alex-meier-EbXSMYVOF-I-unsplash.jpg 1000w, https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/01\/alex-meier-EbXSMYVOF-I-unsplash-768x512.jpg 768w, https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/01\/alex-meier-EbXSMYVOF-I-unsplash-770x514.jpg 770w, https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/01\/alex-meier-EbXSMYVOF-I-unsplash-20x13.jpg 20w, https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/01\/alex-meier-EbXSMYVOF-I-unsplash-385x257.jpg 385w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><figcaption><em>Two different types of iced coffee sitting on a table.<\/em><\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-table aligncenter is-style-stripes\"><table class=\"has-background\" style=\"background-color:#e7f5fe\"><tbody><tr><td>Ruby<\/td><td>JavaScript<\/td><\/tr><tr><td>Ruby is typically used for server side applications.<\/td><td>JavaScript is typically used for client side applications.<\/td><\/tr><tr><td>Ruby is slower than JavaScript.<\/td><td>JavaScript is faster than Ruby.<\/td><\/tr><tr><td>Ruby is easier to type and learn.<\/td><td>JavaScript is harder to type and learn.<\/td><\/tr><tr><td>Ruby is object oriented with classes, almost everything in Ruby is an object.<\/td><td>JavaScript is object oriented but classless.<\/td><\/tr><tr><td>Ruby is \u2018duck\u2019 typed.<\/td><td>JavaScript is weakly typed.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p>Now that we have some background on <a href=\"https:\/\/careerkarma.com\/blog\/how-to-learn-ruby\/\">learning Ruby<\/a> and <a href=\"https:\/\/careerkarma.com\/blog\/how-to-learn-javascript\/\">learning JavaScript<\/a>, let\u2019s look over them and figure out which we might prefer over the other. We will take on this task by comparing them head to head on a few different fronts.\u00a0<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-typing-and-syntax\"><strong>Typing and Syntax<\/strong><\/h3>\n\n\n\n<p>Ruby is built for usability. Its philosophy is that there is more than one way to do something. So not only does Ruby have a simple and easy to learn syntax, it has a syntax that\u2019s designed to be used however you like. It\u2019s very high-level, no variable declarations or semicolons, just easy to read code. It\u2019s also more object-oriented than most other object-oriented languages. It\u2019s so object-oriented that everything is an object, with methods and functions, even simple integers. Because of this, programmers can use method chaining; where a lot of code can be reduced into a little bit of code.&nbsp;<\/p>\n\n\n\n<p>JavaScript isn\u2019t terrible on the eyes, and it\u2019s certainly not as painful to type as C languages, but it just doesn\u2019t look as clean as Ruby. Ruby almost reads like a normal human language, setting it high up on the high\/mid\/low-level programming chart.&nbsp;<\/p>\n\n\n\n<p>However, since Ruby is so loose in how it allows the programmer to use it, it can be difficult to pass code between programmers. Code that would normally be several lines can be reduced to a few, and then down to one line after that. While code that is this clean is prettier to look at, it can also be as hard to read\u2014or harder to read\u2014than the same code laid out in many lines. A single line of code that should be many can be difficult to decipher. Because it is relaxed, Ruby also allows for very inefficient methods of programming and doesn\u2019t require anyone to adhere to a ruleset for programming, even if they should.&nbsp;<\/p>\n\n\n\n<p>Also, because Ruby is so high-level, debugging can be a nightmare. Ruby is particularly abstract so finding what line of code is rubbing the interpreter the wrong way can be difficult. It\u2019s not as easy as missing a semicolon, and often times it\u2019s related to an unseen interaction that happens under the hood, or is equally buried under an immense stack call.&nbsp;<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-performance\"><strong>Performance<\/strong><\/h3>\n\n\n\n<p>Generally speaking, there\u2019s a rule when it comes to the performance of programming languages. The closer it is to machine code, the faster it\u2019ll be. In this sense, the higher-level a programming language is, the slower it will be. This rule holds true with Ruby and JavaScript. JavaScript isn\u2019t fast, not when compared to speedier, compiled languages, like C++. However, Ruby makes JavaScript look like a Ferrari. By benchmark, Ruby holds an average speed that is 50% to 200% slower than JavaScript (running with node.js). Some things that take under 30 seconds in JavaScript can take Ruby around eight minutes to finish.<\/p>\n\n\n\n<p>It\u2019s important to note that Ruby is slower in a benchmarking situation. This is when we throw something difficult to figure out and then measure how long it takes for the language to figure it out. In the real world when building a web app you won\u2019t always need to solve Mandelbrot fractals. In this sense, many Ruby fans argue that Ruby is fast enough\u2014that it\u2019s only slow when compared to other languages\u2014but that it functions fine otherwise. This topic is under intense debate, however, there are plenty of functional examples of Ruby performing fine: AirBnB, Kickstarter, or Apple.com to name a few. Performance generally only becomes an issue if perfect timing or large and complex calculations are necessary.&nbsp;<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-community\"><strong>Community<\/strong><\/h3>\n\n\n\n<p>Both languages have large communities behind them. JavaScript\u2019s following is larger\u2014it is considered the most used language by many metrics. It consumes nearly 95% of the internet and beyond. In available modules and packages it wins by the distance from here to the moon. While Ruby and Rails have a few thousand modules available, npm (for node.js, which again is JavaScript) has over 800 thousand modules, most of which are open source, and many of which are free for commercial use.&nbsp;<\/p>\n\n\n\n<p>However, since Ruby is a far more user friendly language, so is it\u2019s community. They are generally regarded as helpful and kind to beginners, as Ruby is a language that is also kind on beginners. Its community is also very active, meaning that it\u2019s a fairly well documented language. And while the Gem library for Rails isn\u2019t as huge as JavaScript\u2019s catalog for node.js, the modules there are lovingly crafted.&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-career-outlook\"><strong>Career Outlook<\/strong>&nbsp;<\/h2>\n\n\n\n<p>JavaScript rules the internet and while Rails is easy to use, it doesn\u2019t have the performance or market share that JavaScript does. That said, Ruby is still a worthwhile investment for people looking to learn a new language. Ruby also functions very well as a second language, because Ruby is so easy to learn.&nbsp;<\/p>\n\n\n\n<p>At time of writing <a href=\"https:\/\/www.indeed.com\/\" target=\"_blank\" rel=\"noopener\" rel=\"nofollow\">Indeed.com<\/a> features over 16,000 job listings for Ruby developers and programmers in the US alone. Ruby developers also make a lot of money. An average Ruby developer can typically expect to make somewhere between $50,000 to over $200,000 each year. According to Indeed, where all of those jobs are listed, the national average for a Ruby developer in the US is <a href=\"https:\/\/www.indeed.com\/salaries\/ruby-on-rails-developer-Salaries\" target=\"_blank\" rel=\"noopener\" rel=\"nofollow\">$123,154 per year<\/a>.<\/p>\n\n\n\n<p>Many people will tell you JavaScript is the best language to have in your back pocket, and I don\u2019t think they\u2019re wrong. Even if you don\u2019t plan on becoming a JavaScript specialist, learning JavaScript will probably get you further in life as a developer, especially as a full stack developer. If you do plan to keep JavaScript as your focus, that\u2019s not a bad idea either. The same site we used before, Indeed, has close to 60,000 job listings for JavaScript. On Indeed the average wage for a JavaScript developer is similar to Ruby: <a href=\"https:\/\/www.indeed.com\/career\/javascript-developer\/salaries\" target=\"_blank\" rel=\"noopener\" rel=\"nofollow\">$113,615 per year<\/a>.&nbsp;<\/p>\n\n\n\n<p>Either choice has great prospects, but if you had to choose between the two JavaScript is the leading language. Unless the internet flips upside down in the next few years JavaScript won\u2019t be going anywhere, and there will always be a need for more JS devs, while the future of Ruby is less certain.&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"Ruby vs JavaScript Summary In short, Ruby is an object oriented language typically used for server side development. JavaScript is also object oriented and typically used for client side applications. JavaScript is far more widely used than Ruby, although Ruby is still a strong language. JavaScript is one of the number one languages on the&hellip;","protected":false},"author":45,"featured_media":10892,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[50470],"tags":[12688],"class_list":{"0":"post-10086","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-tech-guides","8":"tag-coding-resources"},"acf":{"post_sub_title":"","sprint_id":"","query_class":"JavaScript","school_sft":"","parent_sft":"","school_privacy_policy":"","has_review":"","is_sponser_post":"","is_guest_post":""},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.0 (Yoast SEO v27.0) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Ruby vs JavaScript: Compared and Contrasted | Career Karma<\/title>\n<meta name=\"description\" content=\"How do Ruby and JavaScript stack up against each other, and which should you learn? Let\u2019s find out.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/careerkarma.com\/blog\/ruby-vs-javascript\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Ruby vs JavaScript: Compared and Contrasted\" \/>\n<meta property=\"og:description\" content=\"How do Ruby and JavaScript stack up against each other, and which should you learn? Let\u2019s find out.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/careerkarma.com\/blog\/ruby-vs-javascript\/\" \/>\n<meta property=\"og:site_name\" content=\"Career Karma\" \/>\n<meta property=\"article:publisher\" content=\"http:\/\/facebook.com\/careerkarmaapp\" \/>\n<meta property=\"article:published_time\" content=\"2020-01-02T08:36:44+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-10-01T00:18:30+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/01\/ruby-vs-javascript.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1025\" \/>\n\t<meta property=\"og:image:height\" content=\"765\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Ethan Scully\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@career_karma\" \/>\n<meta name=\"twitter:site\" content=\"@career_karma\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ethan Scully\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/careerkarma.com\/blog\/ruby-vs-javascript\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/ruby-vs-javascript\/\"},\"author\":{\"name\":\"Ethan Scully\",\"@id\":\"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/ef903a75c71f406d67080c5947efdf69\"},\"headline\":\"Ruby vs JavaScript: Compared and Contrasted\",\"datePublished\":\"2020-01-02T08:36:44+00:00\",\"dateModified\":\"2022-10-01T00:18:30+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/ruby-vs-javascript\/\"},\"wordCount\":1758,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/ruby-vs-javascript\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/01\/ruby-vs-javascript.jpg\",\"keywords\":[\"coding resources\"],\"articleSection\":[\"Tech Guides\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/careerkarma.com\/blog\/ruby-vs-javascript\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/careerkarma.com\/blog\/ruby-vs-javascript\/\",\"url\":\"https:\/\/careerkarma.com\/blog\/ruby-vs-javascript\/\",\"name\":\"Ruby vs JavaScript: Compared and Contrasted | Career Karma\",\"isPartOf\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/ruby-vs-javascript\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/ruby-vs-javascript\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/01\/ruby-vs-javascript.jpg\",\"datePublished\":\"2020-01-02T08:36:44+00:00\",\"dateModified\":\"2022-10-01T00:18:30+00:00\",\"author\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/ef903a75c71f406d67080c5947efdf69\"},\"description\":\"How do Ruby and JavaScript stack up against each other, and which should you learn? Let\u2019s find out.\",\"breadcrumb\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/ruby-vs-javascript\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/careerkarma.com\/blog\/ruby-vs-javascript\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/careerkarma.com\/blog\/ruby-vs-javascript\/#primaryimage\",\"url\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/01\/ruby-vs-javascript.jpg\",\"contentUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/01\/ruby-vs-javascript.jpg\",\"width\":1025,\"height\":765,\"caption\":\"Ruby vs JavaScript\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/careerkarma.com\/blog\/ruby-vs-javascript\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Blog\",\"item\":\"https:\/\/careerkarma.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Tech Guides\",\"item\":\"https:\/\/careerkarma.com\/blog\/tech-guides\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Ruby vs JavaScript: Compared and Contrasted\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/careerkarma.com\/blog\/#website\",\"url\":\"https:\/\/careerkarma.com\/blog\/\",\"name\":\"Career Karma\",\"description\":\"Latest Coding Bootcamp News &amp; Career Hacks from Industry Insiders\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/careerkarma.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/ef903a75c71f406d67080c5947efdf69\",\"name\":\"Ethan Scully\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/11\/ethan-scully-150x150.jpg\",\"contentUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/11\/ethan-scully-150x150.jpg\",\"caption\":\"Ethan Scully\"},\"description\":\"Ethan Scully is a writer, editor, and game developer who manages Career Karma's content partnership initiatives and is currently based in Istanbul. His relationships with coding bootcamps give him particular insight into these new job training programs. Before joining the Career Karma team, Scully worked in IT support, graphic design, and as an editor for Cambodia's Khmer Times.\",\"sameAs\":[\"https:\/\/www.linkedin.com\/in\/ethanscully\/\"],\"url\":\"https:\/\/careerkarma.com\/blog\/author\/ethan-scully\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Ruby vs JavaScript: Compared and Contrasted | Career Karma","description":"How do Ruby and JavaScript stack up against each other, and which should you learn? Let\u2019s find out.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/careerkarma.com\/blog\/ruby-vs-javascript\/","og_locale":"en_US","og_type":"article","og_title":"Ruby vs JavaScript: Compared and Contrasted","og_description":"How do Ruby and JavaScript stack up against each other, and which should you learn? Let\u2019s find out.","og_url":"https:\/\/careerkarma.com\/blog\/ruby-vs-javascript\/","og_site_name":"Career Karma","article_publisher":"http:\/\/facebook.com\/careerkarmaapp","article_published_time":"2020-01-02T08:36:44+00:00","article_modified_time":"2022-10-01T00:18:30+00:00","og_image":[{"width":1025,"height":765,"url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/01\/ruby-vs-javascript.jpg","type":"image\/jpeg"}],"author":"Ethan Scully","twitter_card":"summary_large_image","twitter_creator":"@career_karma","twitter_site":"@career_karma","twitter_misc":{"Written by":"Ethan Scully","Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/careerkarma.com\/blog\/ruby-vs-javascript\/#article","isPartOf":{"@id":"https:\/\/careerkarma.com\/blog\/ruby-vs-javascript\/"},"author":{"name":"Ethan Scully","@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/ef903a75c71f406d67080c5947efdf69"},"headline":"Ruby vs JavaScript: Compared and Contrasted","datePublished":"2020-01-02T08:36:44+00:00","dateModified":"2022-10-01T00:18:30+00:00","mainEntityOfPage":{"@id":"https:\/\/careerkarma.com\/blog\/ruby-vs-javascript\/"},"wordCount":1758,"commentCount":0,"image":{"@id":"https:\/\/careerkarma.com\/blog\/ruby-vs-javascript\/#primaryimage"},"thumbnailUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/01\/ruby-vs-javascript.jpg","keywords":["coding resources"],"articleSection":["Tech Guides"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/careerkarma.com\/blog\/ruby-vs-javascript\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/careerkarma.com\/blog\/ruby-vs-javascript\/","url":"https:\/\/careerkarma.com\/blog\/ruby-vs-javascript\/","name":"Ruby vs JavaScript: Compared and Contrasted | Career Karma","isPartOf":{"@id":"https:\/\/careerkarma.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/careerkarma.com\/blog\/ruby-vs-javascript\/#primaryimage"},"image":{"@id":"https:\/\/careerkarma.com\/blog\/ruby-vs-javascript\/#primaryimage"},"thumbnailUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/01\/ruby-vs-javascript.jpg","datePublished":"2020-01-02T08:36:44+00:00","dateModified":"2022-10-01T00:18:30+00:00","author":{"@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/ef903a75c71f406d67080c5947efdf69"},"description":"How do Ruby and JavaScript stack up against each other, and which should you learn? Let\u2019s find out.","breadcrumb":{"@id":"https:\/\/careerkarma.com\/blog\/ruby-vs-javascript\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/careerkarma.com\/blog\/ruby-vs-javascript\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/careerkarma.com\/blog\/ruby-vs-javascript\/#primaryimage","url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/01\/ruby-vs-javascript.jpg","contentUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/01\/ruby-vs-javascript.jpg","width":1025,"height":765,"caption":"Ruby vs JavaScript"},{"@type":"BreadcrumbList","@id":"https:\/\/careerkarma.com\/blog\/ruby-vs-javascript\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog","item":"https:\/\/careerkarma.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Tech Guides","item":"https:\/\/careerkarma.com\/blog\/tech-guides\/"},{"@type":"ListItem","position":3,"name":"Ruby vs JavaScript: Compared and Contrasted"}]},{"@type":"WebSite","@id":"https:\/\/careerkarma.com\/blog\/#website","url":"https:\/\/careerkarma.com\/blog\/","name":"Career Karma","description":"Latest Coding Bootcamp News &amp; Career Hacks from Industry Insiders","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/careerkarma.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/ef903a75c71f406d67080c5947efdf69","name":"Ethan Scully","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/11\/ethan-scully-150x150.jpg","contentUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/11\/ethan-scully-150x150.jpg","caption":"Ethan Scully"},"description":"Ethan Scully is a writer, editor, and game developer who manages Career Karma's content partnership initiatives and is currently based in Istanbul. His relationships with coding bootcamps give him particular insight into these new job training programs. Before joining the Career Karma team, Scully worked in IT support, graphic design, and as an editor for Cambodia's Khmer Times.","sameAs":["https:\/\/www.linkedin.com\/in\/ethanscully\/"],"url":"https:\/\/careerkarma.com\/blog\/author\/ethan-scully\/"}]}},"_links":{"self":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/posts\/10086","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/users\/45"}],"replies":[{"embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/comments?post=10086"}],"version-history":[{"count":0,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/posts\/10086\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/media\/10892"}],"wp:attachment":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/media?parent=10086"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/categories?post=10086"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/tags?post=10086"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}