Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Lambdas
#6
Alright, I'm going to go ahead and reply to a post of decent age, so apologies in advance.

Java as a programming language has been losing a decent amount of traction against newer languages with features pulled from newer-ish areas of CS language theory and other languages that are just quicker to write code in. I suspect that Java architects forsee this as having potential for snowballing if Java isn't kept at least somewhat refreshed so often. (Aside from generics in 1.5, the language really hasn't seen much change for the everyday programmer pre-1.8.)

With all that said, I think introducing basic functional programming constructs is great progress! Yes, lambdas are just syntactical sugar that compile to anonymous classes; yes, streams can be done via for loops; and yes, none of these things are "new" in a programming language. But the each of these things combine and give way to a paradigm that makes writing such transformation operations significantly less cumbersome. There are many cases where I have averted designing APIs with single-function anonymous classes specifically because they require(d) a stupid amount of boilerplate. I pretty strongly believe that language syntax should not have to be a deciding factor in the development of software, especially if you consider a language as a tool for the programmer to express his/her ideas.

Whenever you think about Java criticism (besides the ridiculously unfounded/antiquated notion of slowness that came out of the ass of the native camp in the 90s), you'll almost always see the boilerplate and language age mentioned. In my experience, those have been some of the largest reasons for new programmers to shy away and toward newer, shinier languages. A new paradigm that simplifies common operations syntactically and semantically is something Java really was in dire need for.
Reply
 


Messages In This Thread
Lambdas - by Konloch - 10-01-2014, 02:54 PM
RE: Lambdas - by Bibl - 10-10-2014, 06:36 AM
RE: Lambdas - by Bibl - 10-25-2014, 11:31 AM
RE: Lambdas - by Konloch - 10-26-2014, 02:30 AM
RE: Lambdas - by DarkStorm - 01-05-2015, 07:13 AM
RE: Lambdas - by zooty - 01-08-2015, 08:22 PM
RE: Lambdas - by DarkStorm - 01-08-2015, 11:11 PM
RE: Lambdas - by Sex Slave - 01-08-2015, 08:04 AM
RE: Lambdas - by DarkStorm - 01-08-2015, 06:01 PM
RE: Lambdas - by Explicit - 01-27-2015, 05:53 AM
RE: Lambdas - by lab27 - 02-06-2015, 09:26 PM
RE: Lambdas - by Cov - 01-27-2015, 06:35 AM
RE: Lambdas - by Explicit - 02-07-2015, 07:04 AM
RE: Lambdas - by Obscurity - 02-10-2015, 03:46 AM
RE: Lambdas - by MalikDz - 02-12-2015, 10:26 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)

About The Bytecode Club

We're a community focused on Reverse Engineering, we try to target Java/Android but we also include other langauges/platforms. We pride ourselves in supporting and free and open sourced applications.

Website