[-] livingcoder@programming.dev 6 points 3 days ago

The aliens haven't yet consumed our planet in this timeline. Consider yourself lucky.

[-] livingcoder@programming.dev 2 points 4 days ago

I understand that the macro only affects compile time but I'm talking about the extra function that's included in the resulting source code when the macro is expanded during compile. Based on other feedback, it looks like the unused function is optimized away.

[-] livingcoder@programming.dev 7 points 5 days ago

This was a great post, but is the last state of the macro actually bad for performance in any way? I get that it's ugly (and we should only choose to make code less readable like this when there's actually an issue) but is it worse for runtime performance?

[-] livingcoder@programming.dev 18 points 1 week ago

Eternal Sunshine of the Spotless Mind

[-] livingcoder@programming.dev 20 points 1 week ago

I wish I could experience that. I wish our sci-fi fairytales of space travel were happening now. Alas, I must simply exist in a life lived better than a king of old, living longer than our ancestors, with food untasted by the billions before us, and all while I fly around in space within Eve Online while watching Star Trek. Life is great, but it's so easy to want it to be just that much better.

[-] livingcoder@programming.dev 21 points 2 months ago

Neovim. I tried to use it a year ago, but I felt like I was fighting it every time I just wanted to make progress on my project. VSCode doesn't get in my way. I'm going to give it another shot in a few years.

[-] livingcoder@programming.dev 22 points 2 months ago

I don't know how to get everyone I know to really understand this. Every time I bring it up in conversation, the other person just puts their hands up and explains that they're powerless to address it, so it's not even worth talking about. I don't know how to respond to the apathy.

[-] livingcoder@programming.dev 75 points 2 months ago

You can just pinch the end of a banana to start peeling it. The effort required is far less than trying to overcome the ripping force of the stem.

[-] livingcoder@programming.dev 28 points 2 months ago

I love how the solution didn't involve changing the prefix to "mcaffee_". Now users don't know who to blame. Great. That's so nice of them.

[-] livingcoder@programming.dev 36 points 4 months ago

Your team needs to have a coding standards meeting where you can describe the pros and cons of each approach. You guys shouldn't be wasting time during PR reviews on the same argument. When that happens to me, it just feels like such a waste of time.

[-] livingcoder@programming.dev 19 points 6 months ago

It's surprising how useful ChatGpt is in these situations. Honestly, it's a great general purpose search engine.

[-] livingcoder@programming.dev 57 points 1 year ago

As someone who learned a lot from C++ and that now loves Rust, this annoys me.

view more: next ›

livingcoder

joined 1 year ago