Using lines of code as a measure of productivity is not a reliable way to compare the productivity of functional languages and imperative languages, or any other programming languages for that matter. This is because lines of code is not a consistent measure of the complexity or functionality of a program.
For example, a program written in a functional language might be able to accomplish a certain task using fewer lines of code than a program written in an imperative language, but that doesn't necessarily mean that the functional program is more productive or better in any way. Additionally, the way that lines of code are counted can vary depending on the individual or organization doing the counting, which can make it difficult to compare the productivity of different languages using this metric. It is generally better to use more robust measures of productivity, such as the time it takes to develop and maintain a program, or the number of bugs and other issues that are found in the code.
Learn more about imperative languages, here https://brainly.com/question/16034730
#SPJ4