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
Tip the Site
Support this siteYour recognition and a small knowledge-service contribution help keep this technical work open source.Scan the WeChat Pay or Alipay code below. Logged-in and guest visitors can both tip.
WeChat Pay
Alipay
Open WeChat or Alipay and scan. No login required.
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...
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...
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...
ou’re tasked to write a lookup service for a URL-shortening company called Supercalifragilisticexpialidocious, which is in financial trouble for unknown reas...
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...
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...
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...
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...
Support this siteYour recognition and a small knowledge-service contribution help keep this technical work open source.
Scan the WeChat Pay or Alipay code below. Logged-in and guest visitors can both tip.
WeChat PayAlipay
Open WeChat or Alipay and scan. No login required.
Add Tag
Enter tag name (max 50 characters)
Share E-Book
Street Coder The rules to break and how to break them (Final Release) (Sedat Kapanoglu) (z-library.sk, 1lib.sk, z-lib.sk)
Scan QR code with your phone to access
Copy the link or scan the QR code to access this e-book on your phone
Share to WeChat Moments
Street Coder The rules to break and how to break them (Final Release) (Sedat Kapanoglu) (z-library.sk, 1lib.sk, z-lib.sk)
Scan the QR code with WeChat to open this book
Tap the ··· menu in the top-right corner
Choose Share to Moments
You are already in WeChat. Tap ··· in the top-right corner and choose Share to Moments.
Share E-Book via Email
Please enter email address
Donation Statistics
¥.00
Total Donations
0
Donation Count
Street Coder The rules to break and how to break them (Final Release) (Sedat Kapanoglu) (z-library.sk, 1lib.sk, z-lib.sk)
Find Your Favorite Books
Only registered users can comment after logging in. Comments need to be reviewed by administrators before being displayed
Loading comments...
Reply to Comment
Edit Comment