Topics
Java
Python
HTML
SQL
JavaScript
Career
Best Articles — Page 2
Why is the empty dictionary a dangerous default value in Python?
python
mutable-defaults
function-calls
defensive-programming
Why is String.chars() a stream of ints in Java 8?
java
stream-api
performance-optimization
primitive-types
Why is SQL server throwing this error: Cannot insert the value NULL into column 'id'?
sql
identity-specification
auto-increment
primary-key-constraint
Why is my .data() function returning [ instead of the first value of my array?
javascript
json-parsing
jquery-data
javascript-best-practices
Why is Maven downloading the maven-metadata.xml every time?
java
maven-metadata
maven-settings
maven-plugins
Why is immutability so important (or needed) in JavaScript?
javascript
immutability
const
pure-functions
Why Is `Export Default Const` Invalid?
javascript
export-default
named-exports
javascript-modules
Why is exception.printStackTrace() considered bad practice?
java
logging-best-practices
exception-handling
thread-safety
Why is Double.MIN_VALUE not negative?
java
floating-point-arithmetic
java-8
precision
Why is (a*b != 0) faster than (a != 0 && b != 0) in Java?
java
branch-prediction
performance-optimization
jvm-optimizations
Why explicitly throw a NullPointerException rather than letting it happen naturally?
java
best-practices
debugging
exception-handling
Why do you create a View in a database?
sql
data-manipulation
database-design
performance-optimization
Why do Java programmers like to name a variable "clazz"?
java
conventions
best-practices
readability
Why do I need 'b' to encode a string with Base64?
python
base64-encoding
unicode-strings
bytes-literals
Why do I get AttributeError: 'NoneType' object has no attribute 'something'?
python
attributeerror
error-handling
best-practices
Why does "pip install" inside Python raise a SyntaxError?
python
pip-install
python-interpretter
subprocess-module
Why doesn't "System.out.println" work in Android?
java
logging
android-logging
logcat
Why doesn't String switch statement support a null case?
java
null-safety
switch-statement
java-21
Why doesn't Python have a sign function?
python
custom-functions
edge-cases
math-standards
Why doesn't indexOf work on an array IE8?
javascript
polyfills
ie8-compatibility
javascript-features
Prev
1
2
3
...
483
Next
explain.codes