Ibrahim Bagalwa's Avatar

Ibrahim Bagalwa

@ibrahimbagalwa

Software engineer

484
Followers
2,366
Following
18
Posts
28.12.2023
Joined
Posts Following

Latest posts by Ibrahim Bagalwa @ibrahimbagalwa

Preview
GitHub - IbrahimBagalwa/commit_msg_generator Contribute to IbrahimBagalwa/commit_msg_generator development by creating an account on GitHub.

Hi #Rustacean,
I built a simple CLI that suggests commit messages based on your git diff β€” perfect for lazy devs πŸ˜„

πŸ‘‰ github.com/IbrahimBagal...

Feel free to contribute: issues and PRs are welcome!

#Rust #CLI #Git #OpenSource

18.05.2025 20:42 πŸ‘ 7 πŸ” 2 πŸ’¬ 0 πŸ“Œ 0

🌟 Rust’s Drop Order Rules 🌟
Did you know? In Rust:

Variables (and function arguments) are dropped in reverse order of their declaration.
Nested values are dropped in source-code order.

πŸ€” Does this behavior align with your expectations? Drop your thoughts below!

28.12.2024 15:42 πŸ‘ 5 πŸ” 0 πŸ’¬ 2 πŸ“Œ 0

@iolivia.me thanks for clarification ☺️

24.12.2024 17:26 πŸ‘ 3 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Post image

From byte to "bite me"

24.12.2024 17:09 πŸ‘ 7 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Rust Strings: What's Really Stored?

In Rust, when you assign a string, the variable doesn’t store the string itselfβ€”it holds a pointer to the memory where the string starts.

So, if `let string = String::from("Hello");` points to 'H', where do the other characters go? πŸ€”

24.12.2024 16:15 πŸ‘ 3 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

Thanks for sharing, Using `?` with `Option<T>` does make things easier. I’ll check out the Clippy suggestion! Have you used it in other places too?

09.12.2024 18:54 πŸ‘ 1 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

πŸš€ Rustaceans! Let's Talk About the ? Operator! πŸš€

Did you know the `?` operator in Rust can simplify your error handling? It automatically propagates errors, making your code cleaner and more readable!

Have you used the `?` operator in your Rust projects? Share your experiences and tips below! πŸ‘‡

08.12.2024 21:09 πŸ‘ 6 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

Waow congratulations πŸ‘

08.12.2024 16:43 πŸ‘ 1 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

βœ…

08.12.2024 12:32 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Almost there thanks

08.12.2024 12:20 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Thanks for being my 10th! πŸ˜„

08.12.2024 12:19 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
Post image

Bluesky now has over 10 million users, and I was #2,778,604! But until now I don't even have 10 followers 😭
@bsky.app

19.09.2024 14:12 πŸ‘ 6 πŸ” 0 πŸ’¬ 4 πŸ“Œ 0
Preview
Firefox will consider a Rust implementation of JPEG-XL by bholley Β· Pull Request #1064 Β· mozilla/standards-positions Over the past few months, we’ve had some productive conversations with the JPEG-XL team at Google Research around the future of the format in Firefox. Our primary concern has long been the increase...

Firefox have changed their stance on JPEG XL to being supportive if a Rust implementation comes around

04.09.2024 17:10 πŸ‘ 32 πŸ” 6 πŸ’¬ 2 πŸ“Œ 0

Motivation might change your day.
Discipline will change your life.

Good morning everyone 🌞

18.07.2024 05:36 πŸ‘ 3 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Post image
16.07.2024 20:18 πŸ‘ 3 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Totally! Food + great company = tastier bites! πŸ•πŸ’•

09.07.2024 06:22 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Post image

πŸ’‘ How many parameters should a method have? Let's discuss! πŸ€”
1️⃣ 1-2 parameters
2️⃣ 3-4 parameters
3️⃣ 5+ parameters
4️⃣ Depends on the context
What do you think? Share your thoughts and experiences! πŸ“£πŸ‘‡ #CodeQuality #Programming #DevCommunity #TechTalk #SoftwareEngineering #BestPractices #CleanCode

08.07.2024 09:41 πŸ‘ 4 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

Rust now supports diagnostic attributesΒ which helps you customize the error messages you get from the... dev.to/ibrahimbagal...

03.05.2024 05:39 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Example

Example

Exciting News: Node.js Version 21.7.1 Solves Long-standing Environment Variables Issue! No External Packages Needed πŸš€ #NodeJS #Update #Documentation #developer #javascript .
πŸ“˜ If you're interested in learning more, check out the documentation here: nodejs.org/docs/latest/...

03.05.2024 02:56 πŸ‘ 5 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0