• 0 Posts
  • 144 Comments
Joined 2 years ago
cake
Cake day: June 26th, 2023

help-circle
  • stingpie@lemmy.worldtoProgrammer Humor@programming.devRust
    link
    fedilink
    arrow-up
    10
    arrow-down
    4
    ·
    edit-2
    2 days ago

    I struggle to learn rust because the semantics and syntax are just so awful. I would love to be enthusiastic about rust, since every seems to love it, but I can’t get over that hurdle. Backporting the features into C, or even just making a transpiler from C to rust that uses annotations would be great for me. But the rust community really does not seem interested in making stepping stones from other languages to rust.





  • From my experience, being “good” at vibe coding is more about being unable to detect flaws in AI generated code rather than being able to code well. Add AI to the workflow of someone who actually understands scalability and maintenance and that won’t be able to get past a couple functions before they drop the AI.

    Also, assuming this kid gets weekends off, he would be writing 12k lines of code each day. I don’t think the average programmer could even review that number of lines in a day, so there’s likely no actual supervision for what the kid is feeding into the codebase.

    I’d estimate within four months the project will be impenetrable, and they’ll scrap the whole thing.



  • You make a good point. I’m interested to know how old you are, because the ‘correct’ way to teach math has been debated for 70ish years New math was introduced in the 50’s, and emphasized the understanding of how base-10 works. This is commonly mistaken for common core math,which put even more emphasis on understanding the procedures used for math rather than the right answer. When I grew up, addition was mainly based in new math, whereas multiplication was introduced as successive addition, but was mostly focused on memorizing tables.






  • Sorry for being off-topic, but I don’t think I understand anarchism as a political philosophy. Isn’t anarchism the absence of imposed rules? Communal resources seems to go against that, (it does make sense that the players get to divvy it up, though) and being cursed by the gods feels like a more theocratic thing than anarchist. Im not trying to be rude or anything, I just like to pick people’s brains about this stuff.


  • After reading a lot of comments in this thread, I’m not sure I know what spaghetti code is. I thought spaghetti code was when the order of execution was obfuscated due to excessive jumps and GOTOs. But a lot of people are citing languages without those as examples of spaghetti code. Is this just a classic “I don’t like this programming language, and I don’t know much about it.” Or is there something I’m missing?


  • stingpie@lemmy.worldtoAutism@lemmy.worldKinda...
    link
    fedilink
    arrow-up
    2
    arrow-down
    2
    ·
    3 months ago

    I don’t understand the perspective that people should be more lazy. When people have lazy coworkers, they tend to suffer since they have to go above and beyond to get a task done. It’s like having a group project in school, and there’s the one guy that just does the bare minimum, so you have to work twice as hard so your grade doesn’t go down.

    And if everyone simultaneously became lazy, that would be a disaster too. You don’t want hospitals or firefighters to suddenly decide they want to just run down the clock instead of doing the best job they can.

    If you look at it only through the perspective of the morality of labor, it makes sense to say the rich are lazy and so it’s fair for the poor to be equally lazy, but when you look at the larger picture, it’s a lot less cut and dry.

    The truth is, our current standard of living is based on the amount of work people do. If everyone suddenly became less productive, we would enter a recession or an economic depression.



  • You always have to package good people with secret shames so suspicious players can gauge how good or evil they are. What people feel they need to hide is a good measure of what they consider acceptable. For example, a lawful good character could be ashamed by ignoring a person asking for help, but a lawful evil character might be ashamed that they indiscriminately murdered adults & children.