Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

>> 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?





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

>> 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".




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: