---
title: "[Rust Maven] Function parameters and data science"
timestamp: 2023-12-20T08:05:01
published: true
description: ""
---

Hi,


## Articles

How can you write a function that will handle all the number types? Use generic types.

* [Generic types for function parameters in Rust 🦀 ](https://rust.code-maven.com/generic-types-for-simple-function)

What if some of the parameters in a function can have default values? A little example with macros.

* [Default arguments for functions in Rust using macros](https://rust.code-maven.com/default-arguments-for-functions)


## Videos

If you are interested in Data Science, this video gives you a lot of ideas to explore.

[A Data Scientist's Guide to the Rust Programming Language](https://www.youtube.com/watch?v=E_je8_5WeDk) by [Lincoln Colling](https://github.com/ljcolling).
The [slides](https://talks.colling.net.nz/sds/) of this presentation.


## Slides

No new [Rust slides](https://rust.code-maven.com/slides/rust/)

## Sharing the articles

If you like the articles you read here, please share them with others. It will be great for them and it will help me too reaching more people.
You can forward the email, share the links privately, or publicly.

Please invite others to the [Rust Maven](https://rust.code-maven.com/) web site and to this newsletter.

## Support

I would like to justify the time I spend on writing these articles and working on the [Open source projects](https://rust.code-maven.com/projects).
Your support via [GitHub](https://github.com/szabgab/) or [Patreon](https://www.patreon.com/szabgab) would help a lot!


Enjoy!

[Rust Maven](https://rust.code-maven.com/)

  Gabor

   ------------------------------------
If you like the content please share it with others and recommend them to sign up to the [newsletter](https://rust.code-maven.com/subscribe).

To see all the previous posts visit the [archives](https://rust.code-maven.com/archive) and the [Rust slides](https://rust.code-maven.com/slides/rust/).

If you'd like to stop receiving my updates, reply to this email and let me know you'd like to unsubscribe.

