Tag: programming

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

Asynchronous programming in JavaScript
Post

Asynchronous programming in JavaScript

37.1. A roadmap for asynchronous programming in JavaScript 37.1.1. Synchronous functions 37.1.2. JavaScript executes tasks sequentially in a single process 37.1.3. Callback-based asynchronous functions 37.1.4. Promise-based asynchronous functions 37.1.5. Async functions 37.1.6. Next steps 37.2. The call stack 37.3. The event loop 37.4. How to avoid blocking the JavaScript process 37.4.1. The user interface of the browser can be blocked 37.4.2. How can we avoid blocking the...

Building Code
Post

Building Code

How were programming languages built? Here’s a brief history. We, humans, have always been on the lookout for somebody to do our heavy and unwanted lifting. First it was simple machines, then steam powered beasts, and at the end a bunch of semiconductors and a quartz. But how do you get a simple stone to do...

This week’s repository on Github: atto
Post

This week’s repository on Github: atto

Atto is an insanely simple functional programming language It features a syntax driven entirely by polish notation and no delimiters to speak of (it ignores all non-separating whitespace). What do you get for this simplicity? Well… an insanely simple language with a ~200 line self-hosted interpreter. Despite these design limitations, it’s actually possible to write...

Unsupervised Learning: Randomized Optimization
Post

Unsupervised Learning: Randomized Optimization

This is the 12th in a series of class notes as I go through the Georgia Tech/Udacity Machine Learning course. The class textbook is Machine Learning by Tom Mitchell. This marks the start of a new miniseries on Unsupervised Learning, the 2nd of 3 sub disciplines within Machine Learning. Our Goal: Optimization Given an input space X, and an...

Asynchronous programming. Await the Future
Post

Asynchronous programming. Await the Future

This is the third post of a series about asynchronous programming. The whole series tries to answer the simple question: “What is asynchrony?”. At first, when I just started digging into the question – I thought that I know what it is. It turned out that I didn’t know a clue about what asynchrony is...

Explain Python classes and objects to my nephew (+advanced use)
Post

Explain Python classes and objects to my nephew (+advanced use)

It is common secret that Python programming language has a solid claim to being the fastest-growing major programming language witnessing an extraordinary growth in the last five years, as seen by Stack Overflow traffic. Based on data describing the Stack Overflow question views which go to late 2011, the growth of Python relative to five other major...

Essential Books That Every Programmer Should Read
Post

Essential Books That Every Programmer Should Read

Never ask advice of someone with whom you wouldn’t want to trade places — Darren Hardy The idea to collect a list of books that knowledgeable, experienced and well-known programmers recommends to read comes to me from The long Journey to Ruby Mastery conference talk by Bozhidar Batsov. Here I share what I have found so far: the books recommendations...

React 101 – The Practical Introduction
Post

React 101 – The Practical Introduction

Have you went through the official React’s Tic Tac Toe tutorial? If you have, you might notice this bolded text in the introduction You might be tempted to skip it because you’re not building games — but give it a chance. I’m guessing even React team knows that it’s not that interesting to build a Tic...

Julia Programming Language is Fastest Growing Than Others, Stat Charts Rapid Rise in 2018-19
Post

Julia Programming Language is Fastest Growing Than Others, Stat Charts Rapid Rise in 2018-19

Julia Programming Language is Fastest Growing Than Others, Stat Charts Rapid Rise in 2018-19 By Kimberly Cook | 28-Jan-2019 | 37470 Views Up-and-coming language Julia programming language is gaining momentum with programmers, according to its creators. Julia, created in 2009 by MIT researchers, made its public debut in 2012 and over the past year has quickly climbed the ranks...

List Comprehension in Python
Post

List Comprehension in Python

Lists are a basic building block for a developer in any language. Python is no different. However at first, list comprehension can sometimes seem confusing. Since it is not an available feature in all languages, it may also be a concept that is completely unfamiliar. Some popular languages that include list comprehension are JavaScript, Perl...

Speed Up Your Python Program With Concurrency
Post

Speed Up Your Python Program With Concurrency

Table of Contents What Is Concurrency? What Is Parallelism? When Is Concurrency Useful? How to Speed Up an I/O-Bound Program Synchronous Version threading Version asyncio Version multiprocessing Version How to Speed Up a CPU-Bound Program CPU-Bound Synchronous Version threading and asyncio Versions CPU-Bound multiprocessing Version When to Use Concurrency Conclusion If you’ve heard lots of...

Going beyond just a programming language
Post

Going beyond just a programming language

In computer science, it seems that everybody is focusing on the programming language that the teacher or department chooses – be it Java, C#, Ruby or Python. Deciding upon a programming language to teach is only one step, however. The next question is – how do we gain confidence within ourselves to learn this language, in...

The Ultimate Guide to Python Type Checking
Post

The Ultimate Guide to Python Type Checking

Table of Contents Type Systems Dynamic Typing Static Typing Duck Typing Hello Types Pros and Cons Annotations Function Annotations Variable Annotations Type Comments So, Type Annotations or Type Comments? Playing With Python Types, Part 1 Example: A Deck of Cards Sequences and Mappings Type Aliases Functions Without Return Values Example: Play Some Cards The Any...

Defining Your Domain
Post

Defining Your Domain

On making sense of everything you know, and don’t, as a software developer Being a software developer is about more than just knowing how to crunch long lines code. Sure, that is one aspect of it, and a very important one at that, but there’s a lot more that you need to know in order...