Tag: programming

Home / programming
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...

How to Write A Programming Language
Post

How to Write A Programming Language

Under the Hood Have you ever found yourself writing code and wondering exactly what is going on under the hood? How does programming really work? In an attempt to peel back at least one of the curtains, Jessica Betts and I created our own Esoteric Programming Language based on Lord of the Rings lore called My_Precious. There are many...

These are the most insecure programming languages
Post

These are the most insecure programming languages

WhiteSource review of programming language security errors reveal which languages have the most security holes. The winner? C. But that’s only the start of the story. From top to bottom, technology is riddled with security errors. At the lowest level, we have hardware errors such as Intel’s Meltdown and Spectre bugs. Just above those, we have...

5 programming languages developers love most, and 3 they hate
Post

5 programming languages developers love most, and 3 they hate

Spoilers: One coding language ended up on both the most loved and most hated lists, according to a Hired report. Employer demand for certain programming languages may be strong, but that doesn’t mean developers always love coding in those languages, according to Hired’s 2019 State of Software Engineers report, released Thursday. What’s Hot at TechRepublic Inside the Raspberry...

Microsoft’s TypeScript programming language rising fast, almost makes top 10
Post

Microsoft’s TypeScript programming language rising fast, almost makes top 10

Microsoft TypeScript is popular and it’s here to stay as a prominent language, according to analyst RedMonk. TypeScript, Microsoft’s language for building JavaScript at scale, is now one of the most popular languages with developers and hot on the heels of Apple-backed Swift. TypeScript, released by Microsoft in 2012, is now in 12th spot in the...