[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["難以理解","hardToUnderstand","thumb-down"],["資訊或程式碼範例有誤","incorrectInformationOrSampleCode","thumb-down"],["缺少我需要的資訊/範例","missingTheInformationSamplesINeed","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-07-31 (世界標準時間)。"],[],[],null,["# Looker cookbook: Maximizing code reusability with DRY LookML\n\nThis cookbook contains a series of use cases (referred to in the Looker cookbooks as \"recipes\") for applying DRY (don't repeat yourself) principles to your LookML development, which can help you in the following areas:\n\n- Reduce duplicated code: Make your projects more manageable and less error-prone by writing DRY LookML code that is easier to understand, modify, and maintain.\n- Create reusable values and logic: Define values that can be used throughout your projects so that you only have to update them in one place if there is a change.\n- Simplify complex logic: Break code down into smaller, reusable parts.\n- Improve the organization and readability of your models and projects: Make code easier for other LookML developers to read, understand, and modify LookML.\n\nWhether you are new to LookML or an experienced LookML developer, this cookbook provides you with recipes and techniques that will help you write clean and effective code now that will save you time and effort in the future.\n\nRecipes and applications\n------------------------\n\nAll the examples in this cookbook are written for LookML developers and require [permissions to develop LookML](/looker/docs/admin-panel-users-roles#permission_sets)."]]