Share E-Book
Scan to open this page

Scan with your phone to open this page

Author: Sedat Kapanoglu

Rating 4.0 AI initial rating

Street Coder: Rules to break and how to break them is a programmer's survival guide, full of tips, tricks, and hacks that will make you a more efficient programmer. Software development isn't an "ivory tower" exercise. Street coders get the job done by prioritizing tasks, making quick decisions, and knowing which rules to break. Street Coder: Rules to break and how to break them is a programmer's survival guide, full of tips, tricks, and hacks that will make you a more efficient programmer. This book's rebel mindset challenges status quo thinking and exposes the important skills you need on the job. You'll learn the crucial importance of algorithms and data structures, turn programming chores into programming pleasures, and shatter dogmatic principles keeping you from your full potential. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

AI Reading Assistant

Whole-book reading guide from stratified index samples; jump to passages in the text

AI guide
【One-Line Pitch】 A pragmatic survival guide for working programmers who want to ship software without drowning in dogma—part career philosophy, part C#-flavored tour of algorithms, data structures, and types. Read it if you're early-to-mid career and suspect that "best practices" sometimes cost more than they're worth. 【Book Arc】 - **Opening (~0%–10%)**: Sets the rebel premise—software is not an ivory tower exercise, and street coders prioritize shipping over purity. Introduces the core stance: question accepted notions, stay results-driven, and treat best practices as tools to weigh rather than laws to obey. - **Early (~10%–32%)**: Moves into "practical theory"—a working tour of algorithms (Big-O in plain terms), data structures (strings, arrays, lists, queues, dictionaries, hash sets, stacks), and why these matter even to app developers who think theory is for library authors. - **Middle (~32%–48%)**: Deepens the type discussion—using custom types to carry proof of validity, leveraging framework-provided types instead of raw strings, nullable vs. non-nullable references, and the performance/design trade-offs of value vs. reference types. - **Late (~48% onward)**: The excerpts thin out here; the table of contents signals a chapter on "useful anti-patterns" (rewriting from scratch, duplicating code deliberately, avoiding inheritance and classes, even using `goto` and skipping comments), but the excerpts do not cover how these chapters actually unfold. - **Ending**: Excerpts do not cover the closing chapters or any final synthesis; readers should expect the book to extend well beyond the type-theory material sampled here. 【Key Takeaways】 - **Best practices are context-dependent, not commandments** (Opening): The book's central move is to critique well-known techniques and show cases where alternatives win. It matters because dogmatic rule-following can quietly make you slower and your code worse. - **Shipping beats elegance** (Early): Being results-driven means hitting milestones even at the cost of code polish—but the author draws a line: sacrificing code quality isn't the same as sacrificing product quality, especially with tests and clear requirements in place. - **Algorithms and data structures are everyone's problem** (Early): The Big-O walkthrough (with a memorably absurd complexity table) argues that app developers, not just library authors, pay for bad choices. Choosing the right structure is a survival skill, not academic trivia. - **State is the root of all evil, not null** (Early): Arrays are mutable and make poor interface types; prefer the smallest interface that fits (`IEnumerable<T>`, `ICollection<T>`) and minimize mutable state to minimize bugs. - **Hash codes deserve real care** (Early): Poor `GetHashCode` implementations cause collisions that cascade into dictionary slowdowns and application pain; modern .NET's `HashCode.Combine` spares you the bit-twiddling. - **Types can carry proof of validity** (Middle): Wrapping primitives in validated types (e.g., a `PostId` that can't be constructed invalid) eliminates repeated validation and whole classes of bugs—though the author warns not to over-engineer simple prototypes. - **Don't framework hard, framework smart** (Middle): Strings are a tempting hammer for URLs, IPs, and dates; framework-provided types encode validation and intent, saving you reinvention and revalidation. - **Non-nullable references change the contract** (Middle): Making references non-nullable by default means functions can stop defensively checking for null—a design shift worth understanding even if the syntax feels unfamiliar. 【Reading Tips】 - **Skim the theory chapter if you're already comfortable with Big-O and collections**—but read the type sections closely; they're where the book's "practical theory" payoff lives. - **Treat the anti-patterns chapter as a menu, not a mandate**: the excerpts don't cover it in detail, so read it with the author's own caveat in mind—know when *not* to use a technique. - **Keep a C# reference handy**: examples are C#-centric, and some idioms (records, `is null`, `HashCode.Combine`) assume modern .NET. - **Extract the decision framework, not the specific hacks**: the durable takeaway is how to weigh pros and cons and prioritize by merit, which transfers to any language. 【Coverage Limits】 This guide is based on stratified excerpts covering roughly the first half of the book (through the type-system discussion); the anti-patterns chapter and later material are visible only via the table of contents, so their content and the book's ending are not summarized here.
Page 10
t broke 62 Race toward the future 62 ■ Cleanliness is next to codeliness 64 3.4 Do repeat yourself 66 Reuse or copy? 70 3.5 Invent it here 71 3.6 Don’t use i...
View in text
Excerpt 2
t was the butt of programming jokes and is a fantastic pro- gramming language now. However, it still has some brand image issues to address. The problems of...
View in text
Excerpt 3
d, you will suffer. For want of a nail, a nation was lost. Sometimes, you have to combine values of multiple properties in a class to calcu- late a unique ha...
View in text
Excerpt 4
ou’re tasked to write a lookup service for a URL-shortening company called Supercalifragilisticexpialidocious, which is in financial trouble for unknown reas...
View in text
Excerpt 5
a team whose members are responsible for their own layers. Suddenly, the developer of the web layer needs to learn SQL. Not only that, but the changes in the...
View in text
Excerpt 6
y. We could have called it NormalizeName when we first cre- ated it, but it would have prevented us from reusing it in other fields. What we did was to name...
View in text
Excerpt 7
te, it must have broken down or you are trying to repair it. There is only one right way to put a new keystone back in correctly.” The note continued with th...
View in text
Excerpt 8
nutes to hear any screams. If not, we’re good to go. By the way, is your résumé up to date? No reason, just asking. We can write a program that tests the fun...
View in text
Tags
AI categories
SoftwareC#Programming Language
ISBN: 1617298379
Publish Year: 2022
Language: English
Pages: 274
File Format: PDF
File Size: 8.8 MB
Text Preview (First 20 pages)
Registered users can read the full content for free

Register as a Gaohf Library member to read the complete e-book online for free and enjoy a better reading experience.

Generating text preview…