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

help-circle
  • If you gonna rant, please make it at least comprehensible. You went from “JS is flawed” to “everyone is wrong these days” within three paragraphs like wth.

    I also highly disagree with your premise that people think ‘simple is bad’. Things that are complicated are usually complicated for a reason. C++ for example is complicated, because it grew over decades. Rust is complicated, because it tries to be secure, capture mistakes at compile time, while allowing for concurrency and memory management, and at the same time be very efficient and give the programmer much control. It’s hard if not impossible to achieve all these goals in a language without making it complicated.

    Go on the other hand is not complicated, because Google engineers saw C++ and wanted to make something less complicated - and thus they created a simpler language. This is an example that goes directly against your argument, together with many other modern languages and frameworks that were created for reasons like this. But notably and more importantly, the most popular languages are simple. Python, JS/TS, Java - These languages are all relatively easy to use.

    I won’t pretend that I get you bit about WASM since I have little experience with it, but as far as I understand it is primarily a vehicle allowing to use programming languages for the web that weren’t designed for it. And as far as I’m aware you can do quite sophisticated things with it, so where exactly is the problem? Putting guardrails in place is rarely a bad thing, because they are easy to remove but hard to establish retroactively.


  • I don’t know and I won’t pretend it does have any statistical significance. I will just say that I have read dozens of papers and anecdotally, the results were questionable in almost all cases. And not because of the possibility that they might have missed something, but because of basic shortcomings. Some don’t even state how often they repeated their experiments, software versions, whether they accounted for caching effects, (system) temperature, hardware characteristics, you name it.

    That’s why I wouldn’t name papers a prime example for clean benchmarking. The quality on YT news outlets like Gamers Nexus or Hardware Unboxed is higher than most of them by far.






  • I know a thing or two about UI/UX, but tbh it feels very weird to me to butt in somewhere and tell people what to do. Because unfortunately, while I probably could design a good UI, I have no experience in implementing UIs.

    I can deal with C++ so I thought I might as well learn Qt, but I couldn’t even get Qt Creator or KDevelop to run properly on my distro and didn’t find the time to get into it since.

    This stuff sadly not that trivial which is probably why you don’t find too many people who can do it.


  • I thought about explaining why, but ultimately decided against it. Felt like it would take much of the hotness out of the take :D

    My rationale is that C++ not only implements pretty much every concept there is, it allows for high- as well as low-level programming. That way you can learn bottom-up or top-down… Or both! Whatever suits you. You can also use it for pretty much anything and natively on pretty much any platform. That’s especially great for students with tons of different devices who don’t know what they want to do later. And it has a lot of strange, basically deprecated stuff built in you can use as curious examples and to make the learning process more interesting.

    Finally, if you can deal with C++, you can deal with anything. It is a horrible yet beautiful language.



  • I honestly think the scripting languages like fish have got it right.

    Newline by default completes a line and can optionally be escaped. Saves you most of the semicolons and even implicitly highlights multi-line statements.

    Whitespace doesn’t matter except for separating names.

    Blocks are explicitely ended without braces you can confuse with brackets or parentheses, no matter the coding style.

    If Rust and fish had a baby, I think it would be the best language to have ever been created.






    1. Buy current gen Ryzen if you can. They are more efficient (= longer battery life) and offer more GPU muscle than their Intel counterparts. Just make sure it’s a 7X4X part, the 4 indicates it’s actually Zen 4

    2. 1000$ is way too much if all you want to do is programming. If that’s really all you want to do, all you’ll really care about is it not being complete garbage in some regard and the keyboard. Maybe the display if you want to work outside.

    Edit: I realized this might be confusing. To be clear: I mean if you want to splurge on a laptop, you might as well get a Ryzen one. I don’t recommend spending too much on a laptop used for programming only tho