TadoTheRustacean

joined 1 year ago
[–] TadoTheRustacean 0 points 3 months ago

Use NixOS, snowflake!

 
[–] TadoTheRustacean 3 points 7 months ago (1 children)

JetBrains Mono Nerd font

 

This is a challenge from https://programming.dev/post/12476471

[–] TadoTheRustacean 5 points 7 months ago

Semicolons. Statement's can be written in multiple lines such as rust io::stdin(&mut foo) .unwrap(). Idk if it would work if the newlines were significant. Also when I paste something, it could be ready hard for the formatter to format it.

[–] TadoTheRustacean 1 points 7 months ago

Bash is a bigger one. Luckily there's nushell

[–] TadoTheRustacean 7 points 7 months ago

Challenge accepted! If I won't procrastinate from this procrastinating, tomorrow will be a version 2 without commas!

[–] TadoTheRustacean 7 points 7 months ago

If you know about rust you know it's a programmable programming language, meaning that you can make macros. There could be a macro that would do that but 1. Macros is rust code to write rust code so they have the complexity of rust squared 2. I said to myself the only macros I will allow myself to use in this challenge is println and allow

[–] TadoTheRustacean 8 points 7 months ago (2 children)

As you can see, rust allows you to not put semicolons at the end of code blocks. The presence of semicolons is not a language killer. It's a very hard language, but its worth it.

[–] TadoTheRustacean 3 points 7 months ago (1 children)

JetBrainsMono Nerd Font

 

[–] TadoTheRustacean 11 points 1 year ago (4 children)

Installing linux. If you are in a more comfortable environment you will be better at working

[–] TadoTheRustacean 1 points 1 year ago (1 children)

I am hopeless at getting the text_ptr simpler than i64::from_str_radix(&format!("{:p}", my_string)[2..], 16).unwrap(); How can i get it the normal way?

[–] TadoTheRustacean 1 points 1 year ago (3 children)

What mistakes?

175
poorPenguin (programming.dev)
 
 
view more: next ›