Tag: programming

Home / programming
Where programming languages are headed in 2020
Post

Where programming languages are headed in 2020

Originally posted on oreilly Experts discuss what’s in store for popular and growing programming languages. As we enter a new decade, we asked programming experts⁠—including several of our own O’Reilly authors and instructors⁠—for their thoughts on what’s in store for some established players and fast-growing languages. Python The biggest news this year in Python is...

PythonPlantsVsZombies
Post

PythonPlantsVsZombies

A simple PlantsVsZombies game implement plants: sunflower, peashooter, wallnut, snowpeashooter, cherrybomb, threepeashooter, chomper, puffshroom, potatomine, spikeweed, scaredyshroom, squash, scaredyshroom, jalapeno, sunShroom, iceShroom. implement zombies: zombie, flagzombie, coneheadzombie, bucketheadzombie, newspaperzombie. use json file to store level data (e.g.position and time of zombies, background info) support to select plant cards at the beginning of the level support...

Python’s Advantages and Disadvantages Summarized
Post

Python’s Advantages and Disadvantages Summarized

Are you a Python programmer? What are your thoughts? Python’s been gaining popularity year over the year for the past few years. In a 2019 Stack Overflow survey, Python was named the second-most beloved language of developers. Python’s often cited as being multipurpose and easy to be productive in. Its domination in machine learning and data...

Recursive Programming in a Nutshell
Post

Recursive Programming in a Nutshell

A brief guide to recursive programming, the elegant enumeration for loops and while loops have long been the programmer’s best friends, allowing them to repeatedly perform actions under a condition or to iterate over a list or array. Whether it be reading a feed, tokenizing input, or simply looping over an array, iterative programming has...

Linear Programming for Data Scientists
Post

Linear Programming for Data Scientists

As Data Scientists we become acquainted with the concept of optimization very early in our careers. Optimization lies at the heart of every machine learning model. But our relationship with optimization goes way back; we’ve been [unknowingly] solving optimization problems since before we can remember: The fastest way to get to work Organizing our budget...

Here’s How Not to Suck at JavaScript
Post

Here’s How Not to Suck at JavaScript

Let’s be honest. A lot of JavaScript code sucks. Change that! JavaScript is a force to be reckoned with. It is the single most widely-used programming language in the world. Its simplicity and the abundance of learning resources make it approachable for beginners. Large talent pools make JavaScript appealing to companies of all sizes. A...

What to expect in Python 3.8
Post

What to expect in Python 3.8

The upcoming version on Python is on its way. The Python 3.8 beta cycle begun with Python 3.8.0b1 last month. Earlier this month, the second beta was released, making Python 3.8 feature complete. Python 3.8 will go through two more planned beta release previews before the official version is released in October. According to the...

How to Avoid Common Difficulties in Your Data Science Programming Environment
Post

How to Avoid Common Difficulties in Your Data Science Programming Environment

Reduce the incidental issues in your programming environment so you can focus on the important data science problems. Consider the following situation: you’re trying to practice your soccer skills, but each time you take to the field, you encounter some problems: your shoes are on the wrong feet, the laces aren’t tied correctly, your socks are...

Go Language and Object-Oriented Programming
Post

Go Language and Object-Oriented Programming

Is Go an Object-Oriented Language? Yes and No. Although Go has types and methods and allows an object-oriented style of programming, there is no type hierarchy. The concept of “interface” in Go provides a different approach that we believe is easy to use and in some ways more general. There are also ways to embed types...

How To Make Python Faster
Post

How To Make Python Faster

Follow These Quick Wins To Make Python Run Faster Python is too slow, often people complain. But wait, there are many ways to improve its performance This article aims to highlight the key tips in a succinct manner. It is useful for anyone who wants to improve the performance of your python code. I reduced the...

The Art of Command Line
Post

The Art of Command Line

Meta Basics Everyday use Processing files and data System debugging One-liners Obscure but useful macOS only Windows only More resources Disclaimer Fluency on the command line is a skill often neglected or considered arcane, but it improves your flexibility and productivity as an engineer in both obvious and subtle ways. This is a selection of...