
۴۴٬۰۰۰تومان
نوع فایل دانلود: EPUB
پس از خرید، یک فایل EPUB دریافت میکنید.
این فایل با Calibre، Apple Books و سایر کتابخوانهای دیجیتال مناسب است.
زبان برنامهنویسی Go منبع معتبر و اصلی برای هر برنامهنویسی است که میخواهد Go را یاد بگیرد. این کتاب نشان میدهد چطور با Goی شفاف و اصطلاحی، مسائل واقعی را حل کنید. کتاب فرض نمیکند از قبل Go را بلد باشید یا با زبان خاصی کار کرده باشید؛ پس چه با جاوااسکریپت راحتتر باشید، چه با روبی، پایتون، جاوا یا C++، آن را در دسترس خواهید یافت.
فصل اول یک آموزش از مفاهیم پایهی Go است که از راه برنامههایی برای ورودی/خروجی فایل و پردازش متن، گرافیک ساده، و کلاینتها و سرورهای وب معرفی میشود. فصلهای ابتدایی عناصر ساختاری برنامههای Go را پوشش میدهند: نحو، جریان کنترل، انواع داده، و سازماندهی برنامه در قالب بستهها، فایلها و توابع. مثالها بسیاری از بستههای کتابخانهی استاندارد را نشان میدهند و میگویند چطور بستههای خودتان را بسازید. فصلهای بعدی سازوکار بسته را با جزئیات بیشتر توضیح میدهند و میگویند چطور با ابزار go پروژهها را بسازید، تست کنید و نگه دارید.
فصلهای مربوط به متدها و رابطها، رویکرد غیرمعمول Go به برنامهنویسی شیءگرا را معرفی میکنند؛ جایی که میتوان متد را روی هر نوعی تعریف کرد و رابطها بهصورت ضمنی برآورده میشوند. آنها اصول کلیدی کپسولهسازی، ترکیب و قابلیت جایگزینی را با مثالهای واقعی توضیح میدهند.
دو فصل دربارهی همزمانی، رویکردهای عمیق به این موضوع روزبهروز مهمتر را ارائه میکنند. فصل اول سازوکارهای پایهی گوروتین و کانال را پوشش میدهد و سبکی را نشان میدهد که به نام فرآیندهای ترتیبی ارتباطی شناخته میشود و Go بهخاطر آن معروف است. فصل دوم جنبههای سنتیتر همزمانی با متغیرهای مشترک را بررسی میکند. این فصلها پایهای محکم برای برنامهنویسانی میسازند که برای اولین بار با همزمانی روبهرو میشوند.
دو فصل پایانی ویژگیهای سطح پایینتر Go را میکاوند. یکی هنر فرابرنامهنویسی با بازتاب را پوشش میدهد. دیگری نشان میدهد چطور با بستهی unsafe در موقعیتهای خاص از سیستم نوع خارج شوید و چطور با ابزار cgo برای کتابخانههای C، اتصالهای Go بسازید.
کتاب صدها مثال جالب و کاربردی از کد Goی خوبنوشتهشده دارد که کل زبان، مهمترین بستههایش و طیف گستردهای از کاربردها را پوشش میدهند. هر فصل تمرینهایی دارد تا درکتان را بسنجید و گسترشها و جایگزینها را بیازمایید. کد منبع بهصورت رایگان از http://gopl.io/ قابل دریافت است و میتوانید آن را بهراحتی با فرمان go get بگیرید، بسازید و نصب کنید.
رایانه و فناوری،زبانهای برنامهنویسی،مرجع،برنامهنویسی
زبان برنامهنویسی Go منبع معتبر و اصلی برای هر برنامهنویسی است که میخواهد Go را یاد بگیرد. این کتاب نشان میدهد چطور با Goی شفاف و اصطلاحی، مسائل واقعی را حل کنید. کتاب فرض نمیکند از قبل Go را بلد باشید یا با زبان خاصی کار کرده باشید؛ پس چه با جاوااسکریپت راحتتر باشید، چه با روبی، پایتون، جاوا یا C++، آن را در دسترس خواهید یافت.
فصل اول یک آموزش از مفاهیم پایهی Go است که از راه برنامههایی برای ورودی/خروجی فایل و پردازش متن، گرافیک ساده، و کلاینتها و سرورهای وب معرفی میشود. فصلهای ابتدایی عناصر ساختاری برنامههای Go را پوشش میدهند: نحو، جریان کنترل، انواع داده، و سازماندهی برنامه در قالب بستهها، فایلها و توابع. مثالها بسیاری از بستههای کتابخانهی استاندارد را نشان میدهند و میگویند چطور بستههای خودتان را بسازید. فصلهای بعدی سازوکار بسته را با جزئیات بیشتر توضیح میدهند و میگویند چطور با ابزار go پروژهها را بسازید، تست کنید و نگه دارید.
فصلهای مربوط به متدها و رابطها، رویکرد غیرمعمول Go به برنامهنویسی شیءگرا را معرفی میکنند؛ جایی که میتوان متد را روی هر نوعی تعریف کرد و رابطها بهصورت ضمنی برآورده میشوند. آنها اصول کلیدی کپسولهسازی، ترکیب و قابلیت جایگزینی را با مثالهای واقعی توضیح میدهند.
دو فصل دربارهی همزمانی، رویکردهای عمیق به این موضوع روزبهروز مهمتر را ارائه میکنند. فصل اول سازوکارهای پایهی گوروتین و کانال را پوشش میدهد و سبکی را نشان میدهد که به نام فرآیندهای ترتیبی ارتباطی شناخته میشود و Go بهخاطر آن معروف است. فصل دوم جنبههای سنتیتر همزمانی با متغیرهای مشترک را بررسی میکند. این فصلها پایهای محکم برای برنامهنویسانی میسازند که برای اولین بار با همزمانی روبهرو میشوند.
دو فصل پایانی ویژگیهای سطح پایینتر Go را میکاوند. یکی هنر فرابرنامهنویسی با بازتاب را پوشش میدهد. دیگری نشان میدهد چطور با بستهی unsafe در موقعیتهای خاص از سیستم نوع خارج شوید و چطور با ابزار cgo برای کتابخانههای C، اتصالهای Go بسازید.
کتاب صدها مثال جالب و کاربردی از کد Goی خوبنوشتهشده دارد که کل زبان، مهمترین بستههایش و طیف گستردهای از کاربردها را پوشش میدهند. هر فصل تمرینهایی دارد تا درکتان را بسنجید و گسترشها و جایگزینها را بیازمایید. کد منبع بهصورت رایگان از http://gopl.io/ قابل دریافت است و میتوانید آن را بهراحتی با فرمان go get بگیرید، بسازید و نصب کنید.
(as-gbk-encoding)
The Go Programming Language is the authoritative resource for any programmer who wants to learn Go. It shows how to write clear and idiomatic Go to solve real-world problems. The book does not assume prior knowledge of Go nor experience with any specific language, so you’ll find it accessible whether you’re most comfortable with JavaScript, Ruby, Python, Java, or C++.The first chapter is a tutorial on the basic concepts of Go, introduced through programs for file I/O and text processing, simple graphics, and web clients and servers.Early chapters cover the structural elements of Go programs: syntax, control flow, data types, and the organization of a program into packages, files, and functions. The examples illustrate many packages from the standard library and show how to create new ones of your own. Later chapters explain the package mechanism in more detail, and how to build, test, and maintain projects using the go tool.The chapters on methods and interfaces introduce Go’s unconventional approach to object-oriented programming, in which methods can be declared on any type and interfaces are implicitly satisfied. They explain the key principles of encapsulation, composition, and substitutability using realistic examples.Two chapters on concurrency present in-depth approaches to this increasingly important topic. The first, which covers the basic mechanisms of goroutines and channels, illustrates the style known as communicating sequential processes for which Go is renowned. The second covers more traditional aspects of concurrency with shared variables. These chapters provide a solid foundation for programmers encountering concurrency for the first time.The final two chapters explore lower-level features of Go. One covers the art of metaprogramming using reflection. The other shows how to use the unsafe package to step outside the type system for special situations, and how to use the cgo tool to create Go bindings for C libraries.The book features hundreds of interesting and practical examples of well-written Go code that cover the whole language, its most important packages, and a wide range of applications. Each chapter has exercises to test your understanding and explore extensions and alternatives. Source code is freely available for download from http://gopl.io/ and may be conveniently fetched, built, and installed using the go get command.Computers & Technology,Programming Languages,Reference,ProgrammingThe Go Programming Language聽is the authoritative resource for any programmer who wants to learn Go. It shows how to write clear and idiomatic Go to solve real-world problems. The book does not assume prior knowledge of Go nor experience with any specific language, so you鈥檒l find it accessible whether you鈥檙e most comfortable with JavaScript, Ruby, Python, Java, or C++.The first chapter is a tutorial on the basic concepts of Go, introduced through programs for file I/O and text processing, simple graphics, and web clients and servers.Early chapters cover the structural elements of Go programs: syntax, control flow, data types, and the organization of a program into packages, files, and functions. The examples illustrate many packages from the standard library and show how to create new ones of your own. Later chapters explain the package mechanism in more detail, and how to build, test, and maintain projects using the go tool.The chapters on methods and interfaces introduce Go鈥檚 unconventional approach to object-oriented programming, in which methods can be declared on any type and interfaces are implicitly satisfied. They explain the key principles of encapsulation, composition, and substitutability using realistic examples.Two chapters on concurrency present in-depth approaches to this increasingly important topic. The first, which covers the basic mechanisms of goroutines and channels, illustrates the style known as communicating sequential processes for which Go is renowned. The second covers more traditional aspects of concurrency with shared variables. These chapters provide a solid foundation for programmers encountering concurrency for the first time.The final two chapters explore lower-level features of Go. One covers the art of metaprogramming using reflection. The other shows how to use the unsafe package to step outside the type system for special situations, and how to use the cgo tool to create Go bindings for C libraries.The book features hundreds of interesting and practical examples of well-written Go code that cover the whole language, its most important packages, and a wide range of applications. Each chapter has exercises to test your understanding and explore extensions and alternatives. Source code is freely available for download from http://gopl.io/ and may be conveniently fetched, built, and installed using the go get command.(as-gbk-encoding)