<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Martinsoft - Medium]]></title>
        <description><![CDATA[Hello! Welcome to the Martinsoft blog! We share tech news, mobile app development stories, and help to make tech less daunting. - Medium]]></description>
        <link>https://medium.com/martinsoft?source=rss----e70a48fc12ff---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Martinsoft - Medium</title>
            <link>https://medium.com/martinsoft?source=rss----e70a48fc12ff---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 10:18:33 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/martinsoft" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Learn a Language: PHP]]></title>
            <link>https://medium.com/martinsoft/learn-php-af0fe93a4f2f?source=rss----e70a48fc12ff---4</link>
            <guid isPermaLink="false">https://medium.com/p/af0fe93a4f2f</guid>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[php]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[learning-to-code]]></category>
            <dc:creator><![CDATA[John Martin]]></dc:creator>
            <pubDate>Wed, 13 Feb 2019 17:25:50 GMT</pubDate>
            <atom:updated>2019-02-13T17:25:36.062Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Learning to code requires a HUGE investment of time and energy. For newcomers it’s also difficult to know where to start because there are so many languages to choose from. Through </em><a href="https://instagram.com/martinsoft"><em>my Instagram account</em></a><em> I’m often asked:</em></p><blockquote>“Which programming language should I learn?”</blockquote><p><em>I wanted to be able to give a better answer than “it depends”, so with this </em><strong><em>Learn a Language</em></strong><em> series, I hope to build a resource that’ll help people decide for themselves which language they should invest their time in learning!</em></p><p><em>With help from other developers across the tech community, each article will give an overview of a popular programming language, from a developer experienced in that language. We’ll look at what each language is good at, what it’s not so good at, and the tools/resources that can help you get started.</em></p><p>In this article, Nadja Summerscales-Gunn aka <a href="https://instagram.com/_codequeen">@_codequeen</a> gives an overview of PHP!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/320/1*zNfCFrQQ4F_kOm9cZRZdzw.jpeg" /><figcaption>Nadja — <a href="https://instagram.com/_codequeen">@_codequeen</a></figcaption></figure><h4>How long have you been working with PHP?</h4><p>3 years exactly.</p><h4>What made you choose to work with PHP?</h4><p>I sort of just fell into it. I started building Worpdress sites at my first job &amp; got more interested in PHP as when I started working on more complex features. My love for PHP grew when I started working at Resume Library. We use it in various different technologies and you really start to learn how powerful it is.</p><h4>What sort of things is PHP well-suited for? When should someone consider using PHP for their project?</h4><p>PHP is a server side scripting language. It can be used for dozens of different tasks such as:</p><ul><li>taking information from web based forms and storing it in a variety of different ways (e.g. storing it in a database, setting cookies for later, sending emails etc)</li><li>running threaded discussions on your site</li><li>authentication &amp; tracking user activity</li><li>serving XML pages</li><li>building an API</li><li>building scripts to make life eaiser</li></ul><p>I mainly use it for building web applications or even writing handy scripts to make my life easier!</p><p>A lot of people look down on PHP for being a synchronous programming language – meaning that it’s used for building reactive programs. It’s mostly overlooked due to the popularity of JavaScript, but can be manipulated to do the same things.</p><h4>If you also know other languages, how does PHP compare to these?</h4><p>In terms of syntax, PHP is very similar to C. If conditions, for and while loops. Function returns are also similar to languages such as C++, C#, Java &amp; Perl. For example, boolean type conversion rules: non-zero values are interpreted as true and zero as false, as in Perl &amp; C++.</p><h4>Are there any types of project / task that PHP would not be a good choice for?</h4><p>You wouldn’t use PHP to build mobile applications or GUI applications. Even though you could most definitely use PHP to synchronise across multiple platforms – you wouldn’t be able to build native applications with the language.</p><h4>What do you particularly like about coding in PHP?</h4><p>I personally find it really easy to read &amp; write. Other’s may say that it encourages bad coding habits but I think it’s unfair to blame that completely on the language.</p><blockquote>If you understand how a language works i.e. debugging, error handling etc – you can write very efficient, clean code. Trust me, I pride myself in ‘pretty’ code.</blockquote><p>There are also so many tools to help you get started! PHP has been around for years &amp; there is a tonne of great documentation out there – go use it!</p><h4>What are the things that frustrate you when working with PHP? What possible sources of pain or frustration (if any!) should people be aware of before they start learning PHP?</h4><p>Use the try/catch block where you can. PHP doesn’t gracefully handle errors &amp; a try/catch will deal with the issue gracefully – it’ll save you from any embarrassing errors.</p><p>One of my other bug bears is the many many frameworks with bad documentation. CakePHP is one of these in my opinon, but I guess this could be the same for any other language.</p><h4>What dev tools do you use when working with PHP? What other tools are also popular?</h4><ul><li><a href="https://www.jetbrains.com/phpstorm/">PHP Storm</a> – IDE</li><li><a href="https://getcomposer.org/">Composer</a> – Dependency manager</li><li><a href="https://laravel.com/">Laravel</a> – Framework</li><li><a href="https://www.codeigniter.com]">CodeIgniter</a> – Framework for building webapps</li><li><a href="https://www.mysql.com/products/workbench/">MySQL Workbench</a> -MySQL client</li><li><a href="https://aws.amazon.com/sqs/">Amazon Simple Queue Service (SQS)</a> – used to make programs asynchronous.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/1*72H3eLZU9s-mZfKdi07NgA.jpeg" /><figcaption>Nadja shares her journey as a PHP developer on <a href="https://instagram.com/_codequeen">Instagram</a>! Go follow her!</figcaption></figure><h4>Which resources would you recommend for people looking to learn PHP?</h4><ul><li><a href="http://phplondon.org/">PHP London</a>: meet-ups are a great way to meet new developers &amp; gain an insight into their habits.</li><li><a href="https://www.codecademy.com/">Codecademy</a> – learning resource</li><li><a href="https://www.udemy.com/">Udemy</a> – I found this very helpful as you build projects along the way.</li><li><a href="https://secure.php.net/">PHP.net</a></li><li><a href="https://www.php-fig.org/psr/psr-2/">PHP Coding standards</a></li></ul><h4>What are the popular libraries or frameworks that people should also consider learning with PHP? What do these libraries / frameworks do?</h4><ul><li><a href="https://www.codeigniter.com/">CodeIgniter</a> – this is really easy to learn &amp; has great documentation!</li><li><a href="https://laravel.com/">Laravel</a> – this is also really easy to learn, has great documentation, Laracasts &amp; can do a lot more with little!</li><li><a href="https://cakephp.org/">CakePHP</a> – very easy to setup initially, however the documentation isn’t as clear cut as Laravel &amp; CodeIgniter</li><li><a href="https://framework.zend.com/">Zend</a> – a little more difficult to configure but very powerful once you’ve got it setup.</li><li><a href="https://www.mamp.info/en/">MAMP</a> || <a href="https://www.apachefriends.org/index.html">XAMPP</a> – virtual servers.</li></ul><h4>Anything else you want to say about PHP?</h4><p><em>Before taking judgement on PHP from any of your peers, please give it a go – you never know, you might love it!</em></p><h4>Thank you so much Nadja! Where can people find you online?</h4><ul><li>Instagram: <a href="https://instagram.com/_codequeen">@_codequeen</a></li></ul><p><strong>Thank you so much for reading! I hope you found this article useful!</strong></p><p><strong>If you know PHP and have suggestions for other resources that beginners should know about, feel free to leave them in the comments!</strong></p><p><strong>Other languages will be coming soon!</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/320/1*XEuxlaQ7W3iKlcrM95POFg.png" /></figure><p><em>You can find me:</em></p><p>Instagram: <a href="https://instagram.com/martinsoft">@martinsoft</a></p><p>Online: <a href="https://martinsoft.net/">https://martinsoft.net</a></p><p>I also co-host <a href="https://www.instagram.com/meetupandcode/">@meetupandcode</a>, a regular meet-up in London for devs with any level of experience. <a href="https://instagram.com/meetupandcode">Join us!</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=af0fe93a4f2f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/martinsoft/learn-php-af0fe93a4f2f">Learn a Language: PHP</a> was originally published in <a href="https://medium.com/martinsoft">Martinsoft</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Learn a Language: JavaScript]]></title>
            <link>https://medium.com/martinsoft/learn-javascript-c1cca9db9015?source=rss----e70a48fc12ff---4</link>
            <guid isPermaLink="false">https://medium.com/p/c1cca9db9015</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[learning-to-code]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[John Martin]]></dc:creator>
            <pubDate>Mon, 01 Oct 2018 14:55:29 GMT</pubDate>
            <atom:updated>2018-10-01T14:57:09.561Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Learning to code requires a HUGE investment of time and energy. For newcomers it’s also difficult to know where to start because there are so many languages to choose from. Through </em><a href="https://instagram.com/martinsoft"><em>my Instagram account</em></a><em> I’m often asked:</em></p><blockquote>“Which programming language should I learn?”</blockquote><p><em>I wanted to be able to give a better answer than “it depends”, so with this </em><strong><em>Learn a Language</em></strong><em> series, I hope to build a resource that’ll help people decide for themselves which language they should invest their time in learning!</em></p><p><em>With help from other developers across the tech community, each article will give an overview of a popular programming language, from a developer experienced in that language. We’ll look at what each language is good at, what it’s not so good at, and the tools/resources that can help you get started.</em></p><p>In this article, my good friends Raf and Marty aka <a href="https://www.instagram.com/codingcouple">@codingcouple</a> give an overview of <strong>JavaScript</strong>!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*pOLFfbwFyifgfx8Z5qzARw.jpeg" /><figcaption>Raf &amp; Marty — <a href="https://www.instagram.com/codingcouple/">@codingcouple</a></figcaption></figure><h4>How long have you been working with JavaScript?</h4><p>We’ve been working with JS professionally for over a year now. Previous to that we’d been learning it for a little less than a year.</p><h4>What made you choose to work with JavaScript?</h4><p>When started learning how to code, we were both massively interested in all things Web-related, so JavaScript as a language of the Web seemed like a natural choice. It also is quite fun to work with — it lives in every popular browser and you can start coding straight away — without rather confusing (for beginners) setups and installation processes.</p><h4>What sort of things is JavaScript well-suited for? When should someone consider using JavaScript for their project?</h4><p>As mentioned above, JavaScript is a language of the Web and is most commonly used as a client-side scripting language for adding complex functionalities into web applications, such as displaying content updates, interactive maps, animations, graphics, videos, etc. It is the third layer of the web cake, laying lusciously underneath the HTML and CSS. 😊</p><p>However, with the rising popularity of JavaScript, people have developed a number of tools and technologies to work with things other than just the Web. With JavaScript we can now also build server-side code, develop native mobile apps (both iOS and Android!), create cross-platform desktop software, play around with VR and AR and many, many more things!</p><h4>If you also know other languages, how does JavaScript compare to these?</h4><p>JavaScript falls into a syntax tradition derived from the B programming languages, just like Java, C, C++, C#, etc., and in that sense, it is similar to these languages.</p><p>In a sense of JavaScript’s design and structure it would be the best to look at languages that either influenced JavaScript itself — like Scheme with its lexical scoping, nested first-class and higher-order procedures, or Self that gave the idea of using a prototype-based object model which might be the most powerful feature of JavaScript — or languages that have been influenced by JavaScript, such as TypeScript, CoffeeScript or a little bit stricter ActionScript.</p><h4>Are there any types of project / task that JavaScript would not be a good choice for?</h4><p>With all the powerful tools, libraries, frameworks and such, JavaScript could be a good solution to almost any problem you might find as a professional developer. In fact, it is not a matter of JavaScript not being a good choice, but rather that some other tools might be a better answer for particular tasks. For instance, you can use TensorFlow.js, a JavaScript library that allows you to define, train and run machine learning models, but Python might be just a better tool for that particular set of problems. So if this is your area of focus, you probably will be better off with Python. But if you’re a web developer who would like to start doing some machine learning — well, there are also JavaScript tools for that!</p><h4>What do you particularly like about coding in JavaScript?</h4><p>So many things! It is a very, very versatile language, in fact the only one that can be used as a true full stack language for Web development. It is also a multi-paradigm language, which means it can be whatever you would like it to be — be it object-oriented, functional, imperative, declarative, etc.</p><p>Although not recommended by some people — you really can build an entire complex web application using just one language. And on the top of that — JS is not going anywhere anytime soon. If you haven’t decided which language to learn first, JavaScript might be your safest bet.</p><h4>What are the things that frustrate you when working with JavaScript? What possible sources of pain or frustration (if any!) should people be aware of before they start learning JavaScript?</h4><p>Ever-changing environment. You feel like you’re getting comfortable with this particular JS tool you wanted to learn how to use? Forget it. Someone already developed a new one, the market moved on, the online fanbase is getting excited about other new things, and you’re back to square one!</p><p>However frustrating it might sound — there’s a benefit to that. Once you master the common concepts, approaches, and mindset in programming, picking up new tools and tricks will not be that difficult. It will also, eventually, make you a better coder too (if you follow the best standards and practices, which you obviously do!).</p><p>The job market seems to be quite crazy too. When browsing the job offers, especially as a beginner, you might easily get confused with all the terminology, with companies looking for a Vue developers, React developer, Angular developer, Node developer, Electron developer, the list goes on… When it all might just mean: ‘we’re looking for a decent JS developer’, candidates might feel put off by technologies they’re not familiar with yet.</p><h4>What dev tools do you use when working with JavaScript? What other tools are also popular?</h4><p>Our favourites:</p><ul><li>IDE: <a href="https://code.visualstudio.com/">Visual Studio Code</a></li><li>debugger: <a href="https://developers.google.com/web/tools/chrome-devtools/">Chrome Dev Tools</a></li><li>package manager: <a href="https://www.npmjs.com/">npm</a></li><li>module bundler: <a href="https://webpack.js.org/">webpack</a></li><li>testing framework: <a href="https://mochajs.org/">Mocha</a></li><li><a href="https://www.browserstack.com/">BrowserStack</a> — to test how your app looks &amp; behaves on different operating systems and devices;</li></ul><p>Chrome plugins:</p><ul><li><a href="https://chrome.google.com/webstore/detail/form-filler/bnjjngeaknajbdcgpfkgnonkmififhfo?hl=en">Form filler</a> — automatically fills web app forms (great when you work on registration part of your app and need to test and don’t want to fill forms 20+ times a day)</li><li><a href="https://www.wappalyzer.com/">Wappalyzer</a> — to check what technologies are used on the websites we like</li><li><a href="https://chrome.google.com/webstore/detail/ghostery-%E2%80%93-privacy-ad-blo/mlomiejdfkolichcflejclcbmpeaniij?hl=en">Ghostery</a> — to identify API calls from the website</li><li><a href="https://chrome.google.com/webstore/detail/wave-evaluation-tool/jbbplnpkjmmeebjpijfedlgcdilocofh">WAVE</a>, <a href="https://chrome.google.com/webstore/detail/axe/lhdoppojpmngadmnindnejefpokejbdd">aXe</a> &amp; <a href="https://chrome.google.com/webstore/detail/accessibility-developer-t/fpkknkljclfencbdbgkenhalefipecmb?hl=en">Accessibility Developer Tools</a> — for accessibility testing</li><li><a href="https://chrome.google.com/webstore/detail/nocoffee/jjeeggmbnhckmgdhmgdckeigabjfbddl">NoCoffee vision simulator</a> — to test how our web app looks for users’ with vision problems</li><li><a href="https://chrome.google.com/webstore/detail/redux-devtools/lmhkpmbekcpmknklioeibfkpmmfibljd">Redux DevTools</a> — for debugging application’s state changes, if using Redux library</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*R5ICvS5E6RyCYGTUXxb8rA.jpeg" /><figcaption>Raf and Marty share a lot of their coding journey on <a href="https://www.instagram.com/codingcouple">Instagram</a>! Go follow them!</figcaption></figure><h4>Which resources would you recommend for people looking to learn JavaScript?</h4><ul><li>The best resource is definitely <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript">Mozilla Development Network (MDN)</a>. They have everything — easy read documentation, guides, and loads of real-life tutorials. Couldn’t recommend more.</li><li><a href="https://www.freecodecamp.org/">Free Code Camp</a> is a free online course for all the levels, includes not only all the basics, but algorithmics, data structures, debugging etc., not to mention you can get a free certification!</li><li>The Odin Project — free online full-stack web development courses, with step-by-step instructions and recommendations to many other free resources in every chapter, there’s a JavaScript course here: <a href="https://www.theodinproject.com/courses/javascript">https://www.theodinproject.com/courses/javascript</a></li><li><a href="https://egghead.io/">Egghead</a> — set of amazing tutorials for most popular JavaScript frameworks, libraries and tools.</li><li>Udemy — not free, but the video courses are reasonably priced and very well structured. Out of all the cool JavaScript courses they offer, we especially recommend this one: <a href="https://www.udemy.com/the-complete-javascript-course/">https://www.udemy.com/the-complete-javascript-course/</a></li><li><a href="https://cloud.google.com/maps-platform/">Google Maps Platform </a>— includes a set of very helpful tutorials and lectures explaining how geolocation, direction services and all that shebang works. Following their suggestions and tips, you can build lots of cool JS projects using the Google Maps API;</li><li><a href="https://wesbos.com/">Wes Bos</a>’s articles, videos and tutorials. He explains and guides through most of the popular JS tools, technologies, frameworks and concepts. We strongly recommend his ES6 series, JS30 challenge and Learn Node!</li><li>You Don’t Know JS — a book series diving deep into the core mechanism of JavaScript language. An absolute must read for every JS developer! Free online version here: <a href="https://github.com/getify/You-Dont-Know-JS">https://github.com/getify/You-Dont-Know-JS</a></li></ul><h4>What are the popular libraries or frameworks that people should also consider learning with JavaScript, and what do they do?</h4><ul><li><a href="https://reactjs.org/">React</a> + <a href="https://redux.js.org/">Redux</a> — at the moment the most popular combo for web applications;</li><li><a href="https://vuejs.org/">Vue.js </a>— JavaScript UI framework that seems to be gaining popularity at the speed of light;</li><li><a href="https://angular.io/">Angular 6</a> — super powerful JS MVC platform. Although by default it uses TypeScript (not JS) we decided to include it here, as we’re huge TypeScript enthusiasts!</li><li><a href="https://electronjs.org/">Electron</a> — very exciting framework for creating native cross platform desktop apps!</li><li><a href="https://facebook.github.io/react-native/">React Native </a>— a framework which is applying React library architecture to build native mobile apps;</li><li><a href="https://rxjs-dev.firebaseapp.com/">rxJS</a> — a library that allows you to easily use reactive programming paradigm with JS, extremely helpful while working with MVC architecture</li><li><a href="https://nodejs.org/en/">Node.js</a> — a runtime engine to execute JavaScript code outside the browser (server side scripting as opposed to more traditional client side scripting mentioned above)</li><li><a href="http://expressjs.com/">Express.js</a> — a server side framework for Node.js environment;</li><li><a href="https://mochajs.org/">Mocha</a> and <a href="https://jasmine.github.io/">Jasmine</a> — testing frameworks great for unit testing, beginner-friendly with great documentation;</li><li><a href="https://js.tensorflow.org/">TensorFlow.js</a> — library for dataflow programming; can be used to build machine learning applications!</li><li><a href="http://caza.la/synaptic/#/">Synaptic.js</a> — the JavaScript neural network library;</li><li><a href="https://cloud.google.com/maps-platform/">Google Maps Platform</a> with all its tools, a very handy stack for web app developers, very beginner friendly, very powerful with great documentations and community support;</li><li><a href="https://greensock.com/gsap">GSAP (GreenSock)</a> — a library for JavaScript animation (remember ActionScript? This is much better!);</li><li><a href="https://www.createjs.com/">CreateJS suite</a> — Adobe-supported set of libraries for creating an interactive content for web applications. Can deal with animations, tweening, sound engineering and more!</li></ul><h4>Anything else you want to say about JavaScript?</h4><blockquote>JavaScript is a very powerful and very versatile language, which happens to also be very much beginner friendly and it might have the biggest and the most helpful community out there. It is very easy to pick up with all the amazing (and quite often free) tutorials available online.</blockquote><blockquote>JavaScript is also used by most companies all over the world and it is probably going to stay that way for a while, so if you’re not sure which language to pick up and you want to work with the Web… this will be the right choice!</blockquote><h4>Thank you so much Raf and Marty! Where can people find you online?</h4><ul><li>Instagram: <a href="https://www.instagram.com/codingcouple">@codingcouple</a></li><li>Twitter: <a href="https://twitter.com/codingcouple">@codingcouple</a></li></ul><p><strong>Thank you so much for reading! I hope you found this article useful!</strong></p><p><strong>If you know JavaScript and have suggestions for other resources that beginners should know about, feel free to leave them in the comments!</strong></p><p><strong>Other languages will be coming soon!</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/320/1*XEuxlaQ7W3iKlcrM95POFg.png" /></figure><p><em>You can find me:</em></p><p>Instagram: <a href="https://instagram.com/martinsoft">@martinsoft</a></p><p>Online: <a href="https://martinsoft.net/">https://martinsoft.net</a></p><p>I also co-host <a href="https://www.instagram.com/meetupandcode/">@meetupandcode</a>, a regular meet-up in London for devs with any level of experience. <a href="https://instagram.com/meetupandcode">Join us!</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c1cca9db9015" width="1" height="1" alt=""><hr><p><a href="https://medium.com/martinsoft/learn-javascript-c1cca9db9015">Learn a Language: JavaScript</a> was originally published in <a href="https://medium.com/martinsoft">Martinsoft</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Learn a Language: Swift]]></title>
            <link>https://medium.com/martinsoft/learn-swift-2fa2079fb513?source=rss----e70a48fc12ff---4</link>
            <guid isPermaLink="false">https://medium.com/p/2fa2079fb513</guid>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[ios]]></category>
            <category><![CDATA[ios-app-development]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[mobile-app-development]]></category>
            <dc:creator><![CDATA[John Martin]]></dc:creator>
            <pubDate>Wed, 12 Sep 2018 16:44:05 GMT</pubDate>
            <atom:updated>2018-09-12T16:21:27.462Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Learning to code requires a HUGE investment of time and energy. For newcomers it’s also difficult to know where to start because there are so many languages to choose from. Through </em><a href="https://instagram.com/martinsoft"><em>my Instagram account</em></a><em> I’m often asked:</em></p><blockquote>“Which programming language should I learn?”</blockquote><p><em>I wanted to be able to give a better answer than “it depends”, so with this </em><strong><em>Learn a Language</em></strong><em> series, I hope to build a resource that’ll help people decide for themselves which language they should invest their time in learning!</em></p><p><em>With help from other developers across the tech community, each article will give an overview of a popular programming language, from a developer experienced in that language. We’ll look at what each language is good at, what it’s not so good at, and the tools/resources that can help you get started.</em></p><p>In this article we will be looking at <strong>Swift</strong>!</p><p><strong>However! We’re doing things slightly differently this time</strong>! 😃 Although I work with Swift all the time, I didn’t want the article to be only about my experiences. So, I have teamed up with the amazing Carmen Jimenez aka <a href="https://instagram.com/carmencodes_">@carmencodes_</a> who has recently started learning Swift! Together we’ll both be sharing our experiences and resources, to give two different perspectives on Swift!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*fXSiOBm4GH2OBDtEuV9C6w.jpeg" /><figcaption>Carmen aka <a href="https://instagram.com/carmencodes_">@carmencodes</a></figcaption></figure><h4><strong>How long have you been working with Swift?</strong></h4><p><strong><em>[Carmen]</em></strong></p><p>I’ve been working with Swift for about two months.</p><p><strong><em>[John]</em></strong></p><p>I first started looking at Swift shortly after it was announced in 2014, but it was probably about a year or so later that my clients were seriously starting to look at it, so it’s been about 3 years. Before that, though, I’d been an iOS developer using Objective C since about 2010.</p><h4><strong>What made you choose to work with Swift?</strong></h4><p><strong><em>[Carmen]</em></strong></p><p>I didn’t choose Swift, Swift chose me! Jokes aside, when the idea of building my first app came to mind without a doubt I decided to start learning iOS development. I think it’s just because of pure passion since I love Apple.</p><p><strong><em>[John]</em></strong></p><p>Similar thing! I’ve always been an Apple fan and was instantly drawn to the idea of building mobile apps when the first iOS SDK came out, but it was a couple of years later that I really got into it. After many years of working in Objective C, Swift came along and made iOS/macOS development much easier to understand. It uses more modern programming paradigms, and often allows you to expressive ideas in a more concise, type-safe manner, so it was a really nice thing to move into.</p><h4><strong>What sort of things is Swift well-suited for? When should someone consider using Swift for their project?</strong></h4><p><strong><em>[Carmen]</em></strong></p><p>If someone is looking to build software for the Apple ecosystem, Swift is the de facto language of choice for starting new projects in macOS, iOS, watchOS and tvOS. The goal of Swift is to create the best available language for uses ranging from systems programming, to mobile and desktop apps, scaling up to cloud services. Most importantly, Swift is designed to make writing and maintaining correct programs easier for the developer.</p><p><strong><em>[John]</em></strong></p><p>As mentioned, Swift was introduced as an alternative to Objective C, which for many years had been Apple’s programming language of choice for building apps for the macOS and iOS platforms. It makes development much easier because the syntax and style of programming is more similar to other modern languages such as Java / JavaScript.</p><p>If you are interested in building native apps for the Apple platforms — iOS, macOS, tvOS, watchOS — Swift should be the language for you.</p><h4><strong>If you also know other languages, how does Swift compare to these?</strong></h4><p><strong><em>[Carmen]</em></strong></p><ul><li><strong>Javascript: </strong>There are numerous similarities between both JavaScript and Swift. There are some minor differences but their essence is the same. As compared to JavaScript, Swift provides a lot of advancements in syntax. Of course (arguably) it can be said that the more features a language provides, the more trouble it can create. Since then you need to know most of the syntax in order to program effectively. In contrast, JavaScript is relatively simple with a very limited syntax, but it has its shortcoming as well.</li></ul><blockquote>However, given the similarities in syntax between both these languages, if you are a JavaScript programmer, you can learn Swift really fast and pretty easily. Bottom line — if you know JavaScript, you can learn Swift swiftly.</blockquote><ul><li><strong>C#: </strong>These languages have different primary uses. Swift is used primarily to develop apps for Apple devices (Macs, iPads, etc). And while C# may be used for client-side development, it is also extensively used for developing server-side applications. C# has been around longer, but it has continued to evolve and is certainly not approaching obsolescence. To be clear, C# is used for way more than server code. It’s Microsoft’s language (in much of the same way that Swift is Apple’s), and it’s used greatly to develop Windows and Windows apps. It’s also used in a lot of game engines, such as Unity. Web servers are one of the things it can do, not what it’s made for.</li></ul><p><strong><em>[John]</em></strong></p><p>I have worked in many different languages over my career, but Swift keeps a lot of the nice elements that I’ve seen in other languages:</p><ul><li>It’s a strongly typed language, similar to Java, meaning that it tries to avoid runtime errors by performing more type-checking at compile-time. This means, for example, that the language will prevent you from passing an Integer to a function that expects a String.</li><li>Swift also has extensive handling for ‘optionality’ — which is another attempt to avoid runtime crashes caused by null-pointer exceptions (where a variable unexpectedly ends up having a null value). Swift code requires you to explicitly state where a value might be null (a so-called “optional”), and forces you to handle this whenever using that value in the code. Traditional languages such as C/C++ and earlier versions of Java required you to remember to check if a value might be null. Swift has built-in mechanisms to ensure that these checks are handled at compile time.</li><li>In terms of the syntax, Swift is very similar to other C-derived languages — C, C#, Java, JavaScript, but extends on these particularly in terms of the additional types that it supports, and the elegant ways that it implements enums (which are very powerful), structs (for immutability) and protocols (similar to interfaces in Java).</li></ul><h4><strong>Are there any types of project / task that Swift would not be a good choice for?</strong></h4><p><strong><em>[Carmen]</em></strong></p><p>Swift is a powerful and intuitive programming language developed by Apple, and initially aimed at development for Apple’s platforms, therefore you can not easily develop an Android app with the help of Swift. Although work in progress, there has been open-source initiative to get Swift code to work on Android.</p><p><strong><em>[John]</em></strong></p><p>As a language, Swift was initially released by Apple but then subsequently made open source. This is important because it means that anyone can contribute to the language, and the language is open to being ported to other platforms.</p><p>That said, Swift in its current stage is still primarily a language for the Apple platforms. There are projects working to bring Swift to Linux — which is something I’m really interested in — which could eventually mean a full-stack mobile app could be written end-to-end in Swift, but this is still fairly uncommon and it is still much more common to see Java / Ruby / Javascript on the backend while the iOS app would be written in Swift.</p><p>If you are looking to build web apps, Windows apps, or Android apps, Swift is probably not going to be your first choice of language!</p><h4><strong>What do you particularly like about coding in Swift?</strong></h4><p><strong><em>[Carmen]</em></strong></p><p>What I like about Swift is that it is easier to read and write. It is very concise, which means less code is required to perform the same task, as compared to Objective-C.</p><p>Another thing I like about Swift is its safety. Its strong typing system and error handling prevents code crashes and errors in production. Thus, Swift has a shorter feedback loop, allowing you to see the errors in the code instantly and fix them on the fly, greatly reducing the time and effort needed for bug fixing and eliminating the risks of deploying low quality code.</p><p>I like the built-in collections, particularly the Set type. Normally, I’m stuck with array and dictionary types, which are fine. However, sometimes I need to do set operations, which on arrays are difficult. It’s good having the option to have an unordered list with set operators.</p><p><strong><em>[John]</em></strong></p><p>I’ve already touched on some of the language features that are particularly nice with Swift:</p><ul><li>Clearer syntax and strong type checking at compile time.</li><li>Optionality checking and (if implemented properly!) fewer crashes at runtime due to null pointer exceptions.</li><li>The support for Playgrounds — which is a dynamic way to run Swift code without having to set up an entire project. A playground executes your code after every change, and shows you the results inline. This is great for quickly testing an idea or implementing some UI control, without having to code it within a large project (which would take longer to build / test etc). Playgrounds are even available for iOS on the iPad — a great way to start learning Swift!</li></ul><h4><strong>What are the things that frustrate you when working with Swift? What possible sources of pain or frustration (if any!) should people be aware of before they start learning Swift?</strong></h4><p><strong><em>[Carmen]</em></strong></p><p>I like Swift a lot and there aren’t many things that frustrate me when working with it but I must say it is often hard to find the right tools to help with the certain tasks. Moreover, the official Apple IDE, Xcode, lags in terms of tooling and support for Swift. I’ve seen a lot of reports from developers with issues in regards to syntax highlighting, autocomplete, refactoring tools, and compilers.</p><p><strong><em>[John]</em></strong></p><p>Most of my frustrations lie with Xcode which, although is improving, still has a number of issues (some of which Carmen touched on above).</p><ul><li>Code completion and syntax highlighting will often stop working, making it very difficult to work with. (Xcode uses a background service called SourceKit which seems to be notoriously unreliable).</li><li>Xcode’s refactoring tools are very primitive compared to other IDEs and again pretty unreliable.</li><li>Playgrounds are also pretty unstable, particularly if you are running an iOS playground. Running the playground in macOS rather than iOS mode seems to work much better if you are only using core swift and none of the frameworks used by iOS.</li><li>As a beginner, it was initially quite difficult to get my head around Optionals and how to elegantly work with them. Once you learn how to use them properly though, things become much easier.</li><li>The syntax for closures (blocks of code (like a mini function) that can be passed around and treated like variables) is often a bit confusing but has got a bit easier with each version of swift. If you get stuck I highly recommend <a href="http://fuckingclosuresyntax.com/">http://fuckingclosuresyntax.com</a> — and if you want to laugh compare this with the Objective C equivalent: <a href="http://fuckingblocksyntax.com/">http://fuckingblocksyntax.com</a> to see how far we’ve come in the last few years!</li></ul><h4><strong>What dev tools do you use when working with Swift? What other tools are also popular?</strong></h4><p><strong><em>[Carmen]</em></strong></p><p>These are some of the tools I use when working with Swift:</p><ul><li><strong>XCode</strong> — this is the original IDE made by Apple, but there are alternatives. I recommend you try Xcode out first before deciding to move: there are enough plugins that you can probably customise your experience to be exactly as you want it. Some of the other IDEs are <a href="https://coderunnerapp.com/">Code Runner</a> and Swifty.</li><li><strong>Playgrounds</strong>: Swift Playgrounds is an iPad app that helps you learn and explore coding in Swift. Engaging lessons and challenges help students learn the core concepts of coding by writing real Swift and iOS code in an interactive environment designed for touch.</li></ul><p><strong><em>[John]</em></strong></p><ul><li>Thankfully Apple package up most of the dev tools you need into <a href="https://developer.apple.com/xcode/"><strong>Xcode</strong></a> — their IDE for Apple developers. This includes support for building apps for all the Apple platforms, and includes the Playground editor for interactive coding.</li><li>There is an alternative IDE called <a href="https://www.jetbrains.com/objc/">App Code</a> which offers full support for Objective C and Swift code editing, but I’ve not yet had a chance to look at it.</li><li>Other than Xcode and the terminal (I use <a href="https://www.iterm2.com/">iTerm2</a>), there aren’t many other tools I need to work with Swift! The other tools I usually have open are visual tools such as Invision, Zeplin or Sketch, holding the designs for the app I’m working on.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*BBtymPWcbgplS_8_8iwW9Q.jpeg" /><figcaption>Follow <a href="https://instagram.com/@carmencodes_">@carmencodes_</a> on Instagram where she shares her journey as a developer learning Swift!</figcaption></figure><h4><strong>Which resources would you recommend for people looking to learn Swift?</strong></h4><p><strong><em>[Carmen]</em></strong></p><ul><li>Your first point of visit should be the official <a href="https://developer.apple.com/devcenter/ios/index.action">iOS Dev Center — Apple Developer</a></li><li>Then Apple’s own <a href="https://geo.itunes.apple.com/gb/book/swift-programming-language/id881256329?at=1l3v7q8&amp;mt=11&amp;uo=6">The Swift Programming Language</a> eBook.</li><li><a href="https://teamtreehouse.com/learn-swift">Treehouse</a>: Treehouse provides one of the best iOS and OS X courses in the industry. They teach the basics, building a well laid foundation before moving on to more topics before helping you built an iOS app.</li><li><a href="https://www.udemy.com/ios-11-app-development-bootcamp/">Udemy: iOS 11 &amp; Swift 4 — The Complete iOS App Development Bootcamp</a> by Angela Yu. Angela is a very good instructor. She explains Swift core concepts, Xcode and tools quite clearly and provides relevant examples, in a humorous way most of the time.. and that is great because as a learner you understand and grasp the subject quite easily in my opinion.</li><li><a href="https://www.raywenderlich.com/ios">Ray Wenderlich — A Swift Quick Start Guide</a>: His resources provide incredible amount of useful resources for learning Swift. This is a good place to kickstart your Swift learning.</li><li><a href="https://iosdevweekly.com/">iOS Dev Weekly</a> — Weekly newsletter (probably the most popular one) about iOS development — hot news, dev tutorials, tools, design and marketing articles — everything that every iOS programmer needs.</li></ul><p><strong><em>[John]</em></strong></p><p>Carmen has given some great suggestions above. I definitely recommend starting with Apple’s own eBook <a href="https://geo.itunes.apple.com/gb/book/swift-programming-language/id881256329?at=1l3v7q8&amp;mt=11&amp;uo=6">The Swift Programming Language</a> — it’s the only real reference you need to the language itself. For general learning of Swift and iOS I would add to this:</p><ul><li>Apple’s <a href="https://www.apple.com/uk/swift/playgrounds/">Swift Playgrounds</a> app for iOS. If you have an iPad, you can start playing with Swift straight away. They have great introductions and templates that you can work through.</li><li>I <strong>highly</strong> recommend the Stanford University course <a href="https://itunes.apple.com/us/course/developing-ios-11-apps-with-swift/id1309275316">CS193P: Developing iOS 11 Apps with Swift</a>. This course is amazing and is updated every year with the latest best practices and APIs. This was the one course that really helped me transition to iOS from Java and I am still amazed that this course is available for FREE! You can watch on iOS via the iTunes U app or through the podcasts section of iTunes on the desktop.</li><li>I’ve also heard great things about <a href="https://www.devslopes.com/">DevSlopes</a> although I’ve never personally used their courses.</li></ul><h4><strong>What are the popular libraries or frameworks that people should also consider learning with Swift? What do these libraries / frameworks do?</strong></h4><p><strong><em>[Carmen]</em></strong></p><ol><li><a href="https://github.com/Alamofire/Alamofire"><strong>Alamofire</strong></a>: When you want to abstract away and simplify networking in your app, Alamofire is the way to go. Alamofire is a HTTP networking library, built on top of NSURLSession and the Foundation URL Loading System. It nicely wraps networking mechanisms in an elegant and simple Swift interface.</li><li><a href="https://github.com/SwiftyJSON/SwiftyJSON"><strong>SwiftyJSON</strong></a>: Asuper-simplified JSON parsing library that gives you clearer syntax than the built-in iOS libraries.</li><li><a href="https://github.com/SnapKit"><strong>SnapKit</strong></a>: An Auto Layout library that simplifies writing auto layout in code with a minimal amount of code needed without losing readability.</li><li><a href="https://github.com/xmartlabs/Eureka"><strong>Eureka</strong></a> : Eureka is a powerful library that allows developers to rapidly create form interfaces for user input. It consists of rows, sections and forms. If your app contains a lot of forms, Eureka proves to be a real time-saver.</li><li><a href="https://github.com/Hearst-DD/ObjectMapper"><strong>ObjectMapper</strong></a>: If you’ve ever written an app which downloads information via an API, you’ve probably spent a lot of time writing a code to map a response to your objects. ObjectMapper helps you convert a JSON response into your model object, and vice versa. In other words, it helps you map JSON to objects, and objects back to JSON. Nested objects are supported as well.</li></ol><p><strong><em>[John]</em></strong></p><p>Again some great suggestions there from Carmen! I usually try to avoid adding too many external libraries to a project as there is an overhead in managing these dependencies. Instead I highly recommend any iOS developers learn some of the key Apple technologies and frameworks that come with iOS:</p><ul><li><strong>AutoLayout</strong> — not so much a library as a set of technologies that allow you to design layouts that will adjust and adapt to different screen sizes and orientations. Understanding AutoLayout can be a challenge as there is a lot it can do, but once you understand it you can save a lot of time building UIs that work across all device types with minimal coding.</li><li><strong>Core Graphics</strong> — used for drawing custom graphics to the screen. If you are implementing custom controls for your app, you will almost certainly need to use Core Graphics. And if you are looking to add flair to your app then understanding the basics of Core Animation can also make a huge difference to your app!</li><li><strong>Core Data</strong> — a persistence framework for storing objects in a database. There are many alternatives to Core Data but understanding this framework will certainly help if you are working with other people’s code.</li></ul><p>Some of the common external libraries I’ve seen on client projects include:</p><ul><li><a href="https://github.com/jdg/MBProgressHUD"><strong>MBProgressHUD</strong></a> — offers a quick way to show an activity indicator with/without a message beneath it.</li><li><a href="https://github.com/rs/SDWebImage"><strong>SDWebImage</strong></a> — extensions to UIImage/UIImageView to support asynchronously downloading and caching images.</li><li><a href="https://realm.io/"><strong>Realm</strong></a> — a persistence framework for storing/querying/retrieving objects. Apple provides a framework called Core Data for this, but Realm’s implementation is often easier to understand, and they also provide synchronisation services to sync changes between devices.</li></ul><h4><strong>Anything else you want to say about Swift?</strong></h4><p><strong><em>[Carmen]</em></strong></p><p>The future of Swift mostly depends on the future of Apple, which so far seems very bright. Since Apple will be focused on improving Swift in the years to come, you can expect it to stay relevant for a good while.</p><p><strong><em>[John]</em></strong></p><p>Swift is a really nice language to work with, and if you have any interest in developing for Apple platforms then it is definitely the time to take a look!</p><h4><strong>Thank you so much Carmen! Where can people find you online?</strong></h4><p><strong><em>[Carmen] </em></strong>I’m on:</p><ul><li>Twitter @carmencodes_</li><li>Instagram @carmencodes_</li></ul><p><strong>Thank you so much for reading! I hope you found this article useful!</strong></p><p><strong>If you know Swift and have suggestions for other resources that beginners should know about, feel free to leave them in the comments!</strong></p><p><strong>Other languages will be coming soon!</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/320/1*XEuxlaQ7W3iKlcrM95POFg.png" /></figure><p><em>You can find me:</em></p><p>Instagram: <a href="https://instagram.com/martinsoft">@martinsoft</a></p><p>Online: <a href="https://martinsoft.net/">https://martinsoft.net</a></p><p>I also co-host <a href="https://www.instagram.com/meetupandcode/">@meetupandcode</a>, a regular meet-up in London for devs with any level of experience. <a href="https://instagram.com/meetupandcode">Join us!</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2fa2079fb513" width="1" height="1" alt=""><hr><p><a href="https://medium.com/martinsoft/learn-swift-2fa2079fb513">Learn a Language: Swift</a> was originally published in <a href="https://medium.com/martinsoft">Martinsoft</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Learn a Language: C/C++]]></title>
            <link>https://medium.com/martinsoft/learn-cplusplus-7120e4db495e?source=rss----e70a48fc12ff---4</link>
            <guid isPermaLink="false">https://medium.com/p/7120e4db495e</guid>
            <category><![CDATA[learning-to-code]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[programming-languages]]></category>
            <category><![CDATA[cplusplus]]></category>
            <category><![CDATA[coding]]></category>
            <dc:creator><![CDATA[John Martin]]></dc:creator>
            <pubDate>Mon, 27 Aug 2018 16:35:35 GMT</pubDate>
            <atom:updated>2018-08-27T16:35:21.980Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Learning to code requires a HUGE investment of time and energy. For newcomers it’s also difficult to know where to start because there are so many languages to choose from. Through </em><a href="https://instagram.com/martinsoft"><em>my Instagram account</em></a><em> I’m often asked:</em></p><blockquote>“Which programming language should I learn?”</blockquote><p><em>I wanted to be able to give a better answer than “it depends”, so with this </em><strong><em>Learn a Language</em></strong><em> series, I hope to build a resource that’ll help people decide for themselves which language they should invest their time in learning!</em></p><p><em>With help from other developers across the tech community, each article will give an overview of a popular programming language, from a developer experienced in that language. We’ll look at what each language is good at, what it’s not so good at, and the tools/resources that can help you get started.</em></p><p>In this article, <a href="https://instagram.com/hackersclub">Ryan Cornateanu</a> aka <a href="https://instagram.com/hackersclub">@hackersclub</a> gives an overview of <strong>C/C++</strong>!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*VXNWxcGH9litU4K5pr5Mxw.jpeg" /><figcaption>Ryan aka <a href="https://instagram.com/hackersclub">@hackersclub</a></figcaption></figure><h4>How long have you been working with C/C++?</h4><p>I’ve actually only been working with C for the past one and a half years. So not that long! Before doing more low level security research, I was writing most of my security tools in Ruby, and/or Python.</p><h4>What made you choose to work with C/C++?</h4><p>After my work with Amazon, I became really really obsessed with the idea of reverse engineering. So I picked up a book on x86 Assembly &amp; C, and just started writing compiler code from there. I was so fascinated by the inner workings of the kernel and how things worked from ROM to RAM to Kernel to User-Land.</p><h4>What sort of things is C/C++ well-suited for? When should someone consider using C/C++ for their project?</h4><p>C language can be used for all sorts of things! Say you want to create a driver that sends bluetooth information up to user-land using IOCTL (Input/Output Control) code, then C would be the perfect language for that!</p><p>Another one is electronics, MCU’s (Microcontroller Units) like Arduino use embedded-C for controlling hardware. Let’s say you want to make a motion sensor that triggers an API call every time someone passes by your front-door. That would require you to write C code that talks to the Arduino that then sends requests up to your network.</p><h4>If you also know other languages, how does C/C++ compare to these?</h4><p>Every language definitely does serve its purpose. I would never reinvent the wheel from what Python can do already in much easier steps. I’ll use C or C++ when its necessary for those hard to reach surfaces that Python or any other statically typed language can’t hit.</p><p>The difference is programatically, C/C++ is slow/hard to write and it is also very error-prone. Readability is paramount when working with teams, so your C code has to be very well documented. While Python is used to interface with high level performance libraries in a much more friendly way.</p><h4>Are there any types of project / task that C/C++ would not be a good choice for?</h4><p>Anything that is considered high level work that could be done using anything else haha! It’s about knowing what language to use for what scenario.</p><p>Example, I’d use assembly when I need the lowest level access to the hardware at my feet. Basically, if you need the rawest of control over your kernel or even user-land binaries. I would say almost the same thing for C/C++, you’ll spend so much of your time debugging memory and/or buffer issues than writing highly optimized code.</p><h4>What do you particularly like about coding in C/C++?</h4><p>To put it in a very short and sweet way… I really like watching code compile 😆… but yeah, for my line of work in Malware/Exploit Research &amp; Development it really comes in handy.</p><h4>What are the things that frustrate you when working with C/C++? What possible sources of pain or frustration (if any!) should people be aware of before they start learning C/C++?</h4><p>It’s annoying as sh** to debug code. User-land binaries not so much if you are compiling with a debug flag, because in that case you can jump right to the line of code that causes your issues without having to look at the assembly.</p><p>Drivers are a whole other world though… especially for Windows because deploying a driver requires a lot of steps to get it on the virtual machine in the first place, and depending on what your driver does, you need another application to interact with it while your doing a kernel debug over a COM port.</p><p>With embedded systems, its not as bad if you’re coming at it from a white-box approach. Most IDE’s these days like Keil or IAR Systems have great built in simulators for your ARM code.</p><h4>What dev tools do you use when working with C/C++? What other tools are also popular?</h4><p>I work a lot with:</p><ul><li><a href="https://www.hex-rays.com/products/ida/">IDA Pro</a></li><li><a href="https://www.hopperapp.com/">Hopper</a></li><li><a href="https://rada.re/r/">Radare2</a></li><li><a href="https://www.gnu.org/software/gdb/">GDB</a></li><li><a href="http://www.ollydbg.de/">OllyDbg</a></li><li><a href="https://docs.microsoft.com/en-us/windows-hardware/drivers/debugger/">WinDbg</a></li><li><a href="https://www.immunityinc.com/products/debugger/">Immunity Debugger</a></li></ul><p>There are so many tools out there that I could name drop, but these 7 would definitely be the most popular in my book.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dqbZM67KqSsaOMbcP2PdKA.jpeg" /><figcaption>Ryan’s <a href="https://instagram.com/hackersclub">@hackersclub</a> account is loaded with resources and tools if you want to learn more about low-level programming, hacking and debugging</figcaption></figure><h4>Which resources would you recommend for people looking to learn C/C++?</h4><p>Here are some of my favourite book titles!</p><ul><li><a href="https://www.amazon.com/Algorithms-Computer-Science-Robert-Sedgewick/dp/0201514257/ref=sr_1_14?ie=UTF8&amp;qid=1534813622&amp;sr=8-14&amp;keywords=C%2B%2B+algorithms">Algorithms in C (Computer Science Series)</a></li><li><a href="https://www.amazon.com/gp/product/1785280007/ref=oh_aui_detailpage_o02_s00?ie=UTF8&amp;psc=1">Linux Device Drivers Development: Develop customized drivers for embedded Linux</a></li><li><a href="https://www.amazon.com/Practical-Malware-Analysis-Hands-Dissecting/dp/1593272901/ref=sr_1_1?ie=UTF8&amp;qid=1534813444&amp;sr=8-1&amp;keywords=malware+analysis">Practical Malware Analysis: A Hands-On Guide to Dissecting Malicious Software</a></li><li><a href="https://www.amazon.com/Hacking-Art-Exploitation-Jon-Erickson/dp/1593271441/ref=sr_1_1?ie=UTF8&amp;qid=1534813493&amp;sr=8-1&amp;keywords=hacking+art+of+exploitation">Hacking: The Art of Exploitation, 2nd Edition</a></li><li><a href="https://www.amazon.com/Practical-Reverse-Engineering-Reversing-Obfuscation/dp/1118787315/ref=sr_1_3?ie=UTF8&amp;qid=1534813519&amp;sr=8-3&amp;keywords=reverse+engineering">Practical Reverse Engineering: x86, x64, ARM, Windows Kernel, Reversing Tools, and Obfuscation</a></li><li><a href="https://www.amazon.com/gp/slredirect/picassoRedirect.html/ref=pa_sp_atf_aps_sr_pg1_2?ie=UTF8&amp;adId=A02286181CGOTDUJ9896P&amp;url=https%3A%2F%2Fwww.amazon.com%2FLearning-Binary-Analysis-elfmaster-ONeill%2Fdp%2F1782167102%2Fref%3Dsr_1_2_sspa%3Fie%3DUTF8%26qid%3D1534813519%26sr%3D8-2-spons%26keywords%3Dreverse%2Bengineering%26psc%3D1&amp;qualifier=1534813519&amp;id=8889639545456677&amp;widgetName=sp_atf">Learning Linux Binary Analysis</a></li><li><a href="https://www.amazon.com/Windows-Internals-Part-architecture-management/dp/0735684189/ref=sr_1_1?ie=UTF8&amp;qid=1534813557&amp;sr=8-1&amp;keywords=windows+internals">Windows Internals, Part 1: System architecture, processes, threads, memory management</a></li></ul><p>Also this class is a great introduction to C++</p><ul><li><a href="https://www.udemy.com/video-course-c-from-beginner-to-expert/">C++: From Beginner to Expert | Udemy</a></li></ul><h4>Anything else you want to say about C/C++?</h4><p>I know this sounds generic but don’t give up, and I sincerely mean that. I’m not exaggerating when I say even within a year if, like, you haven’t reached intermediate levels, that is pretty normal.</p><blockquote>Compiler languages are complicated and not friendly whatsoever, so just give it time, and practice a whole lot.</blockquote><h4>Thank you so much Ryan! Where can people find you online?</h4><ul><li>You can find me on Instagram <a href="https://instagram.com/hackersclub">@hackersclub</a>!</li><li>I also have a <a href="https://www.youtube.com/channel/UCY60vroiOkluRrdy_tDd47g">YouTube channel</a> that I want to start posting more to: <a href="https://www.youtube.com/channel/UCY60vroiOkluRrdy_tDd47g">`Ringo on Rails`</a>.</li></ul><p><strong>Thank you so much for reading! I hope you found this article useful!</strong></p><p><strong>If you know C/C++ and have suggestions for other resources that beginners should know about, feel free to leave them in the comments!</strong></p><p><strong>Other languages will be coming soon!</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/320/1*XEuxlaQ7W3iKlcrM95POFg.png" /></figure><p><em>You can find me:</em></p><p>Instagram: <a href="https://instagram.com/martinsoft">@martinsoft</a></p><p>Online: <a href="https://martinsoft.net/">https://martinsoft.net</a></p><p>I also co-host <a href="https://www.instagram.com/meetupandcode/">@meetupandcode</a>, a regular meet-up in London for devs with any level of experience. <a href="https://instagram.com/meetupandcode">Join us!</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7120e4db495e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/martinsoft/learn-cplusplus-7120e4db495e">Learn a Language: C/C++</a> was originally published in <a href="https://medium.com/martinsoft">Martinsoft</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Learn a Language: C#]]></title>
            <link>https://medium.com/martinsoft/learn-csharp-42aca480a99d?source=rss----e70a48fc12ff---4</link>
            <guid isPermaLink="false">https://medium.com/p/42aca480a99d</guid>
            <category><![CDATA[learning-to-code]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[mobile-app-development]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[John Martin]]></dc:creator>
            <pubDate>Mon, 13 Aug 2018 16:05:28 GMT</pubDate>
            <atom:updated>2018-08-13T16:05:17.718Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Learning to code requires a HUGE investment of time and energy. For newcomers it’s also difficult to know where to start because there are so many languages to choose from. Through </em><a href="https://instagram.com/martinsoft"><em>my Instagram account</em></a><em> I’m often asked:</em></p><blockquote>“Which programming language should I learn?”</blockquote><p><em>I wanted to be able to give a better answer than “it depends”, so with this </em><strong><em>Learn a Language</em></strong><em> series, I hope to build a resource that’ll help people decide for themselves which language they should invest their time in learning!</em></p><p><em>With help from other developers across the tech community, each article will give an overview of a popular programming language, from a developer experienced in that language. We’ll look at what each language is good at, what it’s not so good at, and the tools/resources that can help you get started.</em></p><p>In this article, <a href="https://instagram.com/retnuh58">Charlene Hunter</a> gives an overview of <strong>C#</strong>!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*ceY6pwj2F46QHXSMHV8gzw.jpeg" /><figcaption>Charlene aka <a href="https://instagram.com/retnuh58">@retnuh58</a></figcaption></figure><h4><strong>How long have you been working with C#?</strong></h4><p>I’ve been working with C# on and off for about 7 years.</p><h4><strong>What made you choose to work with C#?</strong></h4><p>The first time I worked with it, it was the language chosen by the organisation I was working for, so I had no choice. When I’ve used it on personal projects, I’m using Xamarin and thats in C#, it’s great for cross platform apps.</p><h4><strong>What sort of things is C# well-suited for? When should someone consider using C# for their project?</strong></h4><p>C# was created by Microsoft as an alternative to Java. It’s great for back-end, server side applications that are hosted on Windows. It’s also good for web development using ASP.NET, and can also be used to build cross-platform mobile applications.</p><h4><strong>If you also know other languages, how does C# compare to these?</strong></h4><p>The other languages I know are Java and JavaScript mainly. They’re all C-based languages, so they’re all pretty similar with slight syntactical differences. Out of the three, the syntax of C# is probably my favorite, it does seem like a language that has had a lot of investment and is well thought out.</p><h4><strong>Are there any types of project / task that C# would not be a good choice for?</strong></h4><p>I would say if you’re building an application that needs to hosted in a non-Windows environment then C# is not the best choice. Since it’s a Microsoft .Net language, it requires the .Net Framework which exists mainly for Windows. When these aren’t available, it uses <a href="https://www.mono-project.com/">Mono</a> which is a framework designed to allow developers to easily create cross-platform .Net applications. This is great because it means that you can write code for any platform, including mobile, but it also means that debugging can be pretty difficult if you are not building for Windows.</p><h4><strong>What do you particularly like about coding in C#?</strong></h4><p>I really like how similar it is to Java. In my day job, I use a lot of Java, so coming home and switching over to C# is really easy, except for the basic syntactical differences.</p><h4><strong>What are the things that frustrate you when working with C#? What possible sources of pain or frustration (if any!) should people be aware of before they start learning C#?</strong></h4><p>A personal frustration, as much as I love it is how similar it is to Java, it means that when doing the switch, I tend to forget a lot of the basic syntax, probably because it’s so similar. I’ll have to Google how to do a for loop, or I’ll start writing in Java syntax and not be able to figure out what I’m doing wrong!</p><h4>What dev tools do you use when working with C#? What other tools are also popular?</h4><p>I use a Mac to do my development, and I use Visual Studio. There are quite a few IDEs that you can use for C# development. I really like using Visual Studio, but if you want to choose an alternative there’s a really good break down of alternatives here: <a href="https://stackify.com/best-csharp-tools/">https://stackify.com/best-csharp-tools/</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/831/1*w1NXFV_nAZwmV29-MzJ5Lg.jpeg" /><figcaption>As well as working as a developer, Charlene also co-hosts <a href="https://instagram.com/meetupandcode">meetupandcode</a> — it’s a lot of fun! You should join!</figcaption></figure><h4><strong>Which resources would you recommend for people looking to learn C#?</strong></h4><ul><li>The online documentation for C# is really good, the tutorials on the Microsoft website are really useful, especially for Xamarin.</li><li>There’s a lot of code you can use as examples available, and a lot of contributors to the Xamarin libraries.</li><li><a href="https://docs.microsoft.com/en-us/dotnet/csharp/getting-started/introduction-to-the-csharp-language-and-the-net-framework">This will give you a really good introduction to C#</a></li><li>And there are a bunch of <a href="https://docs.microsoft.com/en-us/dotnet/csharp/quick-starts/">Quick Start Guides</a>, starting with Hello World and moving onto collections and String manipulation.</li><li>Once you’ve got an understanding of C#, the <a href="https://docs.microsoft.com/en-us/xamarin/xamarin-forms/get-started/hello-xamarin-forms/quickstart?tabs=vswinhttps://docs.microsoft.com/en-us/xamarin/xamarin-forms/get-started/hello-xamarin-forms/quickstart?tabs=vswin">Microsoft Xamarin documentation</a> will get you building a basic cross platform mobile app using Xamarin.Forms</li></ul><h4><strong>What are the popular libraries or frameworks that people should also consider learning with C#? What do these libraries / frameworks do?</strong></h4><p>I’ve mentioned Xamarin quite a bit which is a C# framework that will let you build cross platform mobile apps.</p><p>For other frameworks that you may find useful, there is a lot of detail here <a href="https://msdn.microsoft.com/en-us/library/ms973806.aspx">https://msdn.microsoft.com/en-us/library/ms973806.aspx</a></p><h4><strong>Anything else you want to say about C#?</strong></h4><p>I really like C#, particularly lambda expressions. They enable you to write local functions that can be passed as arguments or returned as the value of function calls. They’ve been implemented really well in C# (especially compared to Java).</p><p>I also love writing <a href="https://docs.microsoft.com/en-us/dotnet/csharp/tutorials/working-with-linq">LINQ queries</a>.</p><h4><strong>Thank you so much Charlene! Where can people find you online?</strong></h4><ul><li>You can find me on Instagram <a href="https://instagram.com/retnuh58">@retnuh58</a> :)</li><li>I also host a regular meet-up: <a href="https://www.meetup.com/Coding-Black-Females/">Coding Black Females</a> in London</li><li>And I also co-host <a href="https://instagram.com/meetupandcode">Meet-Up and Code</a> which is open to anyone in / near London!</li></ul><p><strong>Thank you so much for reading! I hope you found this article useful!</strong></p><p><strong>If you know C# and have suggestions for other resources that beginners should know about, feel free to leave them in the comments!</strong></p><p><strong>Other languages will be coming soon!</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/320/1*XEuxlaQ7W3iKlcrM95POFg.png" /></figure><p><em>You can find me:</em></p><p>Instagram: <a href="https://instagram.com/martinsoft">@martinsoft</a></p><p>Online: <a href="https://martinsoft.net/">https://martinsoft.net</a></p><p>I also co-host <a href="https://www.instagram.com/meetupandcode/">@meetupandcode</a>, a regular meet-up in London for devs with any level of experience. <a href="https://instagram.com/meetupandcode">Join us!</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=42aca480a99d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/martinsoft/learn-csharp-42aca480a99d">Learn a Language: C#</a> was originally published in <a href="https://medium.com/martinsoft">Martinsoft</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Learn a Language: Python]]></title>
            <link>https://medium.com/martinsoft/learn-python-566a91d311f2?source=rss----e70a48fc12ff---4</link>
            <guid isPermaLink="false">https://medium.com/p/566a91d311f2</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[python-programming]]></category>
            <category><![CDATA[learning-to-code]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[John Martin]]></dc:creator>
            <pubDate>Mon, 30 Jul 2018 16:15:33 GMT</pubDate>
            <atom:updated>2018-08-01T13:18:03.028Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Learning to code requires a HUGE investment of time and energy. For newcomers it’s also difficult to know where to start because there are so many languages to choose from. Through </em><a href="https://instagram.com/martinsoft"><em>my Instagram account</em></a><em> I’m often asked:</em></p><blockquote>“Which programming language should I learn?”</blockquote><p><em>I wanted to be able to give a better answer than “it depends”, so with this </em><strong><em>Learn a Language</em></strong><em> series, I hope to build a resource that’ll help people decide for themselves which language they should invest their time in learning!</em></p><p><em>With help from other developers across the tech community, each article will give an overview of a popular programming language, from a developer experienced in that language. We’ll look at what each language is good at, what it’s not so good at, and the tools/resources that can help you get started.</em></p><p>In this article, Camille aka <a href="https://instagram.com/thedataenthusiast">@thedataenthusiast</a> gives an introduction to <strong>Python</strong>!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/320/1*Lbc7Jpiy1DRHvBwrHkh2jw.jpeg" /><figcaption>Camille aka <a href="https://instagram.com/thedataenthusiast">@thedataenthusiast</a></figcaption></figure><h4><strong>How long have you been working with Python?</strong></h4><p>2 years</p><h4><strong>What made you choose to work with Python?</strong></h4><p>I attended the ODSC (Open Data Science Conference) event back in 2016. Data science was just a buzzword back then and most people were working on Python (or R and SAS). Python had plenty of resources online that helped me learn.</p><h4><strong>What sort of things is Python well-suited for? When should someone consider using Python for their project?</strong></h4><p>Python is a a general-purpose language and can be used for all sorts of different tasks, from simple scripts to full-blown applications.</p><p>Over recent years, Python has become a very popular choice for data science and data processing — many companies that were already using Python for general tasks chose to invest in building libraries for Python to handle their data-processing too. There’s now a large number of libraries and tools, and a huge community, that make Python a prevalent choice throughout the field of data science.</p><p>There are also frameworks such as Django, Flask and Pyramid that can be used to build web applications in Python, however as a data scientist that’s not in my area of expertise.</p><h4><strong>If you also know other languages, how does Python compare to these?</strong></h4><p>I used SAS, MATLAB etc in the past — these are languages designed for specific purposes (data handling, mathematical programming). Python, on the other hand, is an open source OOP <em>(Object-Oriented Programming)</em> language which can be used for any type of programming task. It’s also very easy to read, which makes it more accessible to everyone.</p><h4><strong>Are there any types of project / task that Python would not be a good choice for?</strong></h4><p>Python is a general-purpose language that can be used for almost anything. It tends to be less used for building GUI applications (like desktop apps or mobile apps), although this can be done!</p><h4><strong>What do you particularly like about coding in Python?</strong></h4><blockquote>It has fantastic documentation, it’s easy to use, and there are plenty of tutorials to help you get started.</blockquote><h4>What are the things that frustrate you when working with Python? What possible sources of pain or frustration (if any!) should people be aware of before they start learning Python?</h4><p>If you’re using Python 3.6, make sure that you set your PYTHONPATH right!</p><h4><strong>What dev tools do you use when working with Python? What other tools are also popular?</strong></h4><p>For my personal projects I use:</p><ul><li><a href="https://www.sublimetext.com/3">Sublime Text 3</a> (text editor)</li><li><a href="https://www.iterm2.com/">iTerm2</a> (macOS terminal)</li><li><a href="http://bitbucket.org/">Bitbucket</a>: for version control, storing git repositories</li><li><a href="https://www.sourcetreeapp.com/">Source Tree</a>: a desktop app for working with git</li><li><a href="https://www.python.org/dev/peps/pep-0008/?">PEP8 style guide</a>: this is a set of coding conventions for Python programming.</li></ul><p>At work I use:</p><ul><li><a href="https://www.spyder-ide.org/">Spyder</a> — an IDE for scientific programming in Python</li><li><a href="http://jupyter.org/">Jupyter noteboo</a>k: a tool for creating documents that contain code, equations and visualisations, as well as text.</li><li><a href="https://www.jetbrains.com/pycharm/">PyCharm</a>: another IDE for Python development. (I use it because it works with the PEP8 style guide, and also has great version control UI built-in)</li><li><a href="https://bitbucket.org/">Bitbucket</a>: for version control.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*i4bZAEMtRrKBzxrM4UulZQ.jpeg" /><figcaption>Camille shares lots of insights into the life of a data scientist on <a href="https://instagram.com/thedataenthusiast">Instagram</a>! Go follow her!</figcaption></figure><h4><strong>Which resources would you recommend for people looking to learn Python?</strong></h4><ul><li>The course “Learn Python” on <a href="https://www.codecademy.com/learn/learn-python">codeacademy</a></li><li>Google’s Python Class: <a href="https://developers.google.com/edu/python/">https://developers.google.com/edu/python/</a></li><li>“Learning Python” — Book from O’Reilly</li><li><a href="https://automatetheboringstuff.com/">Automate the Boring Stuff with Python</a></li><li><a href="https://www.learnpython.org/">https://www.learnpython.org/</a></li><li><a href="http://udemy.com/">Udemy</a> also has lots of courses for anyone looking to learn Python</li></ul><h4><strong>What are the popular libraries or frameworks that people should also consider learning with Python? What do these libraries / frameworks do?</strong></h4><p>For data science / data analysis:</p><ul><li><a href="https://pandas.pydata.org/">Pandas</a> — data structures and data analysis tools</li><li><a href="http://www.numpy.org/">NumPy</a></li><li><a href="https://matplotlib.org/">matplotlib</a>: a library for generating 2D plots from data</li><li><a href="https://seaborn.pydata.org/">seaborn</a>: another data visualisation library, which is based on matplotlib</li><li><a href="https://www.scipy.org/">SciPy</a>: a collection of packages for data science</li><li><a href="http://nose.readthedocs.io/en/latest/">nose</a>: a unit testing framework which extends unittest (Python’s built-in testing framework)</li><li><a href="http://scikit-learn.org/stable/">scikit-learn</a>: a library for machine learning, data mining and data analysis</li></ul><p>For web development:</p><ul><li><a href="https://www.djangoproject.com/">Django</a> — probably the most popular framework for building web apps with Python. It has a lot of features, a huge community and loads of plugins that can be used to build applications quickly.</li><li><a href="http://flask.pocoo.org/">Flask</a> — a lightweight framework for building web server apps</li><li><a href="https://trypyramid.com/">Pyramid</a> — another framework similar to Flask but allows you to scale as your app grows.</li></ul><p>I also like to play around with data using:</p><ul><li><a href="https://bokeh.pydata.org/en/latest/">Bokeh</a>: an interactive tool for visualising data</li><li><a href="https://www.elastic.co/products/elasticsearch">Elasticsearch</a>: a search and analytics engine</li></ul><h4><strong>Anything else you want to say about Python?</strong></h4><blockquote>Python is an easy-to-learn language that can be used for all sorts of different things. For data science it is a great choice because there are so many tools and libraries available.</blockquote><blockquote>Always remember to be patient and try not to get annoyed if your code doesn’t work — keep going!</blockquote><h4><strong>Thank you so much Camille! Where can people find you online?</strong></h4><ul><li>Instagram: <a href="https://instagram.com/thedataenthusiast">@thedataenthusiast</a></li><li>Twitter: <a href="http://twitter.com/camilledreyes">@camilledreyes</a></li><li>LinkedIn: <a href="https://uk.linkedin.com/in/camille-reyes">https://uk.linkedin.com/in/camille-reyes</a></li></ul><p><strong>Thank you so much for reading! I hope you found this article useful!</strong></p><p><strong>If you know Python and have suggestions for other resources that beginners should know about, feel free to leave them in the comments!</strong></p><p><strong>Other languages will be coming soon!</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/320/1*y0PjQ4M8P-LX2FXUUQ_Rkg.jpeg" /></figure><p><em>You can find me:</em></p><p>Instagram: <a href="https://instagram.com/martinsoft">@martinsoft</a></p><p>Online: <a href="https://martinsoft.net/">https://martinsoft.net</a></p><p>I also co-host <a href="https://www.instagram.com/meetupandcode/">@meetupandcode</a>, a regular meet-up in London for devs with any level of experience. <a href="https://instagram.com/meetupandcode">Join us!</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=566a91d311f2" width="1" height="1" alt=""><hr><p><a href="https://medium.com/martinsoft/learn-python-566a91d311f2">Learn a Language: Python</a> was originally published in <a href="https://medium.com/martinsoft">Martinsoft</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[WTF?! Tech terms explained]]></title>
            <link>https://medium.com/martinsoft/wtf-tech-terms-explained-59bc0d92f43c?source=rss----e70a48fc12ff---4</link>
            <guid isPermaLink="false">https://medium.com/p/59bc0d92f43c</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[learning-to-code]]></category>
            <category><![CDATA[tech]]></category>
            <dc:creator><![CDATA[John Martin]]></dc:creator>
            <pubDate>Wed, 18 Jul 2018 12:11:00 GMT</pubDate>
            <atom:updated>2018-07-18T12:10:42.392Z</atom:updated>
            <content:encoded><![CDATA[<p>WTF = “Without The Fluff”, obviously! 🤪</p><p>If you missed it on <a href="https://instagram.com/martinsoft">Instagram</a>, I recently started a collab series with <a href="https://medium.com/u/3a267faccdbe">Al Falk</a> aka <a href="https://instagram.com/falkyou">@falkyou</a>. In the series we are exploring common tech terms and trying to explain what they mean in down-to-earth, actually understandable language.</p><p>I want to use this post just to link to each of the articles that we’ve put together. Check back on this post as I will add to it when new posts come out!</p><p>If you find them useful, feel free to let us know in the comments or on our Instagram accounts: <a href="https://instagram.com/falkyou">@falkyou</a> and <a href="http://instagram.com/martinsoft">@martinsoft</a>.</p><p>Enjoy!</p><ul><li><a href="https://medium.com/@aisifalk/wtf-is-an-api-8027b6f77675">WTF is an API?</a></li><li><a href="https://blog.usejournal.com/without-the-fluff-version-control-5e7bb0e45993">WTF: Version Control</a></li></ul><p><em>More coming soon! </em>😬</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=59bc0d92f43c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/martinsoft/wtf-tech-terms-explained-59bc0d92f43c">WTF?! Tech terms explained</a> was originally published in <a href="https://medium.com/martinsoft">Martinsoft</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Learn a Language: Ruby]]></title>
            <link>https://medium.com/martinsoft/learn-ruby-8588292ec3da?source=rss----e70a48fc12ff---4</link>
            <guid isPermaLink="false">https://medium.com/p/8588292ec3da</guid>
            <category><![CDATA[ruby]]></category>
            <category><![CDATA[ruby-on-rails]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[learning-to-code]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[John Martin]]></dc:creator>
            <pubDate>Mon, 16 Jul 2018 16:03:02 GMT</pubDate>
            <atom:updated>2018-07-16T16:03:01.582Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Learning to code requires a HUGE investment of time and energy. For newcomers it’s also difficult to know where to start because there are so many languages to choose from. Through </em><a href="https://instagram.com/martinsoft"><em>my Instagram account</em></a><em> I’m often asked:</em></p><blockquote>“Which programming language should I learn?”</blockquote><p><em>I wanted to be able to give a better answer than “it depends”, so with this </em><strong><em>Learn a Language</em></strong><em> series, I hope to build a resource that’ll help people decide for themselves which language they should invest their time in learning!</em></p><p><em>With help from other developers across the tech community, each article will give an overview of a popular programming language, from a developer experienced in that language. We’ll look at what each language is good at, what it’s not so good at, and the tools/resources that can help you get started.</em></p><p>In this article, <a href="https://www.instagram.com/GlenCodes/">Glen Codes</a> gives an overview of <strong>Ruby</strong>!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/320/1*qGuEm9RZPXVF14gMPTDC2Q.png" /><figcaption>GlenCodes</figcaption></figure><h4><strong>How long have you been working with Ruby?</strong></h4><p>About 5 years roughly.</p><h4><strong>What made you choose to work with Ruby?</strong></h4><p>Funny story I actually attended my very first developers meetup ages ago and this guy was doing a talk on APIs and a lot of developers were keenly listening in on his talk because he seemed to know a lot. A lot of other developers looked up to him and as silly as it might sound I was like “Hey I wanna be like that guy, what language does he use?”</p><p>At the time I only knew PHP and I soon learned he was primarily a Ruby developer so I figured it would be a great time to start learning a second language. Soon as I realised how succinct and powerful it was and how much you could achieve with so much less lines of code I was hooked.</p><p>I also wanted to learn it because I heard great things about the Ruby framework Ruby on Rails and I’ve been an avid fan ever since.</p><h4><strong>What sort of things is Ruby well-suited for? When should someone consider using Ruby for their project?</strong></h4><ul><li>Ruby was created by Yukihiro Matsumoto, who basically intended the language to help make programmers productive, happy and to enjoy programming and I believe he has achieved this beautifully.</li><li>You can generally write much less lines of code to achieve the same task compared to other languages.</li><li>Good if you need something that can scale easily.</li><li>Excellent if you need to prototype something fast.</li><li>If you are looking for flexibility.</li></ul><h4><strong>If you also know other languages, how does Ruby compare to these?</strong></h4><p>I first learned PHP and while this language was great back in its heyday (90s) it’s still easy to unintentionally write spaghetti code with it.</p><p>Ruby was made for simplicity so it’s less prone to that. I find Ruby way more streamlined.</p><h4><strong>Are there any types of project / task that Ruby would not be a good choice for?</strong></h4><p>Because Ruby is considered a dynamically typed language, technically it is a smidge slower than some other languages.</p><h4><strong>What do you particularly like about coding in Ruby?</strong></h4><p>There is a very popular and beautiful framework built with Ruby called Ruby on Rails. Great documentation, easy to use, heaps of resources and support online.</p><h4><strong>What are the things that frustrate you when working with Ruby? What possible sources of pain or frustration (if any!) should people be aware of before they start learning Ruby?</strong></h4><p>Ruby like most languages is good (and also not so good) in describing the errors it throws. It can be cryptic if you are not clued in on what the possible source of the problem is. It won’t know how to explain in exact English where the problem is so you really need to know the nature of the error, e.g. “What do you mean when you say there’s a <em>NoMethodError</em>”.</p><h4>What dev tools do you use when working with Ruby? What other tools are also popular?</h4><ul><li><a href="https://code.visualstudio.com/">VSCode</a> and there’s a plugin just called “Ruby”, I also use another plugin for when I’m working with Ruby on Rails which is just called “Ruby on Rails”.</li><li><a href="https://sequelpro.com/">Sequel Pro</a> for visualization of the database for any project I’m working on.</li><li>Git version control is used a lot in my projects, it’s a must and a time saver if your project goes pear shaped.</li><li>There are open source libraries called <em>Gems</em>. <a href="http://rubygems.org/">rubygems.org</a> is a great place for those, I recommend a gem called Pry to get you started, theres also <a href="http://ruby-toolbox.com/">ruby-toolbox.com</a>.</li><li><a href="https://bundler.io/">Bundler</a> which is a command-line based library (gem) to help with installation and updating.</li><li>A lot of work also involves the terminal, <a href="https://www.iterm2.com/">iTerm</a> is pretty handy which I use on my Mac from time to time.</li><li>Ruby has its own built-in interactive console called IRB, I use that quite a bit too, helpful for problem solving.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*Npt2xy5I5oDx17qWiwF21w.jpeg" /><figcaption>Glen posts super-motivational content on <a href="https://instagram.com/glencodes">Instagram</a>! Go follow him!</figcaption></figure><h4><strong>Which resources would you recommend for people looking to learn Ruby?</strong></h4><ul><li>My number one go to is <a href="http://www.tryruby.org/">www.tryruby.org</a> — it’s free to use, free to sign up and save your progress, and has an interactive coding component so you learn by doing. It’s very thorough to get you started.</li><li><a href="https://learnrubythehardway.org/book/">“Learn Ruby the Hard Way”</a> (don’t let the title scare you, it’s actually really good, and while you can buy a copy, it’s free to view online).</li><li>Ruby’s official documentation site as a <a href="https://www.ruby-lang.org/en/documentation/quickstart/">quick start guide</a> you can check out.</li><li>Derek has a pretty thorough Ruby tutorial and links to all the code he uses underneath his <a href="https://www.youtube.com/watch?v=Dji9ALCgfpM">YouTube tute</a>.</li><li>Udemy have some great courses on Ruby. I recommend <a href="https://www.udemy.com/comprehensive-ruby-programming-tutorial/">“Comprehensive Ruby Programming” by Jordan Hudgens</a>.</li><li><a href="http://www.teamtreehouse.com/">Treehouse</a> have some great courses on Ruby too.</li></ul><p>If you want to learn the framework Ruby on Rails once you have learnt Ruby</p><ul><li>Their main site has a good <a href="http://guides.rubyonrails.org/getting_started.html">Getting Started Guide</a></li><li><a href="https://www.youtube.com/channel/UCgbzly83EZoSVjBIf9sNw5A">Ruby Thursday</a></li><li><a href="http://www.gorails.com/">Go Rails</a> (he’s also on YouTube)</li><li><a href="http://www.driftingruby.com/">Drifting Ruby</a> (also on YouTube)</li><li><a href="http://www.teamtreehouse.com/">Treehouse</a> have some pretty good courses on Ruby on Rails.</li></ul><h4><strong>What are the popular libraries or frameworks that people should also consider learning with Ruby, and what do they do?</strong></h4><ul><li><em>Ruby on Rails</em> is probably <strong>THE</strong> most popular framework out there.</li><li>It was built by David Heinemeier Hansson and his team at <a href="https://basecamp.com/">Basecamp</a> and they later made it open source in July 2004.</li><li><strong>All kinds of sites have been built with it</strong>: blogs, shopping carts, CMS, you name it, it’s pretty much been done.</li><li>It’s a server-side framework that uses <em>MVC</em> (model, view, controller). It enables you to set up a website pretty fast, uses RESTful routes and has excellent default schemas for any database you are using. Want to code it using SQLite? Or MySQL? Or Postgres or MongoDB, you can!</li><li>It has plenty of command-line tools to help you get started, including some scaffold commands (which do most of the building for you, handy if you want to reverse engineer how it works), generators and of course plenty of gem libraries by a huge community of developers.</li><li>It has its own built-in localhost server you can fire up to test your web application.</li><li>You can even use the Ruby on Rails framework to build just an API rather than a full blown website if you really want.</li><li>It also has a very robust set of testing tools, or you can use third party libraries like <a href="http://rspec.info/">Rspec</a>, <a href="https://github.com/thoughtbot/factory_bot">FactoryBot</a>, <a href="https://github.com/teamcapybara/capybara">Capybara</a>.</li></ul><p>Popular gems (libraries) that I use in my Rails apps include:</p><ul><li>Devise (log in/sign up system)</li><li>Better errors (does exactly that, more readable error screens)</li><li>Pry-byebug (great debugging tool to allow you to implement step-by-step code troubleshooting by setting breakpoints in your code)</li><li>Omni auth (login library/gem)</li></ul><h4><strong>Anything else you want to say about Ruby?</strong></h4><blockquote>Ruby is a beautiful, simple language. A good choice for those new to programing. There’s a huge community for it online, plenty of good solid documentation and oodles of stackoverflow coverage on the topic.</blockquote><h4><strong>Thank you so much Glen! Where can people find you online?</strong></h4><ul><li>Instagram: <a href="https://instagram.com/GlenCodes">@GlenCodes</a></li><li>Twitter: <a href="https://twitter.com/GlenCodes">@GlenCodes</a></li><li>Facebook: <a href="https://www.facebook.com/glencodes">https://www.facebook.com/glencodes</a></li></ul><p>My blog will be up soon so please bookmark me at <a href="http://www.glencodes.com/">glencodes.com</a> and check back soon!</p><p><strong>Thank you so much for reading! I hope you found this article useful!</strong></p><p><strong>If you know Ruby and have suggestions for other resources that beginners should know about, feel free to leave them in the comments!</strong></p><p><strong>Other languages will be coming soon!</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/320/1*XEuxlaQ7W3iKlcrM95POFg.png" /></figure><p><em>You can find me:</em></p><p>Instagram: <a href="https://instagram.com/martinsoft">@martinsoft</a></p><p>Online: <a href="https://martinsoft.net/">https://martinsoft.net</a></p><p>I also co-host <a href="https://www.instagram.com/meetupandcode/">@meetupandcode</a>, a regular meet-up in London for devs with any level of experience. <a href="https://instagram.com/meetupandcode">Join us!</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8588292ec3da" width="1" height="1" alt=""><hr><p><a href="https://medium.com/martinsoft/learn-ruby-8588292ec3da">Learn a Language: Ruby</a> was originally published in <a href="https://medium.com/martinsoft">Martinsoft</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>