programming - Concepts
Explore concepts tagged with "programming"
Total concepts: 66
Concepts
- Side Effects - Observable changes to state or interactions with the outside world that occur during the execution of a function or operation.
- Guard Clauses - A coding technique where a function checks for special or invalid cases at the very top and exits early, so the main logic doesn't end up buried in nested conditionals.
- Big O Notation - A notation that describes the asymptotic upper bound on how an algorithm's running time or memory use grows as the size of its input increases.
- Clean Code - Code that is easy to understand, maintain, and modify, following principles of readability, simplicity, and expressiveness.
- Parse, Don't Validate - Turn untrusted input into precise, typed data at the edge of your system, instead of checking it and passing the same loose data along.
- Polymorphism - The ability for different types to be used through a common interface, with the actual behavior resolved according to each value's real type.
- Separation of Concerns - A design principle for dividing a system into distinct sections, each addressing a separate concern or responsibility.
- Premature Optimization - The practice of trying to improve code performance before it's necessary, often at the expense of clarity and maintainability.
- Greenspun's Tenth Rule - The observation that any sufficiently complicated program contains an ad hoc, informally specified, bug-ridden, slow implementation of half of Lisp.
- Opinionated Software - Software that prescribes a particular way of doing things, making design decisions for users rather than offering maximum flexibility.
- Defensive Programming - A coding practice that anticipates potential errors and edge cases, writing code that fails safely and provides clear error information.
- HTML - The standard markup language for creating web pages and web applications.
- Design Patterns - Reusable solutions to commonly occurring problems in software design, providing templates for solving design challenges.
- Data Structures - Specialized formats for organizing, storing, and managing data in computers to enable efficient access and modification.
- Dependency Injection - A technique where an object receives its dependencies from an external source rather than creating them itself, enabling loose coupling and easier testing.
- Stringly Typed - Code that uses plain strings for values that deserve a real type, such as states, keys, dates or identifiers, so the compiler can't catch mistakes that a proper type would prevent.
- Law of Demeter - A design guideline that an object should only talk to its immediate collaborators, not to the objects those collaborators expose.
- Design by Contract - A methodology where software components define precise, verifiable interface specifications: what they require (preconditions), what they guarantee (postconditions) and what stays true (invariants).
- JavaScript - A high-level, interpreted programming language that powers interactive web pages and modern applications across browsers, servers, and mobile platforms.
- Apache License 2.0 - A permissive open source license that allows users to use, modify, and distribute software while providing an explicit patent grant and requiring preservation of copyright notices.
- Null References - The practice of letting any reference point to "nothing", which Tony Hoare, who introduced it in 1965, later called his "billion-dollar mistake".
- Static Typing - A way of checking the types of values in a program before it runs, so a whole class of errors gets caught by the compiler or type checker instead of by your users.
- Dead Code - Source code that exists in a program but is never executed, has no effect on the output, or is unreachable.
- Code Smell - Surface-level indicators in source code that suggest deeper problems in the design or implementation.
- Refactoring - The process of restructuring existing code without changing its external behavior to improve readability, maintainability, and design.
- Python - A high-level, interpreted programming language known for its readable syntax and versatility, widely used in AI/ML, data science, web development, and scripting.
- Bash - A Unix shell and command language that serves as both an interactive command interpreter and a powerful scripting language.
- Total Functions - A total function returns a valid result for every possible input of its type; a partial function only works for some inputs and crashes, throws or misbehaves on the others.
- Immutability - The property of data that cannot be changed after it is created, so any modification produces a new value rather than altering the original.
- Smart Constructor - A function that is the only way to create a value of a given type and that checks the type's rules, so every value that exists is guaranteed to be valid.
- Typestate Pattern - A design technique that encodes an object's current state in its type, so calling an operation in the wrong state becomes a compile-time error instead of a runtime bug.
- Error Handling - The practice of anticipating, detecting, and responding to errors in software to maintain system stability and provide meaningful feedback.
- Zsh - A powerful Unix shell that extends the Bourne shell with advanced features like enhanced tab completion, spelling correction, and extensive customization options.
- Algebraic Data Types - Composite types built by combining other types in two ways: "and" (product types, like records) and "or" (sum types, like tagged unions), which lets you model a domain precisely.
- YAML - A human-readable data serialization format designed for configuration files and data exchange, using indentation-based structure instead of brackets or tags.
- Open Source - Software whose source code is made publicly available for anyone to view, modify, and distribute, fostering transparency, collaboration, and innovation.
- Undefined Behavior - Program behavior on which a language specification places no requirements at all. Once a program triggers it, anything can happen.
- Shell - A program that provides a command-line interface to interact with an operating system by interpreting user commands and executing them.
- Zero One Infinity Rule - A design rule that the only reasonable numbers to allow of anything are zero, one, or an arbitrary number.
- Zawinski's Law - The observation that every program expands until it can read mail, and programs that cannot are replaced by ones that can.
- TypeScript - A strongly-typed superset of JavaScript that adds static type checking and compiles to plain JavaScript, catching errors at development time rather than runtime.
- Boolean Trap - An API design mistake where boolean parameters make function calls unreadable and easy to get wrong, because true and false say nothing about what they control.
- Tell, Don't Ask - An object-oriented design principle: instead of asking an object for its data and making decisions with it, tell the object what to do and let it decide.
- Literate Programming - A programming paradigm that treats programs as literature by interweaving human-readable documentation with executable code.
- Memory Safety - A property of programs and programming languages that prevents code from reading or writing memory it shouldn't, which removes entire classes of bugs such as buffer overflows and use-after-free.
- Convention Over Configuration - A software design paradigm that reduces decisions developers need to make by providing sensible defaults based on conventions.
- Pure Functions - Functions that always return the same output for the same input and produce no side effects.
- Org-mode - A powerful major mode for Emacs that combines outlining, task management, scheduling, literate programming, and document publishing in a plain-text format.
- Code Kata - Programming exercises designed to improve coding skills through deliberate, repeated practice.
- Command Line Interface - A text-based interface where users interact with software by typing commands and receiving text output.
- Recursion - A problem-solving approach where a function calls itself to break complex problems into smaller, self-similar subproblems.
- JSON - A lightweight, text-based data interchange format that is easy for humans to read and write, and easy for machines to parse and generate.
- MIT License - A permissive open source license that allows almost unrestricted freedom to use, copy, modify, and distribute software with minimal conditions.
- Assertions - Statements in code that check an assumption the programmer believes is always true, and stop the program loudly when it turns out to be false.
- Make Illegal States Unrepresentable - Design your data types so that invalid combinations of values simply can't be created, and let the compiler catch a whole class of bugs for you.
- Linux - A free and open-source Unix-like operating system kernel that powers the majority of web servers, cloud platforms, supercomputers, and Android devices.
- Memoization - An optimization that caches the result of an expensive function call and returns the stored result whenever the same inputs occur again.
- Ubuntu - A Debian-based Linux distribution focused on ease of use and accessibility, making it the most popular desktop Linux distribution worldwide.
- Pair Programming - An agile software development technique where two programmers work together at one workstation, sharing a single screen and keyboard.
- Oh My Zsh - A community-driven framework for managing Zsh configuration that provides thousands of themes and plugins to enhance the command-line experience.
- Primitive Obsession - A code smell where primitive types like strings, integers and booleans represent domain concepts that deserve their own small types.
- Atwood's Law - The observation that any application that can be written in JavaScript will eventually be written in JavaScript.
- Option Type - A type that makes the possible absence of a value explicit: a value is either present (Some(x)) or absent (None), and the compiler forces you to handle both cases.
- SQL - A domain-specific language for managing and querying relational databases.
- Rubber Duck Debugging - A debugging technique where explaining code line-by-line to an inanimate object helps identify the source of bugs.
- Newtype Pattern - A technique that wraps an existing type (often a primitive) in a new, distinct type, so the compiler can tell apart values that share a representation but mean different things.
← Back to all concepts