News for hackers. Stuff that matters.
Re:Amazon CodeGuru – Preview by james_s_tayler on Tuesday December 03, 2019 @03:27PM (#21696332)
Or a 35,000 line XML configuration file.
Re:Amazon CodeGuru – Preview by ehsankia on Tuesday December 03, 2019 @03:54PM (#21696597)
Now that I think of it, if it's paid by lines of code, it perversely incentives people to minimize the lines of code, no? Does it count white space and comments? Can I minify my code before passing it to this, then unminify it?
Re:Amazon CodeGuru – Preview by bryanrasmussen on Tuesday December 03, 2019 @04:02PM (#21696674)
Many languages can have code written in them minimized down to a single line. I guess they must have a character count number equals a line qualifier somewhere.
Re:Amazon CodeGuru – Preview by ehsankia on Wednesday December 04, 2019 @01:05PM (#21704927)
But even then, still pushes people to shorten variable names and other kind of minification.
Re:Amazon CodeGuru – Preview by stefano on Tuesday December 03, 2019 @04:15PM (#21696789)
Can you just remove newlines from files? In most languages they're optional.
Re:Amazon CodeGuru – Preview by earenndil on Wednesday December 04, 2019 @02:26AM (#21700285)
Count semicolons then.
Re:Amazon CodeGuru – Preview by takeda on Wednesday December 04, 2019 @01:50AM (#21700153)
If it is as smart as some people here think it would probably output: "are you f#$king with me?"
Re:Amazon CodeGuru – Preview by dizzy3gg on Tuesday December 03, 2019 @04:47PM (#21697105)
Maybe it’s on recommended line formatting