Five languages for WordPress Developers to learn in 2020
Tags: programming, wordpress, php, javascript
Published: 2020-02-28 14:08:26

---
title: Five languages for WordPress Developers to learn in 2020
published: true
date: 2020-02-28 14:08:00 UTC
tags: Programming,WordPress,PHP,JavaScript
canonical_url: https://timnash.co.uk/five-languages-for-wordpress-developers-to-learn-in-2020/
---

This post was originally posted on [TimNash.co.uk](https://timnash.co.uk) on 16th Jan 2020. Hi, I'm Tim, tend to talk about WordPress and Security on my site, I hope you enjoy this repost.
 
Folks often ask me questions, and recently there has been a little bit of interest in the fact that while I work in the WordPress space I’m not a traditional “WordPress Developer” and I don’t tend to work day to day with WordPress.

For those who don’t know me, my day to day programming is that of a backend and security engineer supporting WordPress developers and site owners. I work on infrastructure projects so I’m as likely to be playing with Linux kernels as WordPress code. This means I need a broad range of language familiarity and extensive knowledge of how to use Google.

However, if you are a WordPress Developer and you are looking for more backend languages to maybe play with then I present to you my choice of 5 languages you might consider focusing on in 2020.

Even if you have no real interest in other languages or learning a new language they have projects that are interesting and it’s worth at least understanding what some of the pros and cons of languages are.

* * *
<svg width="150" viewbox="0 0 256 134" xmlns="http://www.w3.org/2000/svg" preserveaspectratio="xMinYMin meet"><g fill-rule="evenodd"><ellipse fill="#8993BE" cx="128" cy="66.63" rx="128" ry="66.63"></ellipse><path d="M35.945 106.082l14.028-71.014H82.41c14.027.877 21.041 7.89 21.041 20.165 0 21.041-16.657 33.315-31.562 32.438H56.11l-3.507 18.411H35.945zm23.671-31.561L64 48.219h11.397c6.137 0 10.52 2.63 10.52 7.89-.876 14.905-7.89 17.535-15.78 18.412h-10.52zM100.192 87.671l14.027-71.013h16.658l-3.507 18.41h15.78c14.028.877 19.288 7.89 17.535 16.658l-6.137 35.945h-17.534l6.137-32.438c.876-4.384.876-7.014-5.26-7.014H124.74l-7.89 39.452h-16.658zM153.425 106.082l14.027-71.014h32.438c14.028.877 21.042 7.89 21.042 20.165 0 21.041-16.658 33.315-31.562 32.438h-15.781l-3.507 18.411h-16.657zm23.67-31.561l4.384-26.302h11.398c6.137 0 10.52 2.63 10.52 7.89-.876 14.905-7.89 17.535-15.78 18.412h-10.521z" fill="#232531"></path></g></svg>
## Deep dive into PHP 7 

![](https://cdn.timnash.co.uk/wp-content/uploads/2020/01/undraw_laravel_and_vue_59tp-300x268.png)

Might seem an odd choice as someone thinking of themselves as a WordPress Developer probably knows PHP and its true. However with WordPress backwards compatibility has meant a great deal of stability that has made it the choice of 33% of the web it has also meant it’s codebase has stayed largely the same over the last few years. PHP has not, a once derided language is probably one of the most mature, community-orientated languages its development and growth along with careful (though some might disagree) cherry-picking features of other languages means the modern PHP developer has access to a language capable of a lot.  It also provides an excellent gateway language for other languages in part because it is something of a hybrid language with features and broad concepts from other languages.

**Pros**

- One of the best package managers in the form of Composer
- Ubiquitous, getting up and running with PHP7.4 is easy and quick
- As a WordPress developer you know PHP it’s about taking advantage of it’s features 

**Cons**

- Slower than many other languages, though massive improvements in PHP7+
- Tutorials often written for older versions
- Ubiquitous means much more variable packages

#### How do I use PHP?

Well outside of WordPress I primarily use the framework Laravel and it’s smaller Lumen framework to build API interfaces. While I don’t make extensive work with Laravel I have used it to build Chatbots for Facebook and Slack. 

In addition I use CodeCeption as my Integration and acceptance test suite, often even if I’m using other languages. 

I still reach for PHP if I’m interacting with the web or WordPress, this is made easier by WP-CLI.

#### Good Projects to follow

Outside of WordPress, [PHP the right way](https://phptherightway.com/) is still considered one of the best resources out there to get going.   
  
For frameworks, I would recommend looking at Laravel and if you are getting started with [Laravel](https://laravel.com/) the excellent [Laracasts](https://laracasts.com/) is a great resource. Actually it’s a great resource for Javascript, React, Vue and dozens of other things too.  
  
Getting into testing, for WordPress, PHP or any setup where you want acceptance testing, then check out [CodeCeption](https://codeception.com/).  
  
And for some cool things, you might not think of PHP for such as [ReactPHP](https://reactphp.org/) for event-driven programming or [Bref](https://bref.sh/) to run PHP on AWS Lambdas.

There are so many good projects, tools and libraries take a look through [Awesome PHP](https://github.com/ziadoz/awesome-php) I suspect you will be surprised just what you can do.

#### Best way for WordPress Developer to get started.

Carry on with your day to day jobs, but maybe start to look at Composer if you haven’t already this will lead you into a lot more modern side of PHP from their maybe consider Laravel my friend Ross has a free[WordPress to Laravel course](https://wptolaravel.com/).

<svg width="150" height="150" viewbox="0 0 256 256" xmlns="http://www.w3.org/2000/svg" preserveaspectratio="xMinYMin meet"><path d="M0 0h256v256H0V0z" fill="#F7DF1E"></path><path d="M67.312 213.932l19.59-11.856c3.78 6.701 7.218 12.371 15.465 12.371 7.905 0 12.89-3.092 12.89-15.12v-81.798h24.057v82.138c0 24.917-14.606 36.259-35.916 36.259-19.245 0-30.416-9.967-36.087-21.996M152.381 211.354l19.588-11.341c5.157 8.421 11.859 14.607 23.715 14.607 9.969 0 16.325-4.984 16.325-11.858 0-8.248-6.53-11.17-17.528-15.98l-6.013-2.58c-17.357-7.387-28.87-16.667-28.87-36.257 0-18.044 13.747-31.792 35.228-31.792 15.294 0 26.292 5.328 34.196 19.247L210.29 147.43c-4.125-7.389-8.591-10.31-15.465-10.31-7.046 0-11.514 4.468-11.514 10.31 0 7.217 4.468 10.14 14.778 14.608l6.014 2.577c20.45 8.765 31.963 17.7 31.963 37.804 0 21.654-17.012 33.51-39.867 33.51-22.339 0-36.774-10.654-43.819-24.574"></path></svg>
## Javascript and NodeJS

Again another but this is a language we already know Tim, and for many WordPress Developers you probably know more Javascript then I do especially if you do front end development. Javascript has come on a long way from making things appear and disappear in a browser. If your experience with Javascript is JQuery then you are in for a shock. As a backend developer, Javascript has become a backend language through NodeJS and while we can argue all day as to should it have it exists. Because NodeJS crosses the lines between frontend and backend through package managers like NPM it has built a very isolationist eco-system. If you are going to build and supporting frontend developers or building real-time services then Javascript is important to learn and understand as well as its eco-system. Also, Javascript or rather Ecmascript (complex eco-system remember) turns up in very unexpected places, for example, you can use Nginxscript inside Nginx config files.

Javascript also provides a good starting opportunity for desktop applications in the form Electron. Which powers tools like Atom, Slack and many other desktop applications.

**Pros**

- Large eco-system
- Existing Familiarity
- Built in out of the box support for things like Async

**Cons**

- Package management is a mess, meet NPM and cry
- Packages even more variable then PHP developers
- Javascript is a frontend language being shoehorned into doing something else 

#### How do I use Javascript

I will be honest I’m not the greatest Javascript fan and while I maintain NodeJS instances it’s mainly to be able to use web projects that rely on webpack, grunt or another builder that could have been make. 

However I have recently gotten into working with Electron to build Desktop Applications and started building more web interfaces using React, which also works well with Electron. 

I also started to use Nginxscript where Lua is not available within Nginx for example when not using OpenResty. 

#### Good Projects to follow

![](https://cdn.timnash.co.uk/wp-content/uploads/2020/01/undraw_react_y7wq-300x198.png)

Coming from WordPress a bunch of Libraries are in use within WordPress but the new and interesting one probably is [React](https://reactjs.org/) if you are put of by Facebook there is also [Preact](https://preactjs.com/) which is a lightweight alternative. For mobile development, there is also [React Native](https://facebook.github.io/react-native/) project.  
  
Normally when discussing React, [Vue.js](https://vuejs.org/) is referenced as a great alternative and is especially popular amongst the Laravel community. For a totally different style of Framework consider looking at [Svelte](https://svelte.dev/).  
  
Not touched on in the above description of Javascript but [Typescript](https://www.typescriptlang.org/) compiled to Javascript but bring typed support as well as some extras. If you working with Typescript and looking for a build tool then check out [Fusebox](https://fuse-box.org/).  
  
Finally going for Desktop Apps then the defacto project is [Electron](https://electronjs.org/) alternatives do exist within the Javscript eco-system to a certain extent React Native but also things like [NW.JS](https://nwjs.io/).  
  
There are so many good projects, tools and libraries take a look through [Awesome Javascript](https://github.com/sorrycc/awesome-javascript) & [Awesome NodeJS](https://github.com/sindresorhus/awesome-nodejs) I suspect you will be surprised just what you can do.

#### Getting started for WordPress Developers.

Again keep doing what you are doing, but Gutenberg block development will lead you down some interesting paths and probably will take you into React in the end. While it is possible to write vanilla javascript blocks the reality is so much of the tooling is for React. Joining and getting involved in front end development tasks will paradoxically provide the quickest route into backend Javascript as so much of frontend development relies on NodeJS for build steps. 

<svg width="150" height="149" viewbox="0 0 256 255" xmlns="http://www.w3.org/2000/svg" preserveaspectratio="xMinYMin meet"><defs><lineargradient x1="12.959%" y1="12.039%" x2="79.639%" y2="78.201%" id="a"><stop stop-color="#387EB8" offset="0%"></stop><stop stop-color="#366994" offset="100%"></stop></lineargradient><lineargradient x1="19.128%" y1="20.579%" x2="90.742%" y2="88.429%" id="b"><stop stop-color="#FFE052" offset="0%"></stop><stop stop-color="#FFC331" offset="100%"></stop></lineargradient></defs><path d="M126.916.072c-64.832 0-60.784 28.115-60.784 28.115l.072 29.128h61.868v8.745H41.631S.145 61.355.145 126.77c0 65.417 36.21 63.097 36.21 63.097h21.61v-30.356s-1.165-36.21 35.632-36.21h61.362s34.475.557 34.475-33.319V33.97S194.67.072 126.916.072zM92.802 19.66a11.12 11.12 0 0 1 11.13 11.13 11.12 11.12 0 0 1-11.13 11.13 11.12 11.12 0 0 1-11.13-11.13 11.12 11.12 0 0 1 11.13-11.13z" fill="url(#a)"></path><path d="M128.757 254.126c64.832 0 60.784-28.115 60.784-28.115l-.072-29.127H127.6v-8.745h86.441s41.486 4.705 41.486-60.712c0-65.416-36.21-63.096-36.21-63.096h-21.61v30.355s1.165 36.21-35.632 36.21h-61.362s-34.475-.557-34.475 33.32v56.013s-5.235 33.897 62.518 33.897zm34.114-19.586a11.12 11.12 0 0 1-11.13-11.13 11.12 11.12 0 0 1 11.13-11.131 11.12 11.12 0 0 1 11.13 11.13 11.12 11.12 0 0 1-11.13 11.13z" fill="url(#b)"></path></svg>
## Python a glue language for all your needs

If your only real experience with development in PHP/JS, Python is going to drive you mad… initially. However, once you get over it’s weird (to you) syntax and you stop putting semicolons everywhere you will realise Python is actually pretty quick to pick up. Indeed if I was asked for a language that someone new to computer programming should learn Python would be my language of choice. Python standard library is both good and standard, writing programs in Python rely on far fewer lines of code then comparable to other languages and hopefully without the need to rely on too many external libraries. If you are a WordPress developer reaching for a language for the web reach for PHP, not Python, PHP7 is going to be faster. 

So why is Python on this list? Well once you step back from the web having a general-purpose language that allows you to develop small applications with rapid development is going to be on your list and while it’s possible to build similar applications in PHP to what you can do in Python you will find that Python development will be quicker and have more library support for non-web based tasks. If you start getting interests in things like Machine Learning then Python is the default tool for many. 

**Pros**

- Deep system integrations and large standard library.
- Simple to learn and clean code
- Defacto choice in many industries
- Lot’s of applications you have heard of and use depend on Python for example Fail2ban is written in Python.

**Cons**

- Slow
- Un-training your brain to put semicolons everywhere is not as easy as you think, and whitespace suddenly becomes important.
- Eco system is fragmented between versions and compatibility between versions is complex.

#### How I use Python?

At 34SP.com most of our codebase is Python so a lot of my day to day work is working with Python. Outside of work I use Python for most of my basic scripting needs, replacing a lot of the bash/PHP scripts of old. It is now the tool I start with not end up with for such scripts.

In addition, I have been working on some machine learning projects that heavily rely on Python and my houses home automation is managed via Home Assistant which is based on Python.

#### Good Projects to follow

A good starting points for diving into Python and what it can do is [PyVideo](https://pyvideo.org/) a sort of WordPress.tv for Python and [Python Programming](https://pythonprogramming.net/) community portal.

<iframe title="How to use Python to expose politicians" width="1200" height="675" src="https://www.youtube.com/embed/f4cut1DSItY?feature=oembed" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

<figcaption>How to use Python to expose Politicians from PyCon UK 2019</figcaption>

For web development, almost the defacto choice in Python is [Django](https://www.djangoproject.com/) a web framework similar to PHP frameworks like CakePHP.   
  
If you have an interest in home automation, check out Home Assistant (which I use at home) and for game development Python has quite a few libraries including [RenPy](https://www.renpy.org/) for a sort of choose your own adventure style games and [Pygame](https://www.pygame.org/news) for more general game programming.   
  
For Machine Learning possibly the biggest name you might have heard of is [Tensorflow](https://www.tensorflow.org/) or [Pytorch](https://pytorch.org/) but Python is used extensively and in emerging fields for good or ill including [DeepFakes](https://www.alanzucconi.com/2018/03/14/introduction-to-deepfakes/).  
  
There are so many tools, libraries and frameworks for Python that I suggest just diving through the [Awesome Python](https://github.com/vinta/awesome-python) list to get a feel.

#### Getting started for WordPress Developers

Unlike Javascript and PHP there isn’t an obvious path to Python in your normal day to day jobs, probably the most likely place to encounter python is a side project (such as home automation) or a supporting project to your work like Fail2ban. If you work with shell scripts, then this perhaps provides a better route and consider your next shell script should it be a python script?

<svg width="150" height="150" viewbox="0 0 256 256" xmlns="http://www.w3.org/2000/svg" preserveaspectratio="xMidYMid"><path d="M254.251 124.862l-10.747-6.653a145.81 145.81 0 0 0-.306-3.13l9.236-8.615a3.686 3.686 0 0 0 1.105-3.427 3.685 3.685 0 0 0-2.33-2.744l-11.807-4.415a137.355 137.355 0 0 0-.925-3.048l7.365-10.229a3.698 3.698 0 0 0-2.407-5.814l-12.45-2.025c-.484-.944-.988-1.874-1.496-2.796l5.231-11.483a3.683 3.683 0 0 0-.288-3.59 3.678 3.678 0 0 0-3.204-1.642l-12.636.44a99.848 99.848 0 0 0-1.996-2.421l2.904-12.308a3.694 3.694 0 0 0-.986-3.466 3.698 3.698 0 0 0-3.464-.986l-12.305 2.901a106.192 106.192 0 0 0-2.426-1.996l.442-12.635a3.684 3.684 0 0 0-1.64-3.205 3.693 3.693 0 0 0-3.59-.29l-11.48 5.234a133.235 133.235 0 0 0-2.796-1.5l-2.03-12.452a3.7 3.7 0 0 0-5.812-2.407l-10.236 7.365c-1.007-.32-2.02-.629-3.042-.922L155.72 4.794a3.69 3.69 0 0 0-2.745-2.336 3.707 3.707 0 0 0-3.424 1.106l-8.615 9.243a111.11 111.11 0 0 0-3.13-.306l-6.653-10.75a3.698 3.698 0 0 0-6.289 0l-6.653 10.75a110.4 110.4 0 0 0-3.133.306l-8.617-9.243a3.695 3.695 0 0 0-6.169 1.23l-4.414 11.809c-1.023.293-2.035.604-3.045.922L82.599 10.16a3.687 3.687 0 0 0-3.579-.415 3.705 3.705 0 0 0-2.235 2.822l-2.03 12.452c-.94.487-1.869.988-2.796 1.5l-11.481-5.235a3.686 3.686 0 0 0-3.588.291 3.684 3.684 0 0 0-1.642 3.205l.44 12.635a118.03 118.03 0 0 0-2.426 1.996l-12.305-2.9a3.71 3.71 0 0 0-3.466.985 3.694 3.694 0 0 0-.986 3.466l2.899 12.308c-.673.797-1.338 1.604-1.991 2.421l-12.636-.44a3.721 3.721 0 0 0-3.204 1.641 3.696 3.696 0 0 0-.291 3.59l5.234 11.484c-.509.922-1.012 1.852-1.5 2.796l-12.449 2.025a3.7 3.7 0 0 0-2.407 5.814l7.365 10.23c-.32 1.01-.631 2.024-.925 3.047l-11.808 4.415a3.702 3.702 0 0 0-1.225 6.171l9.237 8.614c-.115 1.04-.217 2.087-.305 3.131L1.75 124.862A3.695 3.695 0 0 0 0 128.007c0 1.284.663 2.473 1.751 3.143l10.748 6.653c.088 1.047.19 2.092.305 3.131l-9.238 8.617a3.697 3.697 0 0 0 1.226 6.169l11.808 4.415c.294 1.022.605 2.037.925 3.047l-7.365 10.231a3.696 3.696 0 0 0 2.41 5.812l12.447 2.025c.487.944.986 1.874 1.5 2.8l-5.235 11.48a3.691 3.691 0 0 0 .291 3.59 3.684 3.684 0 0 0 3.204 1.641l12.63-.442c.659.821 1.322 1.626 1.997 2.426l-2.899 12.31a3.682 3.682 0 0 0 .986 3.459 3.683 3.683 0 0 0 3.466.983l12.305-2.898c.8.68 1.61 1.34 2.427 1.99l-.44 12.639a3.694 3.694 0 0 0 5.229 3.492l11.481-5.231a105.49 105.49 0 0 0 2.796 1.499l2.03 12.445a3.692 3.692 0 0 0 2.235 2.825 3.706 3.706 0 0 0 3.579-.413l10.229-7.37c1.01.32 2.025.633 3.047.927l4.415 11.804a3.685 3.685 0 0 0 2.744 2.331 3.677 3.677 0 0 0 3.425-1.106l8.617-9.238c1.04.12 2.086.22 3.133.313l6.653 10.748a3.702 3.702 0 0 0 3.143 1.75 3.703 3.703 0 0 0 3.145-1.75l6.653-10.748c1.047-.093 2.092-.193 3.131-.313l8.615 9.238a3.68 3.68 0 0 0 3.424 1.106 3.69 3.69 0 0 0 2.744-2.331l4.415-11.804c1.022-.294 2.038-.607 3.048-.927l10.231 7.37a3.7 3.7 0 0 0 5.812-2.412l2.03-12.445c.939-.487 1.868-.993 2.795-1.5l11.481 5.232a3.692 3.692 0 0 0 5.23-3.492l-.44-12.638a98.76 98.76 0 0 0 2.423-1.991l12.306 2.898c1.25.294 2.56-.07 3.463-.983a3.682 3.682 0 0 0 .986-3.459l-2.898-12.31c.675-.8 1.34-1.605 1.99-2.426l12.636.442a3.681 3.681 0 0 0 3.204-1.64 3.685 3.685 0 0 0 .289-3.592l-5.232-11.478c.511-.927 1.013-1.857 1.497-2.8l12.45-2.026a3.682 3.682 0 0 0 2.822-2.236 3.696 3.696 0 0 0-.415-3.576l-7.365-10.23c.318-1.011.629-2.026.925-3.048l11.806-4.415a3.684 3.684 0 0 0 2.331-2.745 3.677 3.677 0 0 0-1.106-3.424l-9.235-8.617c.112-1.04.215-2.086.305-3.13l10.748-6.654a3.69 3.69 0 0 0 1.751-3.143c0-1.281-.66-2.472-1.749-3.145zm-71.932 89.156c-4.104-.885-6.714-4.93-5.833-9.047.878-4.112 4.92-6.729 9.023-5.844 4.104.879 6.718 4.931 5.838 9.04-.88 4.11-4.926 6.73-9.028 5.851zm-3.652-24.699a6.929 6.929 0 0 0-8.23 5.332l-3.816 17.807c-11.775 5.344-24.85 8.313-38.621 8.313-14.086 0-27.446-3.116-39.43-8.688l-3.814-17.806c-.802-3.747-4.486-6.134-8.228-5.33l-15.72 3.376a93.272 93.272 0 0 1-8.128-9.58h76.49c.865 0 1.442-.157 1.442-.945v-27.057c0-.787-.577-.944-1.443-.944H106.8v-17.15h24.195c2.208 0 11.809.63 14.878 12.902.962 3.774 3.072 16.05 4.516 19.98 1.438 4.408 7.293 13.213 13.533 13.213h38.115c.433 0 .895-.049 1.382-.137a93.92 93.92 0 0 1-8.669 10.17l-16.082-3.456zm-105.79 24.327c-4.105.886-8.146-1.731-9.029-5.843-.878-4.119 1.732-8.162 5.836-9.047 4.105-.878 8.148 1.739 9.028 5.85.878 4.11-1.734 8.16-5.836 9.04zM43.86 95.986c1.703 3.842-.03 8.345-3.867 10.045-3.837 1.705-8.328-.03-10.03-3.875-1.703-3.845.029-8.34 3.867-10.045a7.598 7.598 0 0 1 10.03 3.874zm-8.918 21.14l16.376-7.277a6.942 6.942 0 0 0 3.524-9.158l-3.372-7.626h13.264v59.788H37.973a93.7 93.7 0 0 1-3.566-25.672c0-3.398.183-6.756.535-10.056zm71.862-5.807V93.696h31.586c1.632 0 11.52 1.886 11.52 9.28 0 6.139-7.584 8.34-13.821 8.34h-29.285v.003zm114.792 15.862c0 2.338-.086 4.652-.257 6.948h-9.603c-.961 0-1.348.632-1.348 1.573v4.41c0 10.38-5.853 12.638-10.982 13.213-4.884.55-10.3-2.045-10.967-5.034-2.882-16.206-7.683-19.667-15.265-25.648 9.41-5.975 19.2-14.79 19.2-26.59 0-12.74-8.734-20.765-14.688-24.7-8.352-5.506-17.6-6.61-20.095-6.61H58.279c13.467-15.03 31.719-25.677 52.362-29.551l11.706 12.28a6.923 6.923 0 0 0 9.799.226l13.098-12.528c27.445 5.11 50.682 22.194 64.073 45.633l-8.967 20.253c-1.548 3.505.032 7.604 3.527 9.157l17.264 7.668c.298 3.065.455 6.161.455 9.3zM122.352 24.745c3.033-2.905 7.844-2.79 10.748.247 2.898 3.046 2.788 7.862-.252 10.765-3.033 2.906-7.844 2.793-10.748-.25a7.621 7.621 0 0 1 .252-10.762zm88.983 71.61a7.594 7.594 0 0 1 10.028-3.872c3.838 1.702 5.57 6.203 3.867 10.045a7.595 7.595 0 0 1-10.03 3.875c-3.833-1.703-5.565-6.2-3.865-10.048z"></path></svg>
## Rust, for those who were terrified of C++

Up to now, we have been talking about Dynamic scripting languages, that you will be familiar with and are quite similar in philosophy and features. Python vs PHP is almost a matter of personal preference in terms of what they can do. Rust, on the other hand, is a compiled language. So whereas with PHP we might do something like:

Php my-file.php to run a file or python my-file.py and it will run the program and include assorted files rust code needs to be compiled and the result is a binary application.

So Rust is more like C or C++, Rust is a fully-fledged language, you can build Kernel modules, complex games and anything you could do with C++. You can build PHP Extensions, and generate libraries which are binaries that can be called by other languages. On the Web, it can be compiled to Web Assembly. 

And for PHP Developers good news it has curly brackets… Bad news that’s almost exactly where the similarity ends. 

Rust is both a static and strongly typed language, meaning that before you use a variable it types must be declared and variables are tried to that data type. Both PHP and Python are dynamic typed and while there are options to enforce typed properties in PHP7.4 this is wishy-washy. 

**Pros**

- It’s fast, I mean really fast
- It’s portable, while Binaries need to be compiled to given architecture the result is a binary application
- It can do work with true low level aspects of OS, including things like eBPF

**Cons**

- It needs to be compiled
- It’s not as quick to get started and developing
- Huge learning curve if coming from Dynamic Languages

#### How I use Rust

To give a little bit of the difference I rebuilt a PHP based tool to hash and compare password strings, to check for weak passwords based on an already salted password set. The initial application took several minutes to process through 100k passwords. The version written in Rust took several seconds and that was in part because of a logic bug. The ultimate performance difference with logic fixed over the original was nearly a 1000x faster. 

I have also recently been working on a couple of PHP Extensions written in Rust, to allow a PHP application to make use of Rust performance under the hood. 

I have also been building a couple of libraries for an Electron app, that once again moves heavy performance tasks to a binary and away from Electron. 

#### Good Projects to Follow

Rust main package manager is Cargo while Rust development without cargo is possible it acts as a build tool as well as package manager making it a semi-critical piece. Individual packages are called [Crates](https://crates.io/). For getting started [Tensor Programming](https://www.youtube.com/watch?v=EYqceb2AnkU&list=PLJbE2Yu2zumDF6BX6_RdPisRVHgzV02NW) have an introduction to Rust series.   
  
Being a competitor to C++ the breath of Rust projects is well everything from [Embedded systems](https://github.com/rust-embedded) to Interacting with just about every language through [FFI](http://jakegoulding.com/rust-ffi-omnibus/).  
  
On the web, Rust can be the [webserver](https://github.com/tiny-http/tiny-http) to full frameworks with things like [Rocket](https://rocket.rs/) and building dynamic modules for Nginx with [Nginx Rust Bindings](https://github.com/nginxinc/ngx-rust).  
  
Of course, you could also write a new [Operating System in Rust](https://os.phil-opp.com/)… but should you?  
  
While Rust is a younger language then any of the others mentioned there are still lots of resources, tools and libraries to be interested in so I suggest diving through [Awesome Rust](https://github.com/rust-unofficial/awesome-rust)collection.

#### How Should a WordPress Developer Start

Like Python the route to Rust is not obvious from WordPress for me the gateway was through the fact I could make PHP extensions that provided the route, I had however had some experience making PHP extensions with C++ so it was not an entirely cold start. A good potential place is isolated PHP programs such as the password tool above, something where performance is important but it’s not reliant on the WordPress stack.

<svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 375.72 158.2" width="250" height="105"><defs><style>.cls-1{fill:#fff}.cls-2{fill:#2f3a3e}.cls-3{fill:#3ab14a}</style></defs><title>Asset 1</title>
<g id="Layer_2" data-name="Layer 2"><g id="Layer_1-2" data-name="Layer 1"><path d="M128.79 32.3L78.85 2.65a18.81 18.81 0 0 0-19.27 0L9.63 32.3A19.92 19.92 0 0 0 0 49.46v59.29a19.92 19.92 0 0 0 9.63 17.15l49.94 29.64a18.82 18.82 0 0 0 19.27 0l49.94-29.64a19.92 19.92 0 0 0 9.64-17.16V49.46a19.92 19.92 0 0 0-9.63-17.16z"></path><path d="M128.79 32.3L78.85 2.65a18.81 18.81 0 0 0-19.27 0L9.63 32.3A19.92 19.92 0 0 0 0 49.46v59.29a19.92 19.92 0 0 0 9.63 17.15l49.94 29.64a18.82 18.82 0 0 0 19.27 0l49.94-29.64a19.92 19.92 0 0 0 9.64-17.16V49.46a19.92 19.92 0 0 0-9.63-17.16zM61.32 152.51l-49.94-29.64a16.44 16.44 0 0 1-7.92-14.12V49.46a16.43 16.43 0 0 1 7.92-14.12L61.32 5.69a15.4 15.4 0 0 1 15.78 0L127 35.34a16.33 16.33 0 0 1 7.67 11.42c-1.66-3.53-5.39-4.5-9.74-2L77.72 74c-5.89 3.43-10.23 7.3-10.24 14.4v58.22c0 4.25 1.71 7 4.35 7.81a15.3 15.3 0 0 1-2.62.25 15.47 15.47 0 0 1-7.89-2.17z"></path><path d="M115.7 114.48l-12.44 7.44a.91.91 0 0 0-.57.81V126c0 .4.27.56.6.37l12.63-7.68a1 1 0 0 0 .38-1v-2.87c-.01-.37-.3-.53-.6-.34z"></path><path d="M89.22 87.09c.4-.2.73 0 .74.57L90 92a8 8 0 0 1 4.78-.58c.31.08.44.5.32 1l-.95 3.81a1.64 1.64 0 0 1-.43.76 1 1 0 0 1-.25.18.57.57 0 0 1-.37.06 6.34 6.34 0 0 0-4.61.74 5.79 5.79 0 0 0-3.41 5.13c0 2 1 2.55 4.49 2.61 4.61.08 6.61 2.09 6.66 6.74a16.53 16.53 0 0 1-6.12 12.47l.08 4.26a1.56 1.56 0 0 1-.73 1.3l-2.52 1.45c-.4.2-.73 0-.74-.56v-4.19c-2.16.9-4.35 1.11-5.75.55-.26-.1-.38-.49-.27-.94l.91-3.85a1.61 1.61 0 0 1 .45-.8 1 1 0 0 1 .24-.17.5.5 0 0 1 .41 0 7 7 0 0 0 5.29-.67 6.92 6.92 0 0 0 3.91-6c0-2.16-1.19-3.06-4-3.08-3.63 0-7-.7-7.07-6a15.5 15.5 0 0 1 5.86-11.86L86 90a1.55 1.55 0 0 1 .73-1.32z"></path><path d="M203 81.4a18.21 18.21 0 0 0-4.46-3.87l-.64-.38a17.73 17.73 0 0 0 3.62-3.2 15.08 15.08 0 0 0 3.64-9.77 17.16 17.16 0 0 0-2.11-8.86 18.17 18.17 0 0 0-5.71-6.08 25.05 25.05 0 0 0-7.87-3.41 38 38 0 0 0-8.77-1.11h-20a2.47 2.47 0 0 0-2.53 2.4v63.92a2.47 2.47 0 0 0 2.53 2.4h21.54a32.31 32.31 0 0 0 9.08-1.39 25.71 25.71 0 0 0 7.92-3.93 19.78 19.78 0 0 0 5.63-6.52 18.36 18.36 0 0 0 2.08-9 17.7 17.7 0 0 0-1-6.1 17.32 17.32 0 0 0-2.95-5.1zm-12.25-14.06a7.85 7.85 0 0 1-2.23 2.44 11 11 0 0 1-3.33 1.6 15 15 0 0 1-4 .62h-9.38V56.47h9.11a20 20 0 0 1 4.3.54 10.53 10.53 0 0 1 3.38 1.42 6.62 6.62 0 0 1 2.13 2.27 6.81 6.81 0 0 1 .78 3.41 6.2 6.2 0 0 1-.76 3.23zm-18.91 16.22h11a15.08 15.08 0 0 1 4.32.74 10 10 0 0 1 3.28 1.8 7.94 7.94 0 0 1 2.11 2.75 8.63 8.63 0 0 1 .73 3.85 8.07 8.07 0 0 1-.83 3.73 8.21 8.21 0 0 1-2.27 2.76 11.71 11.71 0 0 1-3.49 1.85 14 14 0 0 1-4.23.72h-10.62zM244.53 46.4a2.51 2.51 0 0 0-2.41-1.67H235a2.52 2.52 0 0 0-2.4 1.66l-21.7 63.92a2.3 2.3 0 0 0 .36 2.15 2.57 2.57 0 0 0 2 1h8.54a2.52 2.52 0 0 0 2.41-1.69l4.85-14.86h18.7l4.76 14.85a2.51 2.51 0 0 0 2.42 1.7h8.49a2.57 2.57 0 0 0 2-1 2.31 2.31 0 0 0 .37-2.15zM244 85h-11l5.56-17.14zM317.19 83.87a21.63 21.63 0 0 0-4-3.94 33.83 33.83 0 0 0-4.74-3 46.11 46.11 0 0 0-5.19-2.31c-1.72-.64-3.47-1.23-5.21-1.75-1.48-.43-3.06-.94-4.71-1.5a22.29 22.29 0 0 1-4.26-2 10.1 10.1 0 0 1-2.92-2.59 5.45 5.45 0 0 1-1-3.28 6.67 6.67 0 0 1 .79-3.35 7.54 7.54 0 0 1 2.21-2.47 10.59 10.59 0 0 1 3.35-1.58 14.62 14.62 0 0 1 8.61.18 10 10 0 0 1 3.33 2 10.12 10.12 0 0 1 2.27 3.14 14.88 14.88 0 0 1 1.23 4.35 2.49 2.49 0 0 0 2.51 2.1h8.77a2.59 2.59 0 0 0 1.8-.72 2.34 2.34 0 0 0 .72-1.73 19.83 19.83 0 0 0-2.26-9 21.76 21.76 0 0 0-5.66-6.81 26.37 26.37 0 0 0-8-4.31 29.68 29.68 0 0 0-17.95-.25 25.72 25.72 0 0 0-7.8 3.78 20.5 20.5 0 0 0-5.68 6.22 16.59 16.59 0 0 0-2.24 8.55 15.56 15.56 0 0 0 2.27 8.41A21.9 21.9 0 0 0 279 78a34.51 34.51 0 0 0 7.23 4.08c2.52 1.06 5 2 7.47 2.72q2.4.73 5 1.64a21.76 21.76 0 0 1 4.35 2.06 9.74 9.74 0 0 1 2.95 2.76 6.16 6.16 0 0 1 1 3.63 6.06 6.06 0 0 1-.84 3.31 7.89 7.89 0 0 1-2.37 2.42 11.11 11.11 0 0 1-3.51 1.49 18.16 18.16 0 0 1-9.31-.18 11.69 11.69 0 0 1-3.85-2 10.69 10.69 0 0 1-2.71-3.19 12.67 12.67 0 0 1-1.43-4.47 2.49 2.49 0 0 0-2.51-2.09h-8.73a2.59 2.59 0 0 0-1.81.73 2.34 2.34 0 0 0-.71 1.74 19 19 0 0 0 2.59 9.26 22.72 22.72 0 0 0 6.18 6.78 28.34 28.34 0 0 0 8.45 4.18 32.55 32.55 0 0 0 9.55 1.43 33.72 33.72 0 0 0 8.72-1.16 26.7 26.7 0 0 0 8-3.55 20.11 20.11 0 0 0 5.91-6.07 16.18 16.18 0 0 0 2.36-8.74 17.51 17.51 0 0 0-1-6 18.1 18.1 0 0 0-2.79-4.91zM373.2 44.73h-8.08a2.47 2.47 0 0 0-2.53 2.4v25.08h-22.51V47.13a2.47 2.47 0 0 0-2.53-2.4h-8a2.47 2.47 0 0 0-2.53 2.4v63.92a2.47 2.47 0 0 0 2.53 2.4h8a2.47 2.47 0 0 0 2.53-2.4V83.91h22.51v27.14a2.47 2.47 0 0 0 2.53 2.4h8.08a2.47 2.47 0 0 0 2.53-2.4V47.13a2.47 2.47 0 0 0-2.53-2.4zM165.93 124.53h-3.06v8.18h-1.63v-8.18h-3v-1.29h7.73zM175.34 132.71h-1.6v-4.23h-3.39v4.23h-1.59v-9.47h1.59v4h3.39v-4h1.6zM184.74 128.47h-4.1v3h4.79v1.27H179v-9.47h6.39v1.29h-4.75v2.67h4.1zM198.93 132.71v-9.47h3.18a6 6 0 0 1 1.34.16 3.35 3.35 0 0 1 1.09.46 2.24 2.24 0 0 1 .74.8 2.29 2.29 0 0 1 .26 1.15 1.87 1.87 0 0 1-.41 1.2 2.6 2.6 0 0 1-1.09.77 2.66 2.66 0 0 1 .74.32 2.07 2.07 0 0 1 .54.49 2.19 2.19 0 0 1 .34.63 2.34 2.34 0 0 1 .12.74 2.59 2.59 0 0 1-.26 1.19 2.43 2.43 0 0 1-.72.86 3.33 3.33 0 0 1-1.09.52 5.09 5.09 0 0 1-1.36.19zm1.65-5.48h1.57a2.71 2.71 0 0 0 .69-.09 1.64 1.64 0 0 0 .55-.26 1.27 1.27 0 0 0 .37-.42 1.19 1.19 0 0 0 .14-.57 1.34 1.34 0 0 0-.13-.61 1.13 1.13 0 0 0-.37-.42 1.65 1.65 0 0 0-.56-.24 3.37 3.37 0 0 0-.7-.08h-1.56zm0 1.19v3h1.79a2.38 2.38 0 0 0 .71-.11 1.74 1.74 0 0 0 .55-.3 1.35 1.35 0 0 0 .37-.46 1.37 1.37 0 0 0 .13-.61 1.66 1.66 0 0 0-.12-.64 1.29 1.29 0 0 0-.33-.48 1.53 1.53 0 0 0-.53-.3 2.31 2.31 0 0 0-.7-.11zM215.7 128.59a5.7 5.7 0 0 1-.23 1.61 4.16 4.16 0 0 1-.67 1.36 3.3 3.3 0 0 1-1.12.94 3.39 3.39 0 0 1-1.58.35 3.19 3.19 0 0 1-2.66-1.29 4.18 4.18 0 0 1-.66-1.36 5.73 5.73 0 0 1-.22-1.61v-1.21a5.92 5.92 0 0 1 .1-1.09 5 5 0 0 1 .29-1 4.25 4.25 0 0 1 .49-.87 3.08 3.08 0 0 1 .68-.69 3.18 3.18 0 0 1 .89-.45 3.52 3.52 0 0 1 1.09-.16 3.27 3.27 0 0 1 2.7 1.29 4.1 4.1 0 0 1 .68 1.36 5.73 5.73 0 0 1 .23 1.61zm-1.65-1.22a6.32 6.32 0 0 0-.1-1.06 3.1 3.1 0 0 0-.32-.94 1.93 1.93 0 0 0-.6-.67 1.61 1.61 0 0 0-.93-.26 1.57 1.57 0 0 0-.92.26 1.85 1.85 0 0 0-.58.67 3.09 3.09 0 0 0-.3.94 7.05 7.05 0 0 0-.09 1.06v1.22a6.84 6.84 0 0 0 .1 1.06 3.22 3.22 0 0 0 .3.94 1.87 1.87 0 0 0 .58.68 1.56 1.56 0 0 0 .92.26 1.6 1.6 0 0 0 .93-.26 2 2 0 0 0 .6-.68 3.08 3.08 0 0 0 .32-.94 6.6 6.6 0 0 0 .1-1.06zM225.44 123.25v6.34a3.64 3.64 0 0 1-.25 1.33 3 3 0 0 1-.67 1 2.94 2.94 0 0 1-1 .66 3.81 3.81 0 0 1-1.37.23 3.67 3.67 0 0 1-1.34-.23 2.91 2.91 0 0 1-1.7-1.69 3.66 3.66 0 0 1-.25-1.34v-6.34h1.61v6.34a2.93 2.93 0 0 0 .12.8 1.88 1.88 0 0 0 .31.63 1.42 1.42 0 0 0 .51.41 1.62 1.62 0 0 0 .71.15 1.71 1.71 0 0 0 .73-.15 1.45 1.45 0 0 0 .53-.41 1.82 1.82 0 0 0 .32-.63 3 3 0 0 0 .12-.8v-6.34zM232.32 129h-1.67v3.69H229v-9.47h3.15a5.43 5.43 0 0 1 1.41.19 3.29 3.29 0 0 1 1.12.53 2.41 2.41 0 0 1 .73.89 2.82 2.82 0 0 1 .26 1.25 2.71 2.71 0 0 1-.13.87 2.52 2.52 0 0 1-.37.71 2.67 2.67 0 0 1-.57.56 3.66 3.66 0 0 1-.74.41l2.11 4v.08h-1.75zm-1.67-1.26h1.51a2.46 2.46 0 0 0 .75-.11 1.81 1.81 0 0 0 .59-.32 1.41 1.41 0 0 0 .39-.5 1.61 1.61 0 0 0 .14-.68 1.78 1.78 0 0 0-.13-.7 1.38 1.38 0 0 0-.37-.51 1.64 1.64 0 0 0-.59-.32 2.81 2.81 0 0 0-.78-.11h-1.5zM245.43 132.71h-1.65l-3.24-6.51v6.51h-1.66v-9.47h1.66l3.23 6.5v-6.5h1.66zM254.84 128.47h-4.1v3h4.79v1.27h-6.43v-9.47h6.39v1.29h-4.75v2.67h4.1zM265.18 129.19h-5.48v-1.25h5.48zM273.86 130.52h-3.11l-.68 2.2h-1.7l3.23-9.47h1.4l3.17 9.47h-1.69zm-2.69-1.33h2.28l-1.13-3.71zM285.73 131.53a3.42 3.42 0 0 1-.59.53 3.93 3.93 0 0 1-.77.42 4.85 4.85 0 0 1-.92.27 5.47 5.47 0 0 1-1.06.1 3.62 3.62 0 0 1-1.59-.33 3.38 3.38 0 0 1-1.17-.91 4.05 4.05 0 0 1-.73-1.36 5.61 5.61 0 0 1-.26-1.68v-1.17a5.54 5.54 0 0 1 .25-1.68 4.15 4.15 0 0 1 .71-1.36 3.31 3.31 0 0 1 1.13-.91 3.37 3.37 0 0 1 1.53-.34 4.42 4.42 0 0 1 1.38.2 3 3 0 0 1 1 .58 2.76 2.76 0 0 1 .69.93 3.73 3.73 0 0 1 .32 1.22h-1.61a2.94 2.94 0 0 0-.19-.69 1.59 1.59 0 0 0-.35-.52 1.47 1.47 0 0 0-.53-.33 2.13 2.13 0 0 0-.74-.11 1.59 1.59 0 0 0-.89.24 2 2 0 0 0-.62.66 3.16 3.16 0 0 0-.36 1 5.69 5.69 0 0 0-.12 1.14v1.18a5.52 5.52 0 0 0 .13 1.13 3 3 0 0 0 .38 1 2 2 0 0 0 .66.66 1.88 1.88 0 0 0 1 .25h.48a3 3 0 0 0 .47-.09 2.13 2.13 0 0 0 .41-.17 1 1 0 0 0 .3-.25v-1.89h-1.8v-1.21h3.41zM293.89 130.52h-3.11l-.68 2.2h-1.7l3.23-9.47h1.44l3.17 9.47h-1.69zm-2.69-1.33h2.28l-1.13-3.71zM299.3 123.25h5.92v1.29h-2.15v6.89h2.15v1.29h-5.92v-1.29h2.11v-6.89h-2.11zM315.54 132.71h-1.65l-3.24-6.51v6.51H309v-9.47h1.66l3.23 6.5v-6.5h1.66zM334.29 130.28a1.17 1.17 0 0 0-.15-.59 1.46 1.46 0 0 0-.42-.45 2.89 2.89 0 0 0-.64-.34q-.37-.15-.81-.27a9.52 9.52 0 0 1-1.16-.4 4.54 4.54 0 0 1-1-.59 2.91 2.91 0 0 1-.73-.81 2.06 2.06 0 0 1-.28-1.08 2.17 2.17 0 0 1 .28-1.1 2.61 2.61 0 0 1 .74-.82 3.52 3.52 0 0 1 1.08-.52 4.55 4.55 0 0 1 1.29-.18 4.21 4.21 0 0 1 1.34.21 3.51 3.51 0 0 1 1.09.59 2.84 2.84 0 0 1 .74.91 2.59 2.59 0 0 1 .28 1.17h-1.64a2.17 2.17 0 0 0-.16-.65 1.49 1.49 0 0 0-.36-.51 1.57 1.57 0 0 0-.56-.33 2.26 2.26 0 0 0-.76-.12 2.47 2.47 0 0 0-.68.09 1.62 1.62 0 0 0-.54.27 1.27 1.27 0 0 0-.36.42 1.19 1.19 0 0 0-.13.56 1 1 0 0 0 .18.57 1.65 1.65 0 0 0 .46.43 3.22 3.22 0 0 0 .66.32q.37.13.78.24a8.54 8.54 0 0 1 1.19.43 4.31 4.31 0 0 1 1 .62 2.81 2.81 0 0 1 .68.83 2.27 2.27 0 0 1 .25 1.09 2.17 2.17 0 0 1-.28 1.11 2.5 2.5 0 0 1-.75.81 3.52 3.52 0 0 1-1.09.49 5 5 0 0 1-1.3.17 4.9 4.9 0 0 1-.91-.08 4.28 4.28 0 0 1-.86-.25 3.82 3.82 0 0 1-.77-.42 3.05 3.05 0 0 1-.62-.58 2.6 2.6 0 0 1-.57-1.63h1.65a2 2 0 0 0 .2.75 1.55 1.55 0 0 0 .44.53 1.91 1.91 0 0 0 .64.32 2.88 2.88 0 0 0 .81.11 2.76 2.76 0 0 0 .69-.08 1.76 1.76 0 0 0 .56-.25 1.24 1.24 0 0 0 .38-.41 1.11 1.11 0 0 0 .12-.58zM345.59 132.71H344v-4.23h-3.4v4.23H339v-9.47h1.59v4H344v-4h1.6zM355 128.47h-4.1v3h4.79v1.27h-6.44v-9.47h6.39v1.29h-4.75v2.67H355zM361 131.44h4.75v1.27h-6.39v-9.47H361zM371 131.44h4.75v1.27h-6.39v-9.47H371z"></path></g></g></svg>
## Bash/Shell Scripting

You might have heard of bash as a shell for a unix the environment you login when you SSH into servers but it’s also a command language like all shells are (Someone going to correct me on that I’m sure). As such Bash can be a powerful tool and pretty much every unix system administrator dabbles with  Bash scripts. Bash is a very simple language with none of the fancy features that come with the other languages mentioned, you won’t be doing object oriented, [I mean would you](http://programming%20with%20Bash%E2%80%A6%20Oh%20come%20on%20%5Bhttp://hipersayanx.blogspot.com/2012/12/object-oriented-programming-in-bash.html)? 

I have included Bash but this is probably better seen as a more broader learning your shell including scripting and doing the quick jobs. It is the polar opposite of Rust but also the broadest spectrum. Good working knowledge of shell scripting means a good working knowledge of the fundamentals of your operating system. 

#### How I use Bash

For me shell scripting is automation, if I’m repeatedly typing multiple commands, then it’s probably something I should be chaining, and if it goes beyond a one-liner then it should be scripted. I try where possible to think ahead will this need to interact with other things, am I concerned about performance etc. The reality things start as a shell script, when they become to complex they move to a Python script, with grumbling this is what I should have done in the first place. However really while I may grumble and have that mindset there is nothing wrong with using shell scripting for most typical sysadmin tasks and not everything you do needs to be a python script, nor do you have to reach for tools like Ansible. 

Examples of some scripts I use every day, Simple stats gathering across multiple servers, checking mail queues, managing WP-CLI tasks, keeping my ZSH shell preferences in sync.  

#### Good Projects to Follow

This list is probably harder than the others, while certainly should check out [awesome Bash](https://github.com/awesome-lists/awesome-bash) & [Awesome shell](https://github.com/alebcay/awesome-shell) and really get into customising terminals. When it comes to cool projects well Bash doesn’t lend itself to fancy stuff, even the how-to [learn Bash](http://www.tldp.org/LDP/abs/html/)resource is a hefty tome that feels from the 90s.

A really good resource is Julia Evans [Zines](https://wizardzines.com/) which I particularly recommend [Linux Debugging tools you’ll love](https://wizardzines.com/zines/debugging/). Julia also regularly posts on twitter, short extracts

> file locking [pic.twitter.com/tq1VRct5Hk](https://t.co/tq1VRct5Hk)
> 
> — 🔎Julia Evans🔍 (@b0rk) [January 8, 2020](https://twitter.com/b0rk/status/1214761141299232768?ref_src=twsrc%5Etfw)

<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>

Some tools you will find really useful when working with Bash [JQ](https://stedolan.github.io/jq/) for manipulating JSON, [FZF](https://github.com/junegunn/fzf) for well-finding anything. If you are like me and a typo machine then a combination of auto-complete and [Fuck](https://github.com/nvbn/thefuck) might be wise.  
  
Ultimately bash and shell scripting might not be sexy but it’s a valuable tool to know.

#### How Should a WordPress Developer Start

If you are finding yourself writing “reports” or processes that run via cron jobs anything like that, these are good opportunities for Shell Scripting, if you have just started using WP-CLI then combine that learning with shell scripting to unlock some powerful options.

## Special mentions

Ok so these didn’t make it on the main list but I still think they deserve a mention they are each a powerful language in their own right but have lots of similarities to many of the above mentioned.

### Lua

A true scripting language if you have heard of Lua it’s probably in relation to computer game modding? Mods for games like Civ series use Lua. For the WordPress Developer, the reason you might be interested in Lua is because of OpenResty which is an Nginx HTTP server with Lua scripting built-in. This makes OpenResty very flexible and powerful with big companies like the BBC and Cloudflare using it. 

Lua is perhaps not a language you go out to learn, rather it’s a language to understand you will come across and it helps to get a little familiar with it. Lua is the ultimate tinker language.

To get a feel how about going through [Awesome Lua](https://github.com/LewisJEllis/awesome-lua)

### Elixir

Is the exception to the rule, when it comes to similarities, Elixir is a language that uses Erlang a different languages virtual machine. It’s a dynamic functional language and its use is mainly when you are working with high levels of concurrency. Elixir is a bit like Ruby on Rails in that it feels like a very different language to Erlang (though rails technically is not its own language just a framework but go with me) it’s built on all the benefits of Erlang or in Rails case Ruby. WordPress and PHP Developers are probably not naturally going to go to Elixir and I have included it here because it challenges a lot of how “we” program as someone who has worked heavily with Erlang in the past Elixir feels like a much-needed way into the eco-system and for that reason alone is worth checking out.

To get a feel how about going through [Awesome Elixir](https://github.com/h4cc/awesome-elixir)

### Go

Go is a badly named language managed by Google and wins the runner up award for bad name choices beaten by Hack by Facebook for dumb things to call your language for anyone who wants to Google you. Consequently its often called GoLang, it’s technically not a scripting language and compiles at runtime. Its roots is in C++. It’s statically typed but functional not object-orientated and fast. Not Rust level of fast but runs laps around Python. It’s use case is where performance matters but you want a simpler development time. I really like Go and it’s a solid choice as a second language for PHP developers. 

To get a feel how about going through [Awesome Go](https://github.com/avelino/awesome-go)

* * *

![](https://cdn.timnash.co.uk/wp-content/uploads/2020/01/undraw_programming_2svr-1024x571.png)

## Summary 

So, first off I’m going to head off a few questions I expect/have already been asked.

**Where is Ruby/Java/Kotlin/C#/F#/Q/R/Swift/Dart/Scala/Haskell/Crystal/The other Crystal language/Modula2/Delphi/Basic?**   
Or indeed plenty of other languages, right at the start I said this would be opinionated and based on experience. In 2020 these are languages I’m actively using that I think would suit WordPress Developers one way or another. I would love to have put Erlang on the list (ok so I sort of did sneaky sort of way) and plenty of other languages. Also if you are in certain fields Mobile development for example then Kotlin and Swift might be more appropriate, I have little experience with either.

**Why did you choose Rust/Python over Go?**  
Two people who proofread the article, one said I’m surprised you put Rust instead of Go and the second said I’m surprised to see Python not Go on there. Obviously Go gets the honourable mention. It sits in between the space between Python and Rust but the reason I didn’t pick it for the main article was primarily that Python and Rust do great jobs. If you are looking for a multi-purpose language then Go is a great choice. If you are already using Python there are fewer reasons to move to Go and the same if you using Rust then Go doesn’t make much sense. PHP/Go is a fantastic combination so don’t discount it.

**Do you really need to learn more than one language?**  
You don’t have to but if you’re a WordPress Developer you will end up learning PHP and Javascript. You can for the rest of your career rely on those skills and you have made a good solid choice. Learning a new language adds complexity and often brings new fundamentals if it’s not something you enjoy don’t do it. However, even if you never learn Rust or Python I really do recommend you take a look at some of the examples just to be familiar with what they are. You never know something might just click.

So finally If I had some recommendations for developers based on skill level as to where to head off first I would say:

#### Junior WordPress developer

If you are a junior WordPress developer maybe just started writing your first plugin then I suggest concentrating on Javascript and Bash/Shell Scripting these two will more then anything push you forward in your career and get you going quickly.

#### Senior WordPress developer

For more senior folks and those looking to get into the more DevOps side then at least look at how Python/Go works and consider really diving deep into PHP internals and foundations looking out of the WordPress ecosystem. 

There will come a point where performance, stability really matter and then I suggest it’s time to look at Rust. 

So there you have it, I’m sure some folk are going to tell me I’m wrong, you are of course right because this was my list and recommendations which are based mainly and totally biased on my own journey. 

I would love to hear your journeys through in the comments below.

Illustrations used in the article by [Undraw](https://dev.to/scottw/-undraw-10ge-temp-slug-8229813)

[Source](https://timnash.co.uk/five-languages-for-wordpress-developers-to-learn-in-2020/)