Lucy :3
- 0 Posts
- 23 Comments
Though the worst flaw is still there then, which is needing to use Copilot.
Don’t worry, @[email protected] already integrated OpenAI in Emacs.
makepkg won’t even run as root iirc
That’s fucked up
Lucy :3@feddit.orgto
Programmer Humor@programming.dev•You can pry pattern matching from my cold dead hands
93·2 months agoRust:
fn getofmylawn(lawn: Lawn) -> bool { lawn.remove() }C:
bool getofmylawn(Lawn lawn) { return lawn.remove(); }With Rust you safe 1 char, and gain needing to skip a whole line to see what type something is.
Lucy :3@feddit.orgto
Programmer Humor@programming.dev•You can pry pattern matching from my cold dead hands
414·2 months agoAverage Rust code:
macro_rules! sum { ( $initial:expr $(, $expr:expr )* $(,)? ) => { $initial $(+ $expr)* } } fn remove_prefix<'a>(mut original: &'a str, prefix: &str) -> &'a str let mut up = 1; 'outer: loop {This is on the level of the esolang I made at 8 y/o, with random characters denoting random actions everywhere, at random positions.
Lucy :3@feddit.orgto
Programmer Humor@programming.dev•You can pry pattern matching from my cold dead hands
39·2 months agoAlso looking at Rust. Yeah, I totally like recompiling thousands of crates for a single webapp single-threaded.
Lucy :3@feddit.orgto
Programmer Humor@programming.dev•You can pry pattern matching from my cold dead hands
1620·2 months agoAverage Rust code:
macro_rules! sum { ( $initial:expr $(, $expr:expr )* $(,)? ) => { $initial $(+ $expr)* } } fn remove_prefix<'a>(mut original: &'a str, prefix: &str) -> &'a str let mut up = 1; 'outer: loop {Hell I don’t want to know what you define as ugly then.
Lucy :3@feddit.orgto
Programmer Humor@programming.dev•You can pry pattern matching from my cold dead hands
25·2 months agoKey point being, similar to some random languages. JS and Python Syntax don’t fit a typed and compiled language at all.
Pretty syntax would probably be something like C, where not every single character already widely reserved for specific keywords (like !, ', =) is reused in completely random ways.
Lucy :3@feddit.orgto
Programmer Humor@programming.dev•You can pry pattern matching from my cold dead hands
716·2 months agoFrom the first syntax examples on Wikipedia:
fn main() { let foo = 10; // Suddenly, types are implicit now. A safe language should never have implicit types (now it's the (IDEs) implementations judgement which type that is. Combined with the variable shadowing "feature", this seems like a major clusterfuck. Now the IDE is the sole thing to tell you that you totally fucked up the logic, and both declarations/definitions (well which one is it? Would be nice to always have a direct KEYWORD telling you which type this fucking variable has. But no, the lazy piece of shit Rust 'programmer' left that as an exercise to the dear reader. Because in they just need to leave that part out instead of explicitly stating "I'm a lazy piece of shit" by *instead* typing 'auto'.) This is just Python-level BS. Yes, I also hate C++ for its auto keyword - but at least it explicit. println!("The value of foo is {foo}"); let foo = 20; println!("The value of foo is {foo}"); }fn add_two(x: i32) -> i32 { // That is, again, the syntax of Python. Why? Because Python is explicitly untyped. So having types be a *literal* afterthought is Ok. They're fully optional anywhere there. Now we're in Rust. They're sometimes optional, sometimes not, but they're always preferred. Yet, they're also an afterthought, seemingly. x + 2 // Implicit statements are bad. Very bad. They so much invite to glossing over stuff, especially when your brain expects to see something else. Also, having every statement ended with ;, except context blocks, but suddenly *not* having statements ending with ;, is fucking ugly (which is the entire point of this rant). It's completly inconsistent. Which in itself is a huge magnet for errors. }if x > 5 { // Now why would you leave the parantheses, which are a major contributor to readability, away. Or even allow this. Rust is just memory safe, like dozens of other mainstream languages, but continues by allowing, promoting and requiring hazardous practices. println!("value is greater than five"); }Now I’m slowly getting annoyed from typing on phone (at least in nvim), and my throat gets clogged with mucus again.
Remember, some of that are subjective preferences and opinions. And the core idea of Rust - fast but safe programs - is good, yet very obvious and not innovative at all, while the syntax and implementation (of cargo (yes I like to wait an hour for a simple webapp to compile because there aren’t binary crates and cargo just doesn’t multicore 99% of the time)) is subpar to something that’s hailed as the savior for everyone and everything by such a large cult.
Lucy :3@feddit.orgto
Programmer Humor@programming.dev•You can pry pattern matching from my cold dead hands
1412·2 months agoLiterally every single bit of the syntax.
Lucy :3@feddit.orgto
Programmer Humor@programming.dev•You can pry pattern matching from my cold dead hands
7650·2 months agoAlmost any language is OK, but Rust is just so, so fucking ugly
Did you try virtualizing in i.e. QEMU?
Just don’t have windows installed.
Lucy :3@feddit.orgto
Software Gore@lemmy.world•An old screenshot of my Kdenlive being very unusual
1·3 months agoLooks like windows, acts like windows.
“beyond repair” my ass, this is Linux


DOS