[ot][crazy][personal] Micro-moronism Challenge: Iterate & Transform

Undescribed Horrific Abuse, One Victim & Survivor of Many gmkarl at gmail.com
Wed Dec 7 00:39:05 PST 2022


def add(a, b):
  return a + b

print(add(1,2))

=> MUTATE, TRANSLATE, DOCUMENT, RESOLVE =>
note: when translating from one language to another, we want to keep
components and structures analogous, so that future maintainers can
safely migrate changes and improvements either way without requiring
in-depth understanding of details

template <typename T>
T add(T a, T b)
{
  return a + b;
}

#include <iostream>

void main()
{
  std::cout << add(1, 2) << std::endl;
}


More information about the cypherpunks mailing list