Anyone who complains about code not compiling on the first try likely hasn't been coding for very long. Getting your code to do what you tell it is easy, getting it to do what you want is hard.
post
Compiling is only half the battle
That's why you know that if your code hasn't put up a fight yet, it's because it's saving its energy.
In Rust, it is 80% of the battle.
I'm so happy that, after I decided that I was gonna close Lemmy after reading the posts on the current page, this was the last one. What a great way to wrap up and go about my day after horrible current events and such.
That’s deep poetry
/s
God, I have days like this where I build a feature for a whole day nevrr compile in between as it is not done yet. Then run it and it just works.
The next day is spent in paranoia mode trying to write more and failing tests.
2-3 times in my career it happend that the tests never failed and I had just written complex code that worked on the first try.
Wait wait wait.
So, analogously...
What would JIT compiler style code be?
... oh no.
I think it would basically be a co-dependent sycophant with no personality beyond pleasing you.
These days with language services, code should be compiling after nearly every edit.
all 37 comments