patterns
play

PATTERNS Escaping the Beginners Plateau Major Takeaway Good APL - PowerPoint PPT Presentation

APL STYLES: ANTI-PATTERNS AND PATTERNS Escaping the Beginners Plateau Major Takeaway Good APL code exposes the entire picture at a glance in a way that facilitates rapid manipulation, careful analysis, and minimal mental overhead. Not the


  1. APL STYLES: ANTI-PATTERNS AND PATTERNS Escaping the Beginner’s Plateau

  2. Major Takeaway Good APL code exposes the entire picture at a glance in a way that facilitates rapid manipulation, careful analysis, and minimal mental overhead. Not the big picture, not the abstracted details, but the entire picture in all its detail. Experienced programmers, but novice APLers, will need to consciously counteract mainstream programming tendencies to “get” APL and to gain serious benefits from its use. Success with Iverson style array programming is about a human experience more than a semantic robustness.

  3. 8 PATTERNS VS. ANTI-PATTERNS

  4. 8 Patterns/Anti-Patterns Iverson Style APL Traditional Best Practices ■ Brevity ■ Verbosity ■ Macro ■ Micro ■ Transparency ■ Abstraction ■ Idioms ■ Libraries ■ Data ■ Control-Flow ■ Structure ■ Names ■ Implicit ■ Explicit ■ Syntax ■ Semantics

  5. Thank you. The virtues of APL that strike the programmer most sharply are its tersen enes ess — complicated acts can be described briefly, its flexibil xibility ty — there are a large number of ways to state even moderately complicated tasks (the language provides choices that match divergent views of algorithm construction), and its compos posabi ability lity — there is the possibility to construct sentences — one-liners as they are commonly called — that approach in the flow of phrase organization, sequencing and imbedding, the artis istic ic possi sibi bilities lities achievable in natura ural l language ge prose se. -- Alan Perlis on APL One-liners and Lyrical Programming The human experience matters!

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend