IS Java Functional Programming? | What about Python?



In computer science, functional programming is a programming paradigm—a style of building the structure and elements of computer programs—that treats computation as the evaluation of mathematical functions and avoids changing-state and mutable data. It is a declarative programming paradigm in that programming is done with expressions or declarations[1] instead of statements. Functional code is idempotent: a function’s return value depends only on its arguments, so calling a function with…

, , , ,

27 thoughts on “IS Java Functional Programming? | What about Python?

  1. it would be very helpful if you could make videos on programming! where u can teach various interview questions with codes. kindly consider my request,

  2. @Telusko
    Hi Navin, Thanks for the video. I have one doubt though. In this @4:30, you are saying that calc function is returning another function div. But it is actually calling div inside calc itself, evaluating the value from div and then returning the value returned by div function, not div function itself. So, result = calc(20,5); type(result) would return type as float, not the type function. I guess to return a function from a function, you'll have to define that function inside that function itself. Kindly let me know if my understanding is correct. Looking forward to your reply. Thanks!

Leave a Reply

Your email address will not be published. Required fields are marked *