CodeFaster

CodeFaster

Share this post

CodeFaster
CodeFaster
Separating data from code: part 5784

Separating data from code: part 5784

Tyler Adams's avatar
Tyler Adams
Feb 23, 2022
∙ Paid

Share this post

CodeFaster
CodeFaster
Separating data from code: part 5784
Share

Data and code intercoupled:

if p:
  f(a)
else:
  f(b)

Data and code separated:

if p:
  x = a
else:
  x = b
f(x)

This post is for paid subscribers

Already a paid subscriber? Sign in
© 2025 Tyler Adams
Privacy ∙ Terms ∙ Collection notice
Start writingGet the app
Substack is the home for great culture

Share