893 karma · joined Oct 2, 2020 (6y ago) · 241 submissions
comment 4y ago · link · parent
Maybe a source generator would be applicable here? Not as nice has having it built into the language of course, but it would at least eliminate these runtime costs.
comment 4y ago · link · parent
comment 4y ago · link · parent
comment 4y ago · link · parent
What makes me most skeptical about Blazor though, is that it's shifting a huge burden to the client just to make developers happy. Even if the runtime is stripped down and compiled to wasm, it seems kinda wild to send a whole runtime just so you can run C# code, especially when there's alternatives like Rust that require no runtime.
What's funnier too, is that it's been possible to write F# on the frontend for a while now, compiling down to javascript (like clojurescript). It makes me wonder why this approach was never done with C# too, even if there are pitfalls in compiling to javascript.
comment 4y ago · link · parent
B needing that high-level discussion doesn't mean B isn't a good developer, and A being narrowly focused on implementation details doesn't mean A isn't a good developer. But they both need to be able to meet each other in the middle to be most productive.
comment 4y ago · link · parent
I've had coworkers unable to write basic emails without someone helping them; or worse, they can't clearly explain their thought process on anything and are confused when you're unable to read their mind, verging on some kind of mind-blindness.
Of course, not everyone is this bad. But by the nature of the work, chances to practice communication skills are few and far between.
comment 4y ago · link · parent
I know the original intention of WASM was to peacefully coexist with JavaScript, not replace it, but one can dream.
comment 4y ago · link · parent
comment 4y ago · link · parent
Some examples:
- F#: https://github.com/ChrisMarinos/FSharpKoans
- Ruby: https://github.com/edgecase/ruby_koans
- Powershell: https://github.com/vexx32/PSKoans
comment 4y ago · link · parent
Putting it that way, I can see why someone would appreciate that Rust guarantees safety by default, instead requiring you to opt-out explicitly when needed (with `unsafe`), versus the opt-in nature of RAII - for greenfield projects, anyway.
comment 4y ago · link · parent
But from the little I've learned about modern C++ and RAII, I wonder how systems engineers will respond to Rust in the long-term. Memory safety seems to be the primary argument in favor of using Rust, but what would be easier - rewriting everything in Rust, or refactoring existing code to take advantage of RAII?
comment 4y ago · link · parent
> What Ben-Yosef has produced isn’t an argument for or against the historical accuracy of the Bible but a critique of his own profession. Archaeology, he argues, has overstated its authority. Entire kingdoms could exist under our noses, and archaeologists would never find a trace. Timna is an anomaly that throws into relief the limits of what we can know. The treasure of the ancient mines, it turns out, is humility.
comment 4y ago · link · parent
Sure, I could have used one of the million workout apps that are out there, but I feel more invested when I am completely in charge of collecting, managing, and using my data. I don't have to leave it up to someone else to gameify my exercise; I get to decide how.
comment 4y ago · link · parent
One might say that this simply signals the success of these languages in attracting newer programmers. Senior developers should have this fundamental knowledge regardless of language.
I've read numerous impassioned calls to use a given language like this over time. Clojure, Haskell, every flavor of Lisp there is. More times than not, it leads me to a few weeks of buying into the hype, believing it's going to be the most transformational experience I've had as a developer.
Lines like this seduce you so easily; who wouldn't want to be able to express their ideas with so little friction?
> _ is the most expressive and flexible language. You can reach a flow-state where ideas can freely flow from your mind into code
And these languages can be a good way to learn new ideas and paradigms, sure. But for me, a lot of their usefulness ends there.
The tooling, documentation, community, and everything else beyond the language often matter as much as the language itself. And for better or worse, you simply have more eyeballs on these things as the language gets more popular.
comment 4y ago · link · parent
Even though I like music quite a bit, do I want to dedicate multiple terabytes and hours of my time building out and managing a personal catalogue of music I like? Because this is exactly what Spotify gives me for the majority of artists, with 0 effort.
comment 4y ago · link · parent
The Dijkstra stuff on day 15 is what ended it for me; like you said, python makes it easier to prototype stuff, so if you need to learn/relearn algorithms you never use day to day, it's so much more forgiving.
comment 4y ago · link · parent
I remember having to manage so many folders of mp3s, manually syncing them to devices. And paying $.99 a song meant a very limited selection. I often relied on free iTunes playlists to find new music, because I couldn't afford to buy new music at the time.
They've eliminated all of these problems. Pay $10-15 a month, and you can listen to whatever you want, wherever and whenever.
I say this purely from the consumer's perspective, though - I'm not super familiar with what artists' experience is like. On one hand I'm sure Spotify broadens your audience quite a bit, but I wouldn't be surprised if artists run into issues similar to creators on other platforms (e.g. YouTube).
comment 4y ago · link · parent
https://docs.microsoft.com/en-us/powershell/scripting/develo...
comment 5y ago · link · parent
Although I think there is some value in principles like these, I am always wary of anyone that's overly absolute in their thinking.