show icon indicating copy to clipboard operation
show copied to clipboard

Refactoring Workshop

Open mre opened this issue 7 years ago • 4 comments

What?

Do a workshop about refactoring Rust code.

Why?

A thing that every developer does on a regular basis, is refactoring. In Rust, this is particularly pleasant - entertaining even - as the compiler supports us with many hints. To some extent, it's what makes Rust so magical to me.

How?

Start off with a working, but pretty rudimentary codebase. Ideally a small crate, whose functionality can be grasped quickly. Gradually improve it, by first showing the limitations of the old system, and then building a more idiomatic, robust version. After that, run clippy to get even more tips for improvement.

mre avatar Feb 26 '18 21:02 mre

Feel free to use my code : it's fairly small and simple.

TheSirC avatar Apr 11 '18 00:04 TheSirC

Hey, that sounds like a really good candidate! I will try to integrate that into one of the next shows. Thanks for your suggestion. 😃

mre avatar Apr 11 '18 07:04 mre

Thanks to you for your amazing work

TheSirC avatar Apr 11 '18 23:04 TheSirC

https://github.com/nickgerace/gfold

mre avatar Aug 28 '20 09:08 mre