IS Java Functional Programming? | What about Python?

Veröffentlicht am: 01 Januar 1970
auf dem Kanal: Telusko
24,728
917

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 the same value for an argument always produces the same result. This is in contrast to imperative programming where, in addition to a function's arguments, global program state can affect a function's resulting value. Eliminating side effects, that is, changes in state that do not depend on the function inputs, can make understanding a program easier, which is one of the key motivations for the development of functional programming.
-wikipidea

#telusko #functional

Lambda Expression :    • Lambda Expression in Java 8  

Mistake @ 4:30
Correct code :
def calc():
def div(i,j):
if j==0:
j=1
return i/j

return div

abc = calc()

print(abc(4,0))


Auf dieser Seite können Sie das Online-Video IS Java Functional Programming? | What about Python? mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Telusko 01 Januar 1970 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 24,728 Mal angesehen und es wurde von 917 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!