Logo

Programming-Idioms

  • Python
  • Rust
n = len(x)
let n = x.len();

with Ada.Containers.Vectors;
use Ada.Containers;
N : Count_Type := X.Length;

New implementation...
< >
programming-idioms.org