Tag: coding

How to write performant React code: rules, patterns, do’s and don’ts
Post

How to write performant React code: rules, patterns, do’s and don’ts

Performance and React! Such a fun topic with so many controversial opinions and so many best practices flipping to be the opposite in just 6 months. Is it even possible to say anything definitive here or to make any generalized recommendations? Usually, performance experts are the proponents of “premature optimisation is the root of all...

26 GitHub Repositories To Inspire Your Next Data Science Project
Post

26 GitHub Repositories To Inspire Your Next Data Science Project

Originally posted on towardsdatascience. Start the new year with this inspired list of interesting code with libraries, roadmaps, and projects to bookmark New tools that improve developer productivity are released every single day in the ever evolving domain that is Data Science. There is a sea of great projects to learn from, and even better...

Understanding Traceback in Python
Post

Understanding Traceback in Python

Originally posted on machinelearningmastery. When an exception occurs in a Python program, often a traceback will be printed. Knowing how to read the traceback can help you easily identify the error and make a fix. In this tutorial we are going see what the traceback can tell you. After completing this tutorial, you will know:...

This puzzle challenge brings joy to the world of code
Post

This puzzle challenge brings joy to the world of code

Originally posted on technologyreview. Thousands worldwide, from San Francisco to Slovenia, are counting down to Christmas with a puzzle-a-day programming challenge called Advent of Code. By midnight on December 1, 2015, when Eric Wastl first launched his annual Santa-themed puzzle-a-day programming challenge Advent of Code, 81 people had signed up. That pretty much matched his capacity...

12 C++ String Methods You Should Master Today
Post

12 C++ String Methods You Should Master Today

Originally posted on makeuseof. Handle strings like a pro with these C++ methods. C++ is one of the most powerful programming languages with the help of its built-in methods to perform operations like sorting, searching, and reversing. These methods cover the ease-of-use drawbacks C++ has when compared to other high-level programming languages like Java and...

Python 3.10 is finally adding some much-needed features
Post

Python 3.10 is finally adding some much-needed features

Originally posted on techradar. The next stable version of popular open source programming language, Python 3.10, has been released, bringing with it a host of new syntax and typing features that’ll appeal to long-time developers. Python 3.10 follows the languages’ 30th anniversary earlier this year in February 2021, and though it doesn’t have a long list of new features,...

20 Killer JavaScript One Liners
Post

20 Killer JavaScript One Liners

Originally posted on dev. Hello Folks 👋 This is Savio here. I’m young dev with an intention to enhance as a successful web developer. I love building web apps with React. I have proved my superiority in frontend technologies. Today, I’d like to share 20 Killer JavaScript one liners to make your life easier. Let’s...

How Pros Automate Repetitive Code using VS Code
Post

How Pros Automate Repetitive Code using VS Code

Originally posted on dev. While Programming, you are bound to encounter Repetitive Code, writing which is a complete waste of time. I am not talking about Non-DRY Code, but Essentials Code that is necessary to be written. An example of this would be connecting State/Dispatch to Props using React-Redux. Anyone who has worked on a decent-sized React-Redux project knows how many times you have to write the same...

9 Amazing Things To Do With Python
Post

9 Amazing Things To Do With Python

Originally posted on dev. Hello, buddies! We love python, right? So today we’re going to see some amazing things that can be done with python(you may not know them). Interesting? Let’s start! 1. Google Search with Python Sometimes we get so much into programming that we feel lazy enough to open the browser and search...

Python 3.10’s Top 6 Useful Features
Post

Python 3.10’s Top 6 Useful Features

Originally posted on makeuseof. Python’s new version 3.10 brings some exciting changes to the language. Here are the features we’ll be making use of. Python 3.10 boasts of being one of the most stable versions available for users to download, and will be released later this year. The newly released version will come with many...

JavaScript Execution Context
Post

JavaScript Execution Context

Originally posted on dev. It is important to view knowledge as sort of a semantic tree — make sure you understand the fundamental principles, ie the trunk and big branches, before you get into the leaves/details or there is nothing for them to hang on to. — Elon Musk on reddit In this article we will take...

Top 10 Python Tools For Time Series Analysis
Post

Top 10 Python Tools For Time Series Analysis

Originally posted on analyticsindiamag. Time series is a sequence of numerical data points in successive order and time series analysis is the technique of analysing the available data to predict the future outcome of an application. At present, time series analysis has been utilised in a number of applications, including stock market analysis, economic forecasting,...

Why developers love Go
Post

Why developers love Go

Originally posted on sdtimes. The open source Go programming language, also known as Golang, has worked to simplify developer lives since it first appeared in 2009. While it may have been Google’s backing that gained developers’ attention, its efficiency, simplicity and tooling are the reason developers keep coming back, according to Nathan Youngman, author of Get...

How to Write or Print to a File in Python
Post

How to Write or Print to a File in Python

Originally posted on makeuseof. If you’re getting started with Python, you’ll need to know how to print to a file. Follow this short tutorial to learn how. Need to print to a file in Python? Today we’ll find out how easy it is to start writing to files. We’ll cover creating new files, appending existing...

Iteration in Python – enumerate(), item(), np.nditer(), iterrows()
Post

Iteration in Python – enumerate(), item(), np.nditer(), iterrows()

Originally posted on analyticsvidhya. Introduction An iteration is an object that repeats identical or similar tasks without making errors. In a way, we can say repeated execution of a set of statements is what iteration is all about. Python has several language features to make it easier to perform the iteration task. As an object, the iterator...