程序员问答中心

python javascript java c# android c++ html php ios jquery css .net git sql c node.js mysql string objective-c linux r ruby-on-rails swift arrays ruby sql-server bash iphone reactjs django json asp.net angular xcode windows typescript angularjs regex pandas asp.net-mvc macos postgresql performance visual-studio spring eclipse docker shell python-3.x database unit-testing multithreading algorithm wpf c++11 list scala github android-studio datetime mongodb xml numpy go twitter-bootstrap laravel http amazon-web-services date google-chrome flutter vim maven intellij-idea debugging dictionary file ajax unix matplotlib haskell linq dataframe tsql oop rest npm image entity-framework gradle function cocoa-touch gcc generics react-native python-2.7 dart visual-studio-code kotlin powershell security exception class ubuntu java-8 command-line asp.net-core winforms ruby-on-rails-3 sorting logging oracle hibernate syntax visual-studio-2010 spring-boot android-layout forms excel sqlite firebase sql-server-2008 testing version-control ecmascript-6 types enums express math templates vue.js object apache lambda collections ssl validation inheritance spring-mvc asynchronous rust url dom svn variables design-patterns qt cocoa csv asp.net-mvc-3 reflection pip optimization perl jpa random apache-spark uitableview batch-file ggplot2 webpack unicode ssh asp.net-web-api pointers vb.net language-agnostic tensorflow android-fragments functional-programming junit memory parsing amazon-s3 authentication facebook serialization events installation flask loops .net-core jenkins stl nginx azure curl constructor hash file-io terminal delphi indexing google-maps time async-await svg selenium concurrency opencv
What and where are the stack and heap? memory-management stack language-agnostic dynamic-memory-allocation heap-memory
How can I pair socks from a pile efficiently? algorithm sorting language-agnostic matching
Is floating point math broken? math language-agnostic floating-point floating-accuracy
What is dependency injection? design-patterns language-agnostic dependency-injection terminology
What's the difference between a method and a function? oop language-agnostic terminology
Prefer composition over inheritance? language-agnostic oop inheritance composition aggregation
What is the difference between an abstract method and a virtual method? oop language-agnostic abstract virtual-functions
Determine Whether Two Date Ranges Overlap datetime math language-agnostic
What are bitwise shift (bit-shift) operators and how do they work? language-agnostic bit-manipulation operators bit-shift binary-operators
What is the difference between concurrency and parallelism? language-agnostic concurrency parallel-processing
Ukkonen's suffix tree algorithm in plain English string algorithm data-structures language-agnostic suffix-tree
What is an idempotent operation? language-agnostic definition idempotent
What is the difference between a framework and a library? [closed] frameworks language-agnostic libraries terminology
What is tail call optimization? algorithm recursion language-agnostic tail-recursion tail-call-optimization
What is the best regular expression to check if a string is a valid URL? regex url language-agnostic
What does it mean to "program to an interface"? language-agnostic oop interface
Database, Table and Column Naming Conventions? [closed] database database-design language-agnostic naming-conventions
What's the difference between faking, mocking, and stubbing? unit-testing mocking language-agnostic terminology definition
Understanding "randomness" math language-agnostic random
What is a lambda (function)? lambda language-agnostic computer-science terminology theory
What is a callback function? language-agnostic callback
How do I determine whether my calculation of pi is accurate? algorithm math language-agnostic pi
What is the difference between a deep copy and a shallow copy? language-agnostic copy deep-copy shallow-copy
"Parameter" vs "Argument" [duplicate] function parameters language-agnostic arguments terminology
What's the difference between passing by reference vs. passing by value? language-agnostic pass-by-reference pass-by-value
Is a GUID unique 100% of the time? language-agnostic guid
What is a magic number, and why is it bad? [closed] language-agnostic terminology magic-numbers
How do you detect Credit card type based on number? algorithm language-agnostic e-commerce
What is the difference between currying and partial application? language-agnostic terminology definition currying partial-application
Expression Versus Statement language-agnostic expression language-features
Runtime vs. Compile time language-agnostic runtime compile-time
Why should I not wrap every block in "try"-"catch"? exception language-agnostic try-catch
What is the meaning of the term "thread-safe"? multithreading language-agnostic programming-languages concurrency
Getting the closest string match algorithm language-agnostic string-comparison levenshtein-distance
Way to go from recursion to iteration recursion iteration language-agnostic computer-science theory
What is stability in sorting algorithms and why is it important? algorithm sorting language-agnostic stability
What are sessions? How do they work? language-agnostic session
What is the difference between concurrent programming and parallel programming? language-agnostic parallel-processing concurrency
Why is quicksort better than mergesort? algorithm sorting language-agnostic quicksort mergesort
Why should hash functions use a prime number modulus? language-agnostic data-structures hash
How to explain callbacks in plain english? How are they different from calling one function from another function? function callback language-agnostic terminology
Should I test private methods or only public ones? [closed] unit-testing testing language-agnostic
Equation for testing if a point is inside a circle algorithm language-agnostic geometry
Peak signal detection in realtime timeseries data algorithm language-agnostic time-series signal-processing data-analysis
What is the fastest way to get the value of π? performance algorithm language-agnostic unix pi
Difference between pre-increment and post-increment in a loop? for-loop language-agnostic post-increment pre-increment
Acronyms in CamelCase [closed] language-agnostic coding-style camelcasing acronym
What is Type-safe? language-agnostic programming-languages computer-science terminology type-safety
Why do people say there is modulo bias when using a random number generator? c++ random language-agnostic modulo
Why is it recommended to have empty line in the end of a source file? language-agnostic coding-style eof
Finding all possible combinations of numbers to reach a given sum algorithm search language-agnostic combinations subset-sum
Using an ORM or plain SQL? [closed] sql language-agnostic orm
Determine font color based on background color algorithm language-agnostic colors
What is the naming standard for path components? path language-agnostic cross-platform filenames terminology
How many bytes does one Unicode character take? string language-agnostic unicode encoding
How does Stack Overflow generate its SEO-friendly URLs? regex language-agnostic seo friendly-url slug
What is a coroutine? concurrency language-agnostic terminology coroutine
Recursion or Iteration? performance algorithm language-agnostic recursion
Match linebreaks - \n or \r\n? regex language-agnostic line-breaks
Skip List vs. Binary Search Tree algorithm language-agnostic data-structures binary-tree skip-lists
Why is processing a sorted array slower than an unsorted array? c# .net performance language-agnostic
When should I use Debug.Assert()? language-agnostic exception testing assertions defensive-programming
What is the difference between a map and a dictionary? dictionary data-structures language-agnostic key-value
When is it right for a constructor to throw an exception? exception language-agnostic constructor
What are "first-class" objects? python language-agnostic
What does 'foo' really mean? [closed] language-agnostic coding-style
Is there a difference between foreach and map? foreach language-agnostic computer-science map-function
IOException: The process cannot access the file 'file path' because it is being used by another process c# .net language-agnostic ioexception
Design Patterns: Factory vs Factory method vs Abstract Factory java design-patterns language-agnostic factory factory-method
What is an ORM, how does it work, and how should I use one? [closed] database orm language-agnostic
Can I read the hash portion of the URL on my server-side application (PHP, Ruby, Python, etc.)? http language-agnostic uri-fragment
Can every recursion be converted into iteration? language-agnostic recursion iteration
Are there any legitimate use-cases for "goto" in a language that supports loops and functions? language-agnostic goto
Why not use exceptions as regular flow of control? exception language-agnostic
In-Place Radix Sort algorithm language-agnostic sorting radix-sort in-place
What happens when there's insufficient memory to throw an OutOfMemoryError? java language-agnostic
Picking a random element from a set java algorithm language-agnostic random set
What is an existential type? language-agnostic types type-systems existential-type
What is opinionated software? architecture language-agnostic terminology
Can you explain the concept of streams? java .net stream language-agnostic iostream
The term "Context" in programming? [closed] language-agnostic programming-languages terminology
Arguments or parameters? [duplicate] language-agnostic parameters function arguments terminology
Which HTTP status code means "Not Ready Yet, Try Again Later"? [closed] http rest language-agnostic batch-processing http-status-codes
How to efficiently build a tree from a flat structure? algorithm tree language-agnostic hierarchical-data
What is eager loading? language-agnostic
What is "loose coupling?" Please provide examples oop language-agnostic loose-coupling
Unique (non-repeating) random numbers in O(1)? algorithm math random language-agnostic
What is the difference between Type and Class? language-agnostic class programming-languages types glossary
Nearest neighbors in high-dimensional data? algorithm language-agnostic search machine-learning nearest-neighbor
How can I find the difference between two angles? language-agnostic geometry angle
What is an invariant? language-agnostic invariants
When should I mock? unit-testing language-agnostic mocking
What is "Orthogonality"? language-agnostic terminology lexicon
Private vs Protected - Visibility Good-Practice Concern [closed] oop language-agnostic coding-style
Difference between Hashing a Password and Encrypting it security language-agnostic encryption hash passwords
Observer Design Pattern vs "Listeners" design-patterns language-agnostic listener observer-pattern
What is the "Execute Around" idiom? java language-agnostic design-patterns idioms
Has anyone actually implemented a Fibonacci-Heap efficiently? performance algorithm language-agnostic data-structures fibonacci-heap
Why is NaN not equal to NaN? [duplicate] floating-point language-agnostic nan ieee-754
Inheritance vs. Aggregation [closed] oop inheritance language-agnostic aggregation