#borrowchecker — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #borrowchecker, aggregated by home.social.
-
So, this is an interesting thing from the Browser Company, dia. It did generate this article based on my blog and believe me, it does sound like me.
Scary, right?
#AI #ArtificialIntelligence #Coding #RustLang #ProgrammingHumor #DevLife #Productivity #TechTrends #Automation #LearningToCode #Debugging #BorrowChecker #TechReflections #selftaught
(even the tags are ai generated!) -
So, this is an interesting thing from the Browser Company, dia. It did generate this article based on my blog and believe me, it does sound like me.
Scary, right?
#AI #ArtificialIntelligence #Coding #RustLang #ProgrammingHumor #DevLife #Productivity #TechTrends #Automation #LearningToCode #Debugging #BorrowChecker #TechReflections #selftaught
(even the tags are ai generated!) -
So, this is an interesting thing from the Browser Company, dia. It did generate this article based on my blog and believe me, it does sound like me.
Scary, right?
#AI #ArtificialIntelligence #Coding #RustLang #ProgrammingHumor #DevLife #Productivity #TechTrends #Automation #LearningToCode #Debugging #BorrowChecker #TechReflections #selftaught
(even the tags are ai generated!) -
So, this is an interesting thing from the Browser Company, dia. It did generate this article based on my blog and believe me, it does sound like me.
Scary, right?
#AI #ArtificialIntelligence #Coding #RustLang #ProgrammingHumor #DevLife #Productivity #TechTrends #Automation #LearningToCode #Debugging #BorrowChecker #TechReflections #selftaught
(even the tags are ai generated!) -
So, this is an interesting thing from the Browser Company, dia. It did generate this article based on my blog and believe me, it does sound like me.
Scary, right?
#AI #ArtificialIntelligence #Coding #RustLang #ProgrammingHumor #DevLife #Productivity #TechTrends #Automation #LearningToCode #Debugging #BorrowChecker #TechReflections #selftaught
(even the tags are ai generated!) -
I did, during my previously mentioned workshop, do one thing to offend #Rust’s #borrowchecker. I was implementing an Account struct that had a current balance and a Vec containing a history of balances. This was using #PyO3 so there are some special types. Because of inheritance, I have self_ instead of self. Here’s the bad thing I said:
self_.history.push(self_.as_super().balance);
@algo_luca had to explain it to me. He didn’t even need to think about it. He instantly knew what was wrong. Now I am enlightened. I won’t make this particular kind of mistake again.
Of course the mistake is that I was trying to use a mutable reference (so I could push to history) and anything else at the same time.