Re:Ooc – a small programming language that compiles to C99
by loup-vaillant on Saturday January 09, 2016 @07:06AM
(#10870972)
> 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.
Re:Ooc – a small programming language that compiles to C99
by chei0aiV on Saturday January 09, 2016 @08:31AM
(#10871174)
Web developers appear to disagree with you, there is Grunt-generated JS and minified JS committed to repositories all over github.
Re:Ooc – a small programming language that compiles to C99
by loup-vaillant on Saturday January 09, 2016 @11:30AM
(#10871783)
Seriously what's the point? Hopefully their repositories also have the genuine source code? I'm not interested in reverse engineering.
Re:Ooc – a small programming language that compiles to C99
by chei0aiV on Saturday January 09, 2016 @06:50PM
(#10873401)
I 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.
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.