rwjblue / codemod-cli

MIT License
88 stars 34 forks source link

Rename `codemod` to transform? #23

Open rwjblue opened 6 years ago

rwjblue commented 6 years ago

If we support template transforms, are they really just "codemods"? Is a template code?

ro0gr commented 5 years ago

Agree. Naming should be aligned. It was surprising to me to use codemod-cli generate codemod command to generate contents of transforms/ directory.

simonihmig commented 5 years ago

Just stumbled upon this, so here are my 2ç...

Is a template code?

IMHO definitely yes!

It follows a strict grammar, so it is parseable by a machine. And it is executable - especially for GlimmerVM there are obvious analogies - by compiling the human-readable template code to executable code for the (virtual) machine.

It definitely does not look as much as code as all other languages we use on a daily basis, which are based on the imperative paradigm, but there other languages like declarative ones (https://en.wikipedia.org/wiki/List_of_programming_languages_by_type#Declarative_languages) or something like LISP, that look totally different but certainly qualify as code.

So, what I am saying is that I would have no problem with still calling it a "codemod" 😉

rwjblue commented 5 years ago

Thanks for chiming in!

rajasegar commented 5 years ago

I assume we are in agreement for the naming here, can we then close this issue?

rwjblue commented 5 years ago

If we keep using codemod, we should rename the folder to codemods I guess...