Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in idioms

Is it better to return an Option<Vec<_>> or just an empty Vec<_>?

rust vector option-type idioms

How to declare a git branch as merged without adopting the changes in it?

git branch git-merge idioms

A "source-less" C++ idiom

c++ idioms header-only

Looking for idiomatic way to regex-process a text file in Ruby

ruby regex idioms

Idiom to describe possibility of effect

Idiom for initializing an std::array using a generator function taking the index?

Kotlin-idiomatic way to add an item to a list in a map

kotlin collections idioms

How should I read the contents of a file respecting endianess?

Collect vector of borrowed values into vec of borrowed trait

rust polymorphism idioms

Converting C# to idiomatic R

c# r idioms

PowerShell idiom to test for existence of a command?

powershell idioms

Thread-safe implementation of the Copy-on-write (COW) idiom?

Converting C style for loop to python

python for-loop idioms

std::set_intersection is for sorted ranges as [ _ ] is for unsorted ranges/containers

Is it idiomatic Rust to accept a Result<T, E> as a function argument?

error-handling rust idioms

Idiomatic implementation of the tribonacci sequence in Rust

A more idiomatic way to fill a dictionary in Python

python dictionary idioms

Rust skip loop on "None" else move forward with computation

rust idioms