TGTGInsightтелеграм анализLIVE / telegram public index
← Такты, стеки, два колеса

TGINSIGHT SIMILAR POSTS

Намери подобно съдържание

Изходен канал @clockstackwheels · Post #296 · 11.04

Паттерн Декоратор — специальный способ организации модулей в программе, который позволяет подставить какую-то новую функцию прямо в середину цепочки вызовов, тем самым чуть-чуть подкорректировав поведение. Например, в реальном мире очки для чтения это декоратор. Вы ставите их между вашими глазами и текстом. Глобально взаимодействие ваших глаз и текста не меняется: отражённые световые лучи от страницы книги попадают в ваши зрачки, что с очками, что без них. Но очки располагаются посередине: они принимают лучи на вход и преломляют их, передавая дальше вам в глаза уже изменёнными. Важной особенностью является тот факт, что очки можно снять. Они не требуют ни модификации вашего тела, ни модификации книги. Вообще никакие условия не нужны, кроме наличия самих очков. А если вы в линзах, то внешний наблюдатель может даже этого не знать. Класс-декоратор должен быть спроектирован так, чтобы не требовать никаких изменений в объектах, с которыми он работает. Его можно отключить, чаще всего буквально закомментировав одну строку. В примере ниже программа выведет текст "Привет, мир, в натуре.", и вот это дополнение в конце как раз дописано декоратором. Можно убрать или закомментировать подчёркнутую строчку, не трогая остальной код, для всех внешних вызовов сигнатуры останутся теми же самыми, но выводиться будет уже просто "Привет, мир". В декораторы можно прятать логику, которую буквально навешивают поверх основной функции программы. Например, проверку прав на выполнение операции. Перевод на другой язык, логирование, поддержку обратной совместимости при обновлении и так далее. #dev

Hashtags

Резултати

Намерени 1 подобни публикации

Търсене: #pricinganalyst

当前筛选 #pricinganalyst清除筛选
Data Science Jobs

@datasciencejobs · Post #2528 · 24.01.2025 г., 15:41

#vacancy#remote#dataanalyst#pricinganalyst#вакансия#удалённо Position: Pricing Data Analyst Company: Borzo (same day delivery service) Salary Range: up to 4500$ (negotiable) Employment is available in Armenia, Russia, India and Portugal. Work format: full-time, remote from any country About company Borzo is one of the biggest and most technologically advanced players in the global same-day delivery market. We provide unparalleled convenience to businesses and people, all the while creating millions of self-managed courier jobs. We strive to make delivery easier and cheaper than getting out of a house or office. We operate in multiple countries with India as the top priority, and already deliver more than 1,500,000 parcels monthly. To remain on the forefront of this promising, often surprising yet already highly competitive market, each day we have to learn more about our users than we knew yesterday and than our peers understand now. We are looking for experienced full-time Pricing Data Analyst to play a pivotal role in Borzo's growth journey. You will be working as a part of the Marketplace team with a functional reporting to the Lead of Analytics. Your mission will be to help the team to grow marketplace earnings and/or volumes within SLA constraints by continuously improving our base and dynamic pricing algorithms both for clients and couriers. What you will do • Build statistical, optimization, and machine learning models in base and dynamic pricing; • Design and execute experiments and interpret the results to draw detailed and actionable conclusions; • Help the team to find critical product/pricing problems, develop impactful hypotheses and recommend action plans. Required experience and skills • 3+ years experience as a Product Analyst, Data Analyst, or another type of data analysis-focused functions; • Experience in algorithm development and prototyping; • Successful application of base and dynamic pricing optimization models and algorithms; • Advanced proficiency in data interpretation (critical thinking, identifying biases or limitations, evaluating data source reliability, solid knowledge of statistics); • Proficiency in data manipulation (cleaning, transforming, and reshaping data, experience with Python); • Advanced SQL expertise (optimizing queries for performance, CTE, window functions); • English level B2. You will get • Opportunity to make a difference: you will influence company revenue directly; • No bureaucracy—direct communication with all stakeholders; • Flexible schedule: work at your convenience. No overtime; • Remote work or an office in any country of our presence; • Industry leaders in the company’s management; • Co-workers from 5 countries with diverse cultural backgrounds; • Competitive income with social benefits and medical insurance from day one; • Optional relocation to Portugal after 2+ years; • All necessary work equipment provided. tg: @rom4lk