Tag: programming

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

How to avoid a Deadlock while writing Concurrent Programs — Java Example
Post

How to avoid a Deadlock while writing Concurrent Programs — Java Example

Hello guys, do you want to learn how to avoid deadlock while writing concurrent programs, especially in Java? Writing correct concurrent application is never easy as you have to deal with several concurrency issues like race conditions, livelock, deadlock, memory interference etc. In this article, I’ll tell you how to avoid deadlock while writing a concurrent program...

Friendly Functional Programming
Post

Friendly Functional Programming

Programming is about solving real world problems, each program describes the different instructions, actions and events “What to do if..?” to deal with some problems. Programming is like creating a life style following some rules which are defined by the programmer. We might be the author of the life story of someone who trusted us...

Scalable React Components architecture
Post

Scalable React Components architecture

Originally posted at carloscuesta’s blog It’s been a while since I’ve started working with React and React-Native in production. One of the greatest things about React is the flexibility the library gives to you. Meaning that you are free to decide how do you want to implement almost every detail of your project for example the architecture and structure. However this freedom on the long term, could...

Advantages of Functional Programming for Blockchain Protocols
Post

Advantages of Functional Programming for Blockchain Protocols

Can functional programming support more efficient blockchain infrastructure, who is using it and why? To say that blockchain technology is fascinating would be an understatement. Hundreds of blockchain projects have already been deployed and hundreds more will launch in the coming months. As companies develop more advanced blockchain infrastructure and applications, a future that revolves around...

Installing Python and Anaconda on Windows
Post

Installing Python and Anaconda on Windows

This tutorial will show you how to install Python (via Anaconda) on your machine. Before getting started with the installation, let’s learn a bit more about what Anaconda exactly is. Python is the programming language which will be installed on the machine and on top of that different IDEs and packages can be installed. Python...

83 tips for getting up to speed with 14 major programming languages
Post

83 tips for getting up to speed with 14 major programming languages

The major programming languages all share several traits, including substantial ecosystems that make them quite versatile, large user communities that make hiring easier, and proven track records in real-world use. They also have fundamental, intrinsic qualities that imbue them with unique strengths (and weaknesses). Here are my insights on 14 popular languages (as ranked by Redmonk). A note about language choice Different...

Rise of Kotlin: The Programming Language for the Next Generation
Post

Rise of Kotlin: The Programming Language for the Next Generation

Please welcome our weekly sponsor Pusher to Hacker Noon! Pusher makes realtime APIs that enable developers all around the world to quickly add communication and collaboration features to their apps. Their core product enables developers to easily create features like in-app notifications, activity streams, real-time dashboards, live trackers and much more. Today we’re going to catch up with the...