I love it when a programming language rewards you for refactoring. Like you'll be working with a piece of code and nothing feels right, it's all null checks and kludges, and then you factor out the right method and it all just sings.

Dart does this a lot. The syntax tells you when you're doing it right.

#programming #code #dart

@isaaclyman one lesson I have learned is never fight with the programming language or framework

If something feels weirdly difficult you are probably doing it wrong

And a good language will be structured to point you in the right direction, this is known as the pitt of success