`
leonzhx
  • 浏览: 811784 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论

Item 47: Know and use the libraries

阅读更多

1.  When inputted an Integer.MIN_VALUE, Math.abs will also return Integer.MIN_VALUE.

 

2.  By using a standard library, you take advantage of the knowledge of the experts who wrote it and the experience of those who used it before you.

 

3.  A second advantage of using the libraries is that you don’t have to waste your time writing ad hoc solutions to problems that are only marginally related to your work.

 

4.  A third advantage of using standard libraries is that their performance tends to improve over time, with no effort on your part.

 

5.  A final advantage of using the standard libraries is that you place your code in the mainstream. Such code is more easily readable, maintainable, and reusable by the multitude of developers.

 

分享到:
评论

相关推荐

    Web.Service.APIs.and.Libraries.083891182X

    Application Programming Interfaces (APIs) are software tools that help different programs work together, and Michel shows readers how to integrate these into existing library websites as well as use ...

    libnvinfer.so.7

    deepstream-app: error while loading shared libraries: libnvinfer.so.7: cannot open shared object file: No such file or directory

    解决启动MongoDB错误:error while loading shared libraries: libstdc++.so.6:cannot open shared object file:

    当尝试启动MongoDB数据库服务时,遇到"error while loading shared libraries: libstdc++.so.6: cannot open shared object file"的错误,这通常意味着系统缺少一个必要的动态链接库——libstdc++.so.6。这是一个C++...

    Pro C# 7: With .NET and .NET Core

    This essential classic title provides a comprehensive foundation in the C# programming language and the frameworks it lives in. Now in its 8th edition, you’ll find all the very latest C# 7.1 and .NET...

    mysql linux安装出错 libaio-dev

    mysql linux下安装时,存在以下错误: Installing MySQL system tables..../bin/mysqld: error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directory

    Programming: Principles and Practice Using C++

    practitioners and advanced students will gain new insight and guidance by seeing how a recognized master approaches the elements of his art.Provides a Broad ViewThe first half of the book covers a ...

    Python Playground: Geeky Projects for the Curious Programmer

    You’ll learn to use common Python tools and libraries like numpy, matplotlib, and pygame to do things like: Generate Spirograph-like patterns using parametric equations and the turtle module Create...

    Managing Gigabytes: Compressing and Indexing Documents and Images

    It covers the latest developments in compression and indexing and their application on the Web and in digital libraries. It also details dozens of powerful techniques supported by mg, the authors' ...

    Blog的加速器Use Google Libraries插件

    Google AJAX Libraries推出的时候,曾引起了一阵轰动,但是,这个插件由于没有即时的更新,以至于造成了这款插件不能很好的工作,Use Google Libraries这款插件的也就在这个时候应运而生了。 Use Google Libraries...

    Name : ncurses-devel Version : 5.7

    The header files and libraries for developing applications that use the ncurses terminal handling library. Install the ncurses-devel package if you want to develop applications which will use ncurses...

    Csharp.6.0.and.the.NET.4.6.Framework.7th.Edition.1484213335.epub

    This new 7th edition of Pro C# 6.0 and the .NET 4.6 Platform has been completely revised and rewritten to reflect the latest changes to the C# language specification and new advances in the .NET ...

    Beginning.Ruby.From.Novice.to.Professional.3rd.Edition.1484212797

    What are the various Ruby web frameworks and how to use them How to do network programming with Ruby and more Who This Book Is For This book is for beginning programmers, programmers new to Ruby, and ...

    Jenkins 2--Up and Running

    Explore the structure, implementation, and use of shared pipeline libraries Learn the differences between declarative syntax and scripted syntax Leverage new and existing project types in Jenkins ...

    Google C++ Style Guide_英文版.pdf

    - **sizeof:** Use `sizeof` to get the size of objects and types. - **Type Deduction:** Use auto and decltype to simplify type declarations. - **Class Template Argument Deduction:** Use CTAD (Class ...

Global site tag (gtag.js) - Google Analytics