How To Pass Data Up & Down in SwiftUI

You typically use @State and @StateObject to hold data as single source of truth, then passing around using @Binding, @ObservedObject, @EnvironmentObject, custom environment values, or preferences.

JavaScript `this` Binding in Common Contexts

In JavaScript, the "this" keyword is very flexible and confusing, evaluated at runtime, can have different values depending in which context it appears.

Swift AnyObject, AnyClass, Any, and `any`

Swift has special types to work with nonspecific types, useful in certain scenarios because they provide a lot of flexibility in working with different types of data.

How Senior Developers Sabotage Interviews

We'll explore some reasons why experienced developers may fail in coding interviews, be aware and to take steps to improve, and ultimately increase chances of success.

Web Manifests: The Key to PWAs Success

Web manifest is a simple JSON file that provides metadata about a web app, including essential information for web apps to behave like native apps on mobile devices.

Mar 20, 2023#webdev#javascript

A Comprehensive Comparison of Swift and Objective-C

Swift and Objective-C are two programming languages used for developing iOS, macOS, and watchOS applications. Objective-C has been the….

Mar 19, 2023#swift#objc#ios

JavaScript Closures Explained with Examples

JavaScript closures can be a tricky concept for beginners to understand, but they are an essential part of the language. In this tutorial….

Why Rust has Such a Complex Syntax

Rust has a complex syntax because it is a systems programming language that aims to provide low-level control over computer hardware, while also maintaining safety and performance.

Mar 19, 2023#rust

Why Rust Has Steep Learning Curve

Rust is often considered to have a steep learning curve because it is a systems programming language that requires a deeper understanding of….

Mar 19, 2023#rust

JavaScript Source Maps Demystified

This mapping allows developers to view and debug the original source code, even when the production code has been compressed and optimized for performance.

Top 10 Classic Interview Questions with Answers

Before the interview, research the company and the position, and think about the questions that the interviewer may ask. Practice your….

How to Become a Successful Software Engineer

Ultimately up to the individual to determine what success means, often requires a combination of technical skills, soft skills, and some luck.

Unpacking the Magic of Web Minification

The minified file version provides the same functionality while reducing the bandwidth of network requests, which can result in faster page load times and better overall user experience.

Median of Two Sorted Arrays (C++ Solutions)

The problem "Median of Two Sorted Arrays" is a popular programming problem that asks to find the median of two sorted arrays of integers.

Swift Advanced Custom Pattern Matching

When you use pattern matching in Swift, the compiler uses the `~=` operator behind the scenes to match the value against each case pattern.