Tag: <span>coding</span>

React State 5 Ways
Post

React State 5 Ways

Originally posted on dev. To see the code for these examples, click here There are seemingly endless ways of dealing with state management in React. Trying to understand the options, the tradeoffs between them, and how they work can be overwhelming. When I’m trying to learn something, seeing a side by side comparison implementing some common...

The Best Coding Challenges Websites For Beginners
Post

The Best Coding Challenges Websites For Beginners

Originally posted no dev. There are a plethora of websites where you can practice Data Structures and Algorithms questions. Even though there are a lot of choices, beginners might have a difficult time choosing one. Why? Because the majority of these websites are tailored to experienced developers. They feel overwhelming, and it feels like there...

Software Development Best Practices
Post

Software Development Best Practices

Originally posted on dev. I had collected some points and created a list of some best practices for software development. I plan to refer to this list from time to time to help me become a better Engineer. Publishing the list so that others too may refer and get benefitted from this list. Learn &...

Memoization in short
Post

Memoization in short

Originally posted on dev. python-journey (3 Part Series) 1Python pro tips2Memoization in short3About Python imports What problem does memoization solve?In a nutshell, it prevents ineffectiveness. Why The code is not as brilliant as you might think. Sometimes, it needs to repeat stuff over and over to do its job. The great idea with memoization is...

Here’s what to expect from Python 3.9
Post

Here’s what to expect from Python 3.9

Originally posted on thenextweb. Python 3.9 is expected to be released on Monday 5th October 2020. Prior to releasing the official version, the developers had planned to release six alpha, five beta preview, and two release candidates. At the time of writing this article, the first candidate was recently released on 11 August. Now, we’re anxiously...

The Renaissance Of No-Code For Web Designers
Post

The Renaissance Of No-Code For Web Designers

Originally posted on smashingmagazine. Just like during the Renaissance, we’re living in times of incredible cultural and artistic innovation. As the Internet evolves, browsers align, capabilities are added and accessibility of technology becomes easier, designers face new opportunities to create, think, and change their status with no-code tools. The word Renaissance — which means “rebirth” in...

The Beauty of CSS
Post

The Beauty of CSS

Introduction CSS is the language that sits at the presentation level of the Web alongside HTML and JavaScript. CSS is easy to start with but it’s not simple to work with because it has some features that might seem frustrating at first. These features are what makes CSS such a beautiful language to work with. If you...

Understand __slots__ in Python
Post

Understand __slots__ in Python

Originally posted on towardsdatascience. A simple way to improve your Python code When we create an object from a class, the attributes of the object will be stored in a dictionary called __dict__. We use this dictionary to get and set attributes. It allows us to dynamically create new attributes after the creation of the object....

How to Make Better Looking Charts in Python
Post

How to Make Better Looking Charts in Python

Originally posted on medium. With the matplotlib and seaborn libraries its easy to make charts in Python, but the default settings can result in an ugly looking chart. This might not be a problem if you only need the chart for your own purposes but if you’re going to share it you may wish to improve its appearance and...

The Maybe data type in JavaScript
Post

The Maybe data type in JavaScript

Originally posted on dev JavaScript is not the only language that can be used to do Web development. Some other languages built upon other programming paradigms like Elm or PureScript are available as well. They rely on functional programming and most of the time have similar concepts. And one of these concepts is the Maybe...

9 Things to Know to Master List Comprehensions in Python
Post

9 Things to Know to Master List Comprehensions in Python

Originally posted on medium This tutorial will help you learn the most common usages of list comprehensions in Python Many more people are starting to learn Python, as it has become one of the most popular programming languages for almost anything, like web development, scientific computing, and certainly artificial intelligence. No matter where you’re going...

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...

gig: a gitignore generator
Post

gig: a gitignore generator

If you are using git in your project, you probably know what is .gitignore. Since I never seem to be able to memorized gitignore’s pattern format correctly, when I needed to write a gitignore file for a specific project, I’ll visit github/gitignore in my web browser, search for gitignore file, open the file, copy its content, then finally paste it into my...

What Does the “Yield” Keyword Do?
Post

What Does the “Yield” Keyword Do?

Iterables, functions, and generators in Python To learn about the yield keyword, there are a variety of other terms and concepts that you must be comfortable with first. Before we dive into all of that, let’s keep the end in mind and talk through why yield is beneficial. Using yield will improve the memory efficiency — and subsequently, the speed/performance — when...