Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
632 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,12 @@ | ||
const withTypescript = require('@zeit/next-typescript') | ||
const withSourceMaps = require('@zeit/next-source-maps') | ||
const withMDX = require('@zeit/next-mdx')({ extension: /.mdx?$/ }) | ||
require('dotenv').load() | ||
|
||
module.exports = withSourceMaps(withTypescript()) | ||
module.exports = withMDX( | ||
withSourceMaps( | ||
withTypescript({ | ||
pageExtensions: ['js', 'jsx', 'ts', 'tsx', 'md', 'mdx'] | ||
}) | ||
) | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import VisuallyHidden from 'components/VisuallyHidden' | ||
import Abbr from 'components/Formatters/Abbr' | ||
|
||
|
||
<VisuallyHidden> | ||
<h2>Введение</h2> | ||
</VisuallyHidden> | ||
|
||
Программировать — сложно. | ||
|
||
Хороший код должен адекватно отражать систему, которую описывает, и должен быть устойчив к изменениям в этой системе. | ||
|
||
Проблемы с кодом возникают, когда он перестаёт соответствовать реальности — бизнес-требованиям, правилам поведения частей системы, их отношениям друг с другом. | ||
|
||
Бизнес-правила — это территория. Код — [карта](https://wiki.lesswrong.com/wiki/The_map_is_not_the_territory) этой территории. Чем точнее карта, тем проще | ||
справляться с изменениями в требованиях и даже предвидеть их. | ||
|
||
В этой серии статей мы хотим рассказать и показать на примерах, как принципы <Abbr title="Объектно-ориентированное программирование"> | ||
<a href="https://ru.wikipedia.org/wiki/Объектно-ориентированное_программирование">ООП</a> </Abbr> могут помочь спроектировать устойчивую систему. |
Oops, something went wrong.