Urgent.News

What's breaking now, across thousands of outlets.

Tech

That key left of '1' on many keyboards is actually crucial for programmers

The humble tilde has many uses.

That key left of '1' on many keyboards is actually crucial for programmers

The tilde symbol, often found left of the '1' key on keyboards, holds great importance for programmers across various languages such as C, C++, Java, and Python. Its primary role in programming is to serve as a bitwise NOT operator that inverts all bits of a binary number, turning zeroes into ones and vice versa. This operation is particularly useful for optimizing systems, like inverting colors in old-school video games or flipping numerical digits to their binary equivalents.

Beyond bit manipulation, the tilde symbol has diverse applications in programming. It can be used to index files, find missing elements in strings, and even act as a class destructor in languages like C++ and C#. A class destructor is a special function that runs when an object is deleted, helping to clean up resources and free allocated memory. This is crucial in large-scale open-world games where constant object deletion would otherwise cause memory leaks and slow performance.

In CSS, the tilde symbol serves as a general sibling selector, automatically selecting all matching elements that follow it. This tool is particularly handy for batch changes in user interfaces, websites, or web applications. Although less common in traditional video game development, it finds use in web-based games, game launchers, store pages, and settings menus for quick visual style adjustments.

Written by urgent.news from Engadget's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at engadget.com →

More in Tech

Sort Kling 5 Claims Into Live, Announced, or Rumor Before You Plan

You are putting together a production brief or credit estimate for a video pipeline, and a thread in your feed claims Kling 5 will support 4K output or longer single-pass clips.

  • Categorize claims into live, announced, or rumor to avoid budget overruns
  • Kling 4.0 launched Oct 15, 2026 with 30-second single-pass generation
  • Kling 5 support unverified as of Nov 15, 2026; no official announcement

More from Saturday 14 November →