Category Archives: Python

Lambda Expressions in Python 3

In Python 3, Lambda Expressions are supported. Like Java 8, they are anonymous functions, which are very handy. They mix simplicity with readability and reusability. Their functional programming style makes them handy for writing conditional and mathematical expressions. Java 8 list.forEach(a -> { System.out.println(Math.sqrt(a)); } Python on the other hand defines lambdas in a different way. […]

Also posted in Software Engineering | Leave a comment

Common Python Libraries

In my day job at the BBC, we use Python. It’s a great scripting language; highly versatile, well supported and mixes simplicity with complexity, if need be. One of the challenges of my day job to date, has been learning AWS, Ruby and Python as I go. This presents challenges as it’s not easy to […]

Also posted in Software Engineering | Leave a comment

Python – Throwaway Variables

I’ve recently been using Python in my day job, and it’s a pretty neat language – Industrial Light and Magic, Google, Facebook, etc. all use it. It is one of the most versatile languages out there, along with Java. A particular trick that I discovered recently, is throwaway variables. They are very useful for extracting […]

| Tagged , | Leave a comment