Stylish F# 6
Crafting Elegant Functional Code for .NET 6Kit Eason
- ناشرApress
- سال انتشار2022
- ویرایش2
- زبانEnglish
- تعداد صفحات443
- شابک9781484272046
1,073,000 تومان – 2,566,000 تومانمحدوده قیمت: 1,073,000 تومان تا 2,566,000 تومان
تحویل اکسپرس
حمل رایگان سفارشات بالای 1 میلیون تومان
پرداخت امن
امکان پرداخت انلاین یا پرداخت حضروی درب منزل
ضمانت اصالت کالا
امکان پرداخت انلاین یا پرداخت حضروی درب منزل
7 روز گارانتی بازگشت وجه
امکان پرداخت انلاین یا پرداخت حضروی درب منزل
🚀 چرا فقط به “گلیم از آب کشیدن” توی F# بسنده کنی وقتی میتونی با استایل و کلاس بالا کد بزنی؟ این کتاب فراتر از سینتکس میره و مستقیماً وارد بحث طراحی میشه. کتاب Stylish F# 6 بهترین رویکردها، راهنماییها و توصیههای لازم رو در اختیارت گذاشته تا کدی بنویسی که نه تنها زیبا و تمیزه، بلکه نگهداریش راحته و از نظر منطقی هم کاملاً درسته. این ویرایش دوم، کاملاً برای .NET 6 و F# 6 آپدیت شده و مباحث جدیدی مثل Anonymous Records و Task Computation Expression رو هم پوشش میده.
این کتاب روی تکتک تصمیماتی که یه توسعهدهنده موقع ساخت برنامههای F# میگیره تمرکز میکنه تا بتونی توی هر مرحله، هوشمندانهترین انتخاب رو داشته باشی؛ از طراحی تایپها و امضای توابع گرفته تا فواید تغییرناپذیری (Immutability) و کاربرد Partial Application.
✨ آنچه یاد خواهید گرفت
• کدنویسی به سبک Immutable: یاد میگیری چرا، کی و چطور به سبک تغییرناپذیر کد بزنی.
• ترکیب توابع و پایپینگ: استفاده از Piping و ترکیب توابع برای ساخت سریع نرمافزارهای عملیاتی.
• مدیریت خطا: آشنایی با تکنیکهایی که مدیریت خطا رو به بخشی از منطق اصلی برنامه تبدیل میکنه (مثل ROP).
• بهینهسازی: یاد میگیری چطور کدهای F# رو برای رسیدن به حداکثر کارایی (Performance) بهینه کنی.
• تزریق تابع (Function Injection): شناسایی فرصتهایی برای استفاده از تزریق تابع جهت بهبود طراحی برنامه.
• برنامهنویسی Async: درک تفاوتهای برنامهنویسی ناهمگام در F# نسبت به C#.
💡 درباره کتاب و مخاطب آن
اگه داری به زبان F# کد میزنی و دلت میخواد کدهات حرفهایتر و خوشدستتر بشه، این کتاب دقیقاً برای توئه. توی این مسیر، یاد میگیری چطور APIهایی بنویسی که هم برای F# و هم برای مصرفکنندههای C# استاندارد و کاربردی باشن. هر تصمیمی که توی کتاب پیشنهاد شده، با مثالهای قوی و دلایل منطقی پشتیبانی میشه.
📑 فهرست مطالب
- حسِ استایل (درک سبک کدنویسی)
- طراحی توابع با استفاده از تایپها
- دادههای مفقود (مدیریت عدم وجود داده)
- کار موثر با توابع مجموعهها (Collections)
- تغییرناپذیری و تغییرپذیری (Mutation)
- الگوی تطبیق (Pattern Matching)
- تایپهای رکورد (Record Types)
- کلاسها
- برنامهنویسی با توابع
- برنامهنویسی ناهمگام و موازی
- برنامهنویسی به سبک ریل راه آهن (Railway Oriented Programming)
- کارایی و پرفورمنس
- چیدمان و نامگذاری
- خلاصه و جمعبندی
بخش “Railway Oriented Programming” (فصل ۱۱) یکی از اون مفاهیم “خفن” F# هست که کدنویسی رو به شدت تمیز میکنه.
✍️ درباره نویسنده
کیت ایسون (Kit Eason): کیت یه توسعهدهنده و مدرس با سابقه بیش از ۲۰ ساله که از سال ۲۰۱۱ داره با F# زندگی میکنه. اون توی شرکت Perpetuum Ltd روی شبکههای گسترده سنسورهای لرزشسنج کار میکنه. کیت عاشق آموزش دادنه و ویدیوهای آموزشی محبوبش توی Udemy و Pluralsight حسابی طرفدار داره.
Why just get by in F# when you can program in style. This book goes beyond syntax and into design. It provides F# developers with best practices, guidance, and advice to write beautiful, maintainable, and correct code. This second edition, fully updated for .NET 6 and F# 6, includes all new coverage of anonymous records, the task {} computation expression, and the relationship between types and modules.
Stylish F# 6 covers every design decision that a developer makes in constructing F# programs, helping you make the most educated and valuable design choices at every stage of code development. You will learn about the design of types and function signatures, the benefits of immutability, and the uses of partial function application. You will understand best practices for writing APIs to be used by F#, C#, and other languages. Each carefully vetted design choice is supported with compelling examples, illustrations, and rationales.
What You Will Learn
- Know why, when, and how to code in immutable style
- Use collection functions, piping, and function composition to build working software quickly
- Be aware of the techniques available to bring error handling into the mainstream of program logic
- Optimize F# code for maximum performance
- Identify and implement opportunities to use function injection to improve program design
- Appreciate the methods available to handle unknown data values
- Understand asynchronous and parallel programming in F#, and how it differs from C# asynchronous programming
- Exploit records and anonymous records as low-overhead, easily comparable containers for structured data
This book is for any developer who writes F# code and wants to write it better.
Table of Contents
Chapter 1: The Sense of Style
Chapter 2: Designing Functions Using Types
Chapter 3: Missing Data
Chapter 4: Working Effectively with Collection Functions
Chapter 5: Immutability and Mutation
Chapter 6: Pattern Matching
Chapter 7: Record Types
Chapter 8: Classes
Chapter 9: Programming with Functions
Chapter 10: Asynchronous and Parallel Programming
Chapter 11: Railway Oriented Programming
Chapter 12: Performance
Chapter 13: Layout and Naming
Chapter 14: Summary
About the Author
Kit Eason is a software developer and educator with more than 20 years of experience. He has been programming in F# since 2011 and is employed at Perpetuum Ltd., working on an extensive network of energy-harvesting vibration sensors fitted to railway rolling stock and infrastructure. Kit is an avid F# user who is passionate about teaching others. He has contributed to several publications, including Apress books Beginning F# and F# Deep Dives. He often teaches on the topic of F# and his popular videos appear on Udemy and Pluralsight.
| ناشر | Apress |
|---|---|
| ویرایش | 2 |
| زبان | English |
| سال انتشار | 2022 |
| شابک | 9781484272046 |
| تعداد صفحات | 443 |
| قطع | B5 |
| کیفیت | اورجینال انتشارات |
| نوع چاپ | رنگی, سیاه و سفید |
| نوع جلد | جلد سخت, شومیز, طلقی |
1,073,000 تومان – 2,566,000 تومانمحدوده قیمت: 1,073,000 تومان تا 2,566,000 تومان
محصولات مشابه

نقد و بررسیها
هنوز بررسیای ثبت نشده است.