Best of Medium — March 2023
- 1
- 2
- 3
Medium·3y
Object-oriented Programming (OOP) in JavaScript
This post explores key concepts of Object-oriented Programming (OOP) in JavaScript, including objects, classes, inheritance, encapsulation, and polymorphism. By understanding these concepts and how to use them, developers can write more maintainable and reusable code in JavaScript applications.
- 4
Medium·3y
Design Patterns in Node.js: A Fun TypeScript Adventure!
Design Patterns in Node.js: A Fun TypeScript Adventure! In this article, we’ll dive headfirst into the exciting world of design patterns with TypeScript examples. We'll cover the Singleton, Observer, Factory, and Command patterns with a healthy dose of TypeScript.
- 5
- 6
- 7
Medium·3y
Learning JavaScript from ChatGPT
The post discusses using ChatGPT to teach and learn JavaScript. It provides an example conversation where ChatGPT asks questions and the student responds with code solutions. The conversation covers topics such as variables, functions, arrays, objects, asynchronous JavaScript, and function composition. The post concludes with feedback on ChatGPT's performance as a JavaScript instructor.
- 8
Medium·3y
Essential Concepts in Functional Programming with JavaScript
Functional programming in JavaScript allows for more modular and reusable code by treating functions as first-class citizens. Higher-order functions provide a more abstract approach, pure functions promote code predictability, immutability ensures data is not modified directly, and recursion allows for solving complex problems by breaking them down into smaller ones.
- 9
Medium·3y
Interview questions related to optimizing application performance in Node JS
Interview questions related to optimizing application performance in NodeJS are part of a set of interview questions. The questions will test the candidate’s knowledge of NodeJS and their ability to optimize performance in a range of scenarios, making it a valuable resource for companies looking to hire skilled NodeJS developers.
- 10
Medium·3y
6 ways to boost the performance of your Go applications
If your application works in Kubernetes, automatically set to match the Linux container CPU quota. The number of threads that the Go scheduler uses will be as much as the CPU limit you defined in k8s yaml. You can automatically sort your structs with tools such as fieldalignment.
- 11
Medium·3y
Node.js 19: A Whimsical Adventure Through Async Magic and JavaScript Enchantment
Node.js 19: A Whimsical Adventure Through Async Magic and JavaScript Enchantment. In the realm of Node.JS 19, everything is faster than a caffeinated squirrel on roller skates. With its lightning-fast startup time (reduced by 30%), enhanced garbage collection (thanks to V8's Orinoco), and an optimized event loop, Node.
- 12
Medium·3y
Designing a Fault-Tolerant Web Application: Building a Highly Available 3-Tier Architecture
A 3-tier architecture is a type of software architecture that is commonly used to develop web-based applications. The architecture consists of three layers or tiers, each responsible for different functions. The three tiers are interconnected and communicate with each other through well-defined interfaces.
- 13
Medium·3y
Mastering React useEffect Hook: A Comprehensive Guide
A comprehensive guide to mastering the React useEffect hook, which allows developers to handle side effects, manage component life cycles, and execute code only when specific changes occur. Covers basic syntax, running effects conditionally, cleaning up effects, using multiple effects, and common use cases such as updating the document title, fetching data from an API, subscribing and unsubscribing to events, and animating components.
- 14
Medium·3y
How I used ChatGPT to prepare for an interview?
ChatGPT is a large language model that uses artificial intelligence to generate human-like responses to questions. It can be difficult to fully understand the requirements of a backend position, as job descriptions may be vague or use technical jargon that is unfamiliar to some candidates. The challenges of interview preparation can be challenging for several reasons.
- 15
- 16
Medium·3y
Everything you need to know about pipe and compose functions in JavaScript
Functional programming in JavaScript involves using functions as the primary building blocks and treating them as first-class citizens. Two popular higher-order functions used in functional programming are the pipe and compose functions, which allow for chaining multiple functions together.
- 17
- 18
- 19