Better HN
topnewbestaskshowjobs
Log inSign up

ithrow

372 karma · joined Feb 21, 2020 (6y ago) · 311 submissions

Submissions

comment 5y ago · link · parent

Well, a pretty good reason is that C# is statically typed, which a lot of developers prefer.

Don't know, everyday I see more and more C# devs preferring Typescript for new projects.

comment 5y ago · link · parent

Projects written in java/c#/python don't have to write their own ad-hoc http api in nodejs to access playwright from their language.

comment 5y ago · link · parent

Why hasn't Clojure provide any java.util.function interfaces integration? for language a that's suppose to "embrace the host" to have "ergonomic" access to the host libs because it itself lacks an ecosystem this seems weird.

comment 5y ago · link · parent

I don't understand all the hate towards .Net.

Because it's the same over-abstracted over-engineered life-sucking ecosystem as the Java world.

comment 5y ago · link · parent

The "level of productivity" when writing a browser app is going to depend completely on your other skills as a developer and not on the superficial differences between JS and Cljs. Only language zealots say Cljs gives them "whole new levels of productivity" over JS, learn to recognize them and ignore them.

For many, learning Clojure can make them better developers but most don't keep using it once they realized they can apply all the hindsights they learn from Clojure to a more productive ecosystem.

comment 5y ago · link · parent

You can easily import the csv file into sqlite and you don't even have to create the table fields beforehand

comment 5y ago · link · parent

I haven't use Blazor but they mentioning about avoiding the json API with all the encoding/deconding that entails sounds nice, plus only doing routing in the backend. These frameworks (liveview, blazor, hotwire, etc...) seem like a nice compromise that can serve well most webapps out there.

comment 5y ago · link · parent

It's like difference between having to use something like mongodb vs postgres, in mongodb you have great flexibility but must have very high commenting discipline, in postgres, less so.

comment 5y ago · link · parent

This is the kind of misunderstanding that causes insidious bugs.

That's how all mainstream languages with a GC work, Java, C#, Ruby and Python, it's not particular to JS. And this why why languages like Clojure are nice to work with.

but it also isn't important

It's important if you really want to know why your examples work they way they do.

comment 5y ago · link · parent

Fair, is just that when I see all the css you have to write just to make a button pretty I shudder ;) It's fine I guess if your task is to only write css.

So by components you meant react components not css components?

comment 5y ago · link · parent

What css frameworks (a la bootstrap) are good to go with for that approach? any css framework that doesn't have JS?

comment 5y ago · link · parent

People are allured by the rapid prototyping aspects of Tailwind which is the main bait. It's pretty fast to see results immediately without openining the css file.

This an interesting psychological point to discuss IMO, we get lured to things that feel "fast" but actually aren't.

comment 5y ago · link · parent

For me the main reason I prefer emacs is the key bindings are better.

Genuine question, why do you think emacs key bindings are better?

comment 5y ago · link · parent

The ecosystem is fragmented between four competing "standard libraries" that overlap in functionality but each one has some feature the other doesn't have. So you can imagine the mess and frustration all this causes.

comment 5y ago · link · parent

Not having to deal with hardware is nice, and I don't think having datacenter grade internet access in your basement is realistic for most.

comment 5y ago · link · parent

If you put for example postgresql on equal footing, application and database in the same server (over unix sockets), then I guess 200 SQL statements is not a problem either for the timeline example.

comment 5y ago · link · parent

Yes, sadly, the advantage of languages with big ecosystems outweigh the advantage of these languages.

I know F# can tap into the C# ecosystem but you have the mental burden of translating every example and documentation from C# to F#. In Clojure land these is pretty bad, you have to spend a lot of time understanding these extreme over-engineered over-abstracted Java libs before you can begin to use them.

comment 5y ago · link · parent

Yeah, well, that's just, like, your opinion...

comment 5y ago · link · parent

Counter argument: the Linux kernel. (Since we are mentioning open source projects with the highest profile on earth, I don't think neither of the examples are fair)

comment 5y ago · link · parent

It's because picking a relational database, while usually the correct choice, is HARD when you're operating in an environment that changes quickly and has poorly defined specifications.

Wouldn't this apply if you are using a static typed language too? what's harder about changing the schema in the DB?

comment 5y ago · link · parent

Interop with Java to give you access to that world?

Yes but it's a big time sink, you waste time thinking on how to wrap library, and for some libs you end hitting some blockers cause Clojure's interop is not that smooth, ending up writing two wrappers, one in Java(to make the lib usable from Clojure without pulling your out) and one in Clojure.

And I'm talking about ad-hoc use of Java libs, writing a more idiomatic wrapper is a lot work. The Clojure ecosystem is pretty much abandonware at this point, even for high profile libraries.

In languages with big ecosystems, you simply just use the lib and get work done, no cognitive overhead, no time sink.

232.

Dynamic type systems aren’t even simpler(hisham.hm ↗)

28 points · by ithrow · 5y ago · 25 comments

comment 5y ago · link · parent

Is the self-hosted solution limited in some sense or feature complete?

comment 5y ago · link · parent

openstax.org

comment 5y ago · link · parent

than any other editor.

Does that includes Vim?

comment 5y ago · link · parent

Some prefer clear, flexible easy to debug code instead of coding to 15 layers of abstraction. For an HTTP API you have to discard more than half of Rails anyway.
1
7891011