Explain Codes LogoExplain Codes Logo

Best Articles — Page 30

Multiple variables in a 'with' statement?

python
context-managers
python-3.10
best-practices

Multiple submit buttons in an HTML form

html
responsive-design
best-practices
form-design

Multiple modals overlay

html
responsive-design
event-delegation
modal-transitions

Multiple aggregations of the same column using pandas GroupBy.agg()

python
pandas
dataframe
aggregation

Multiline f-string in Python

python
f-strings
pep-8
readability

Move to next item using Java 8 foreach loop in stream

java
lambdas
streaming
iterators

Most efficient way to prepend a value to an array

javascript
prompt-engineering
performance
best-practices

Most efficient way to cast List<Subclass> to List<Baseclass>

java
collections
type-safety
immutable

Most common way of writing a HTML table with vertical headers?

html
responsive-design
best-practices
accessibility

Moment.js: First and Last Day of Current Month

javascript
date-manipulation
time-zone-aware
date-formatting

Mod in Java produces negative numbers

java
remainder
modulus
java-8

Modifying local variable from inside lambda

java
lambda
best-practices
mutable-state

Mocking member variables of a class using Mockito

java
mockito
dependency-injection
testing

Missing return statement in a non-void method compiles

java
infinite-loops
compiler-behavior
return-statements

Merge two dataframes by index

python
dataframe
merge
pandas

Merge PDF files

python
pdf-engineering
functions
best-practices

Maximum call stack size exceeded on npm install

javascript
npm-install
error-handling
package-management

Maven does not find JUnit tests to run

java
maven
junit
test-execution

Mapstruct + Lombok together not compiling: unknown property in result type

java
lombok
mapstruct
annotation-processing

Mapping over values in a python dictionary

python
functions
dataframe
collections