Skip to main content
10 events
when toggle format what by license comment
Feb 4, 2020 at 23:16 answer added boobami timeline score: 1
Jun 27, 2018 at 22:02 comment added alancalvitti @Szabolcs, related Q: rather than worrying about line breaks, how to count characters in input expressions (including if they contain quotes) and divide by 128 to obtain LOC? I mention possible quotes b/c initially wanted to wrap input in quotes to take StringLength
Feb 15, 2012 at 12:24 answer added Rolf Mertig timeline score: 5
Feb 13, 2012 at 21:55 answer added Sjoerd C. de Vries timeline score: 4
Feb 13, 2012 at 20:07 comment added P. Fonseca Sorry for taking so long to come back... This is to compare with transforming all code to MATLAB, or a standard .NET code. This means that it has to be apples with apples; and I think the most typical are the kloc (lines of code)
Feb 13, 2012 at 19:10 answer added Leonid Shifrin timeline score: 8
Feb 13, 2012 at 19:00 comment added Sjoerd C. de Vries Given the goal,wouldn't a page count do as well? In that case you could use Heike's code here. Or convert the page count to a line count by finding out how many lines fit on a page.
Feb 13, 2012 at 18:56 answer added Szabolcs timeline score: 8
Feb 13, 2012 at 18:32 comment added Szabolcs If this is a metric for the volume of code, perhaps LeafCount is better for Mathematica. What do you think? Mathematica doesn't respect line breaks and tends to put everything on the same line when converting between e.g. InputForm and StandardForm.
Feb 13, 2012 at 18:23 history asked P. Fonseca CC BY-SA 3.0