Попробовали на работе предметно-ориентированное проектирование (Domain Driven Design). Это такой способ построения архитектуры, когда ты (чаще всего с помощью системы типов и ООП) описываешь физическую суть вещей, которые представлены в твоей программе.
Например, если в программе есть объект "Книга", то её нужно снабдить свойствами, которые бывают у книг в реальности: число страниц, автор, язык, тип обложки и т.д. При этом данные свойства должны быть такими, чтобы присвоить им нереалистичные значения было нельзя. Допустим, число страниц не может быть отрицательным (и скорее всего в реальном мире не может быть нулём). При попытке установить отрицательное число страниц программа должна выбросить исключение. А совсем в идеальном случае -- не дать этого сделать программисту на уровне статического анализа кода.
Описав все свойства книги, вы снабжаете её операциями, которые над ней можно сделать. Например, из книги можно вырвать страницу, и при этом число страниц уменьшается. Нет такого случая, когда можно вырвать страницу без изменения числа страниц. Вы строго программируете эту зависимость, делаете у книги метод "Вырвать страницу", а он уже уменьшает число. Кстати, свойство "Число страниц" при этом нельзя переназначить в уже созданной книге. Можно только создать книгу, передав в её конструктор (так называется в программировании функция создания объектов) заданное число страниц. Но поменять число страниц можно только специальными методами "Вырвать страницу" и "Вклеить страницу".
С помощью этого подхода вы гарантируете, что ваши объекты всегда находятся в валидном состоянии -- то есть таком, которое возможно в реальной жизни с объектом, представленным программой.
Плюсы подхода очевидны: меньше число ошибок. Код описывает сам себя, и программист, если не лезет внутрь объекта "Книга", вообще не сможет сделать с книгой ничего недопустимого.
Минусы, думаю, тоже понятны: изначально проектировать сложнее, нужно учесть много нюансов, писать тесты. Время разработки изрядно растёт. Изменение требований даётся дороже: например, если каким-то образом в ваш книжный магазин поступят книги со страницами из кевлара, которые невозможно вырвать :)
Но первый проект с этим подходом мы сдали хорошо, без багов. Лучше, чем многие предыдущие.
#dev
#TOTAL crypto market cap has broken out of a symmetrical triangle pattern with strong volume confirmation. The Ichimoku Cloud is now acting as support, indicating underlying strength.
A successful retest of the breakout level would likely confirm the move and fuel a bullish rally across the crypto market.
However, if the retest fails, we could see price slipping back inside the triangle, leading to further consolidation.
Keep monitoring the price action closely for confirmation..
#TOTAL Analysis:
The TOTAL crypto market cap has broken out of its downtrend. After the breakout, it retested the trendline and then broke through the previous swing high, suggesting a potential upward move in the coming days.
#TOTAL MARKET CAP UPDATE :
Total MarketCap moved a anticipated, Index dipped down into the support zone and rejected it strongly, also, Made a quick flip above the structural resistance zone now. Currently, a retest happening and need to see it hodling above the zone then a min-term rally in the market. In case of Daily again closing below then a short correction will hit the market again.
By Crypto Australia
#TOTAL MARKET CAP UPDATE :
Index changed the market structure flipped the bearish, and given a close below too. Moreover, if we look into weekly TF, Weekly says some huge rejection past few weeks and this might be the final one. Well, overall now market kinda turning bearish, so better wait for the market to switch the direction before entering any sort of full positioning entries. Next Zone Index can reach will be $1.46T - $1.49T Support Area.
By Crypto Australia
#TOTAL MARKET CAP UPDATE :
Marketcap still in a bullish market structure, in we'll see the top view. There are some minor breaks in below but still tend to be bullish. Well, price might again text the $750B Support zone before going up. We still have room for price to reach the Resistance area of $950B Mark. Attempting fresh trades would be not preferred.
By Crypto Australia
#TOTAL MARKETCAP UPDATE :
Marketcap moving into the positive side and even though 4H given a close below of the support area of $1.59T - $1.60T, but Daily giving a close above and multiple wick rejections, showing bullishness. Well, a whole lot of push is anticipated towards the major resistance zone of $1.75T - $1.78T, where alts could fly smoothly.
By Crypto Australia
#TOTAL MARKETCAP UPDATE :
#TOTAL MARKETCAP gone as per anticipated and pushed till the Resistance area around $1.46 - $1.48. Index flipped and retest the level and pushing. Well, its a already testing a resistance, but not a good one, so in coming Days/ Weeks we can see continuation towards the major Resistance area around $1.75 - $1.78. Currently, its looks like a tiny Head and Shoulder forming, so might gonna have a retracement a bit
By Crypto Australia
#TOTAL💭
▪️Классно отрабатывают уровни и можно тем самым анализировать график биткоина по ТОТАЛу.
▪️Да, уровень 0.5 Фибоначчи всегда является магнитом. Как ни крути, цена всегда тестирует 0.5 фибо, так как, это является коррекцией падения с 69000$.
▪️Вопрос лишь в том, что произойдет раньше: тест 0,5 или 0,38? Сейчас мы стоим ровно в середине диапазона.
Что будет первым?
0,382 - 🎃 0,5 - 🔥
LINK - Maximus Trade|TWITTER
#TOTAL MARKET CAP ANALYSIS
The total crypto market cap is rebounding from the support trendline of the symmetrical triangle, with the 100MA reinforcing this level as a key support.
However, the Ichimoku Cloud remains a resistance barrier above the current price action.
A decisive breakout above both the triangle and the cloud would confirm bullish momentum and open the door for further upside in the market.
#TOTAL MARKET CAP ANALYSIS
The total crypto market cap is rebounding from the support trendline of the symmetrical triangle, with the 100MA reinforcing this level as a key support.
However, the Ichimoku Cloud remains a resistance barrier above the current price action.
A decisive breakout above both the triangle and the cloud would confirm bullish momentum and open the door for further upside in the market.
#TOTAL MARKET CAP ANALYSIS
The total cryptocurrency market cap is consolidating within a bull flag pattern. It is currently trading below the Ichimoku Cloud, which is acting as a resistance barrier above the current price action.
A breakout above the Ichimoku Cloud and the pattern's resistance trendline would provide strong bullish confirmation. Conversely, if the market cap breaks below the support trendline, the pattern will be invalidated.