Some of the new features introduced in Java 8, such as the new Date and Time API (application program interfaces), feel quite familiar and can be used immediately by an experienced Java developer. But some of the most important enhancements, including Lambdas and Streams, require the developer to learn some new concepts. Lambda statements in particular introduce a syntax that is quite unusual for object-oriented programmers. These language constructs are known only to developers who used functional programming languages or enhancements like Microsoft’s Linq (Language Integrated Query). This special syntax takes some getting used to, and some developers may even be a little frightened at first glance. However, these enhancements are extremely powerful, and it is certainly worth taking the time to understand how they can help you to write code that is not only concise but also faster to write and more reusable.
Если вам понравилась эта книга поделитесь ею с друзьями, тем самым вы помогаете нам развиваться и добавлять всё больше интересных и нужным вам книг! |
---|