Author: Agile Actors #learning (Agile Actors #learning)

How I patched Python to include this great Ruby feature
Post

How I patched Python to include this great Ruby feature

Originally posted on opensource. What I learned from adding “else-less” functionality to Python, as inspired by Ruby. Ruby, unlike Python, makes lots of things implicit, and there’s a special kind of if expression that demonstrates this well. It’s often referred to as an “inline-if” or “conditional modifier”, and this special syntax is able to return one value when...

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

8 Ways to Check if a File Exists Using Python
Post

8 Ways to Check if a File Exists Using Python

Originally posted on maekuseof. Here are multiple ways to check for a specific file or directory using Python. Python’s dependency on external files is a crucial aspect, it’s wise to pay heed to the base/source files before executing any code. Before running a particular program, you need to ensure your source files exist at the...

7 Algorithms Every Programmer Should Know
Post

7 Algorithms Every Programmer Should Know

Originally posted on makeuseof. These algorithms are essential to every programmer’s workflow. As a student of programming, you’ve likely learned plenty of different algorithms throughout the course of your career. Becoming proficient in different algorithms is absolutely essential for any programmer. With so many algorithms, it can be challenging to keep track of what’s essential....

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

Data Science Trends of the Future 2022
Post

Data Science Trends of the Future 2022

Originally posted on datasciencecentral. Data Science is an exciting field for knowledge workers because it increasingly intersects with the future of how industries, society, governance and policy will function. While it’s one of those vague terms thrown around a lot for students, it’s actually fairly simple to define. Data science is an interdisciplinary field that...

7 VS Code Extensions for Frontend Developers
Post

7 VS Code Extensions for Frontend Developers

Originally posted on dev. As a developer, you’re always looking for cutting-edge tools, tricks, and extensions to improve your productivity and efficiency. Being able to manage your time better is a valuable skill for software engineers. Therefore, here’s a list of Visual Studio Code extensions that help frontend developers (and not only!) to increase their...

Understanding JavaScript currying
Post

Understanding JavaScript currying

Originally posted on dev. Currying is a concept from lambda calculus, but don’t let that freak you out — it’s quite simple to implement. Currying is a function that takes one argument at a time and returns a new function expecting the next argument. It is a transformation of functions that translates a function from...

Why every developer should be using TDD
Post

Why every developer should be using TDD

Originally posted on dev. Introduction No skill is more important for programmers than the ability to write code that works. But all too often, developers don’t think about whether their code will work until it’s finished, and by then they’ve already created many bugs that are difficult or impossible to fix. That’s why every developer...

How to Build APIs in Python: 8 Popular Frameworks
Post

How to Build APIs in Python: 8 Popular Frameworks

Originally posted on makeuseof. So, you want to build an API, but where should you start? Try these frameworks on for size. Python is growing exponentially in popularity due to its simple learning curve and straightforward syntax. The coding language is used in web development, software development, mathematics, system scripting, and just about everything else...

My first programming language and early adventures
Post

My first programming language and early adventures

Originally posted on opensource. A student in 1988 in Poland is invited to a computer lab. A few days ago, contributors to Opensource.com were asked to share our personal stories about how we got into programming. Many entertaining and fascinating responses were submitted. It would be interesting to quantify these data in time. Intriguing patterns emerged....

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

Rust rises in popularity for cloud-native apps and environments
Post

Rust rises in popularity for cloud-native apps and environments

Originally posted on searchcloudcomputing.techtarget. Rust is making a name for itself in cloud. See why developers are putting in the effort to adopt the programming language for cloud-native development. Over the last several years, a relatively new programming language called Rust has surged in popularity among both cloud vendors and developers. Originally sponsored by Mozilla,...

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

The (Most Comprehensive) JavaScript Design Principles Guide
Post

The (Most Comprehensive) JavaScript Design Principles Guide

Originally posted on dev. The (Most Comprehensive) JavaScript Design Principles Guide As JavaScript developers we strive towards clean, healthy, and maintainable code. We strive towards solving challenges eloquently. While these challenges may each, within themselves, be unique – we don’t necessarily require unique solutions for each individual one of these new challenges we face. If...

About async functions
Post

About async functions

Originally posted on dev. Async functions are great, especially if you have to call multiple functions in a row that return promises. With async / await, code becomes easier to reason about for humans, because the data flow mimics synchronous code, which is what we are used to reading. So what are async functions exactly? Syntactic...

Nearly a quarter-century later, why is C++ still so popular?
Post

Nearly a quarter-century later, why is C++ still so popular?

Originally posted on sdtimes. Despite C++’s downward trend on the TIOBE Programming Community index since 2001, the language’s fall from the coveted top two slots in 2020, vociferous and persistent claims that C++ is “dead like COBOL,” and the inroads the Rust is making in developer circles – C++ is still as viable, vital and relevant as ever. There’s no arguing...

How different programming languages read and write data
Post

How different programming languages read and write data

Originally posted on opensource. In his article How different programming languages do the same thing, Jim Hall demonstrates how 13 different languages accomplish the same exact task with different syntax. The lesson is that programming languages tend to have many similarities, and once you know one programming language, you can learn another by figuring its syntax...