Book description
Strengthen your overall coding skills by exploring the wonderful, wild, and often weird world of esoteric languages (esolangs). Strange Code starts with a dive into the underlying history of programming, covering the early computer-science concepts, like Turing machines and Turing completeness, that led to the languages we use today. It then explores the realm of “atypical” programming languages, introducing you to the out-of-the-box thinking that comes from these unusual approaches to coding.
Later chapters address the even more unusual esolangs, nearly all of which are like nothing you’ve ever seen. Finally, author Ron Kneusel helps you develop and use two entirely new programming languages. You may not apply these languages in your day job, but this one-of-a-kind book will motivate you to think differently about what it means to express thought through code, while discovering the far-flung boundaries of programming.
You'll learn:
•How to program with pictures using Piet
•How to write two-dimensional programs in Befunge
•How to implement machine-learning algorithms using the text pattern matching language SNOBOL
•How to decipher Brainfuck code like [->-[>+>>]>[[-]+>+>>]How to design and create two original programming languages
Learning to think in these languages will make you a better, more confident programmer.
Table of contents
- Cover Page
- Title Page
- Copyright Page
- Dedication
- About the Author
- About the Technical Reviewer
- BRIEF CONTENTS
- CONTENTS IN DETAIL
- FOREWORD
- ACKNOWLEDGMENTS
- INTRODUCTION
- PART I ON PROGRAMMING LANGUAGES
- 1 A CHERRY-PICKED REVIEW OF PROGRAMMING LANGUAGES
- 2 THE ESSENTIALS OF PROGRAMMING LANGUAGES
- 3 TURING MACHINES AND TURING COMPLETENESS
- PART II ATYPICAL PROGRAMMING LANGUAGES
- 4 FORTH
- 5 SNOBOL
- 6 CLIPS
- PART III ESOTERIC PROGRAMMING LANGUAGES
- 7 THE ABCS OF ABCS
- 8 FRACTRAN
- 9 PIET
- 10 BRAINFUCK
- 11 BEFUNGE
- PART IV HOMEGROWN ESOLANGS
- 12 FILSKA
- 13 USING FILSKA
- 14 FIREFLY
- 15 USING FIREFLY
- 16 GOING FURTHER
- APPENDIX: GENETIC PROGRAMMING WITH FIREFLY
- INDEX
Product information
- Title: Strange Code
- Author(s):
- Release date: September 2022
- Publisher(s): No Starch Press
- ISBN: 9781718502406
You might also like
book
Good Code, Bad Code
Practical techniques for writing code that is robust, reliable, and easy for team members to understand …
book
Write Great Code, Volume 1, 2nd Edition
This, the first volume in Randall Hyde’s Write Great Code series, dives into machine organization without …
book
Street Coder
Computer science theory quickly collides with the harsh reality of professional software development. This wickedly smart …
book
C++ Software Design
Good software design is essential for the success of your project, but designing software is hard …