Comment by senshan

Comment by senshan 3 days ago

2 replies

>> 1. The raw code with no empty space or comments. 2. Code with comments

> 1. Turn off 2. Code 3. Turn on 4. Commit

What does it mean "turn off" / "turn on"?

Do you have a script to strip comments?

Okay, after the comments were stripped, does this become the common base for 3-way merge?

After modification of the code stripped of the comments, do you apply 3-way merge to reconcile the changes and the comments?

This seems a lot of work. What is the benefit? I mean demonstrable benefit.

How does it compare to instructing through AGENTS.md to ignore all comments?

johnsmith1840 2 days ago

Telling an AI to ignore comments != no comments that's pretty fundamental to get my point.

  • senshan 2 days ago

    >> 1. The raw code with no empty space or comments. 2. Code with comments

    > 1. Turn off 2. Code 3. Turn on 4. Commit

    So can you describe your "turn off" / "turn on" process in practical terms?

    Asking simply because saying "Custom scripts" is similar to saying "magic".