Vos commentaires

Hey Nastasia,


Great question! I think they both could act as an intermediate step to a cleaner code. Here's example:


1. You have a Primitive obsession situation(say, lots of arrays). It smells bad.

2. You turn arrays into classes.

3. Now you have a lot of Data classes. Smells better, but not that good yet.

4. You add some behaviors to data classes, and merge them together if both have similar purpose.

5. Bam! Now, you've got clean code and nice classes.


Does this make sense?

Спасибо за отзыв, Максим. Хорошая идея с тёмной темой, добавлю в список задач.

Hi, Prachi!


You should always try to do just one change at time. Yes, sometimes you could cut a corner and do several small refactorings at once. But each time you do it, you're risking making an error, since your focus is spread through all the places you changed.


Here's a metaphor. Imagine a surgery operation, where a surgeon is going to cut a person's appendix. But in the process, surgeon discovers a cancer tumor and thinks "hey, I'll gonna cut this stuff as well while I'm here". And then patient dies and nobody knows whether it was because appendix or cancer.


Hope this helps!

Спасибо, поправил! Даже нНе знаю как они просочились через 2 этапа проверок :)

Всё, проблема исправлена. Создал публичную кастомную подсветку синтаксиса.

Да, это известный баг, исправлю его на следующей неделе. На основании этого псевдокода будут примеры на реальных языках (Java/C#/PHP/Python), но позже. Всё это занимает уйму времени и я решил релизить контент частями, чтоб уже базис был бы доступен.

Всё будет, не волнуйтесь. Раздел запущен вчера в альфа-режиме. На подходе примеры на реальных языках, фиксы подствеки, и другое.

Thanks for reporting this problem. I have just uploaded the fix. Please reload the page to get the updates. If you'll still get the blank page, then clean the browser cache.


Sorry for inconvenience!