169 похожих чатов

What would you suggest to a beginner who joined his

first coding job but struggles with understanding the code base?

codebase in question is very vast, very big and bulky functions, and poorly maintained.

The business domain that the software serves is completely alien to the beginner, so he has to learn about the business domain along with understanding the codebase.

15 ответов

27 просмотров

start solving simple tasks from a backlog

How to use a debugger

Darvesh 🍀
How to use a debugger

"How to strategically place prints across the code"

Did you already get it running locally on your machine or a server at work?

Yamete-Kudasai Автор вопроса
Yamete-Kudasai Автор вопроса
Yamete-Kudasai Автор вопроса

Sounds like you've been given the shit job that nobody wants to do. My recommendation to you is the following: - Look through the code and take notes of key points for your own reference - Consider creating automated tests for things to show that they work (or don't) then you can run them whenever you want to make sure they are still doing what they are supposed to do whenever you make modifications. This gives you a safety net - Consider creating parallel versions of things. So you can have an original and a separate version of your own and then you can swap in and out your version as necessary - Try to find as many isolatable parts and pull them out into pure functions. Do this as much as possible to improve testability and reduce duplication

Turn it into microservices

Sharuzzaman Ahmat Raslan
Turn it into microservices

A pure function is a microservice with a lot less overhead 😊

D
You mean RPC

They mean that pure functions can be trivially offloaded or executed

Ludovic 'Archivist' Lagouardette
They mean that pure functions can be trivially off...

Sure but what I really mean is that they are lightweight. I mean we don't even know if this app that OP is working on involves any network connectivity

Похожие вопросы

Обсуждают сегодня

а зачем этот вопрос для удаления из чата?
Mёdkinson Medvezhkin
63
Эх кто-то пришел и весь праздник испортил :( You need complex FBX scene importing setup to change things on import? good luck with that. You need navigation and pathfinding? g...
Serg Gini
5
Какого хера? /Sources/App/Modules/User/Models/UserLinkApple.swift:21:20: warning: stored property '_id' of 'Sendable'-conforming class 'UserLinkApple' is mutable @ID(...
Alexander Sherbakov
14
Всем привет! Подскажите. Я написал приложение на Delphi 10.2 Tokyo под Windows 10. И передо мной стал вопрос о том чтобы сделать это приложение кроссплатформенным (под Linux и...
Дмитрий Завгородний
24
Привет всем. Подскажите где можно посмотреть, какая версия электрон, поддерживает версии windows? Некий changelog. Мне бы желательно, поддержку 7,8,10... latest, как понимаю и...
Anonym Squad
21
Почему стало ломаться на D11? "739002.86400000' is not a valid timestamp" function IncDateTime(aStamp:TTimeStamp;aKind:TTriggerKind;aInterval:Integer):TDateTime; //aStamp = 2...
Катерина Свиридова
8
У тебя в конфиге нигде нет deny all; или вообще любого deny?
Alexander Sherbakov
10
Портфолио: Зовут меня Александр, мне 36 лет. Город Пушкино. Общий рабочий стаж: ~14 лет Уровень квалификации: Senior Full-stack developer Где прочесть мой код? https://github....
Magic
10
Ребят, чет я уже не догоняю... Крч в коде на асм там происходит нечто вроде a+число (a+1, a+2 и т.д.). Но почему строка lea ecx, [edx+1] работает как a+1?? В edx берется адрес...
Alan 🔝 Бэброу
4
думаешь я не смогу также сделать? мне это просто не удобно
int 💳 𝙖𝙞𝙧 𝙗𝙞𝙜 𝙗𝙤𝙗 🔫 check bio / spam block / AFK / nohello.com / GMT+3
9
Карта сайта