Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename codemod to transform? #23

Open
rwjblue opened this issue Jun 24, 2018 · 5 comments
Open

Rename codemod to transform? #23

rwjblue opened this issue Jun 24, 2018 · 5 comments
Labels
question Further information is requested

Comments

@rwjblue
Copy link
Owner

rwjblue commented Jun 24, 2018

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

@rwjblue rwjblue added the question Further information is requested label Jun 25, 2018
@ro0gr
Copy link
Contributor

ro0gr commented Jul 28, 2018

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

@simonihmig
Copy link
Contributor

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
Copy link
Owner Author

rwjblue commented Oct 25, 2018

Thanks for chiming in!

@rajasegar
Copy link
Contributor

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

@rwjblue
Copy link
Owner Author

rwjblue commented Apr 11, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants