5 ms·
How good does the produced C code look though? I mean if you were on a project which required C code and you used Ooc would your co-workers immediately barf if
by jernfrost 11y ago
How good does the produced C code look though? I mean if you were on a project which required C code and you used Ooc would your co-workers immediately barf if they saw the C code you committed to the repository?
I think these sort of tools are interesting because many companies are stuck with some ancient language hurting productivity, but being able to use tools like this one can circumvent some of the problems, if only for new code as existing code will have to be maintained in C.
- loup-vaillant 11y ago> if you were on a project which required C code and you used Ooc would your co-workers immediately barf if they saw the C code you committed to the repository? Commiting generated code, are you crazy? I don't care how pretty it looks, if it's not source code, it doesn't belong to source control. If you still want to put generated C dode in the repository, you can, but the second you type `push` command is the second your C code becomes source code. Treat it as such. Or, just put Ooc code into the repository. That is the source code after all.
- chei0aiV 11y agoWeb developers appear to disagree with you, there is Grunt-generated JS and minified JS committed to repositories all over github.
- loup-vaillant 11y agoSeriously what's the point? Hopefully their repositories also have the genuine source code? I'm not interested in reverse engineering.
- chei0aiV 11y agoI haven't tried to find out why people do that and find it baffling, but I guess they don't trust Grunt or their minifiers and want to compare the output of different versions. The repos I have seen also have the genuine source code.