Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
asdasf
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
54 ms
·
541.
▲
by
asdasf
13y ago
>I write lots of C++ too I know, that's why you say completely backwards things like "masochistic type system". You are ignorant of haskell, and instead apply your experience with statically typed languages with inexpress
542.
▲
by
asdasf
13y ago
But reassurance of what? That's exactly what I mean, what kind of evil spirits do people believe are going to make a general purpose programming language incapable of being used to write a web app? This is the exact same FUD that peo
543.
▲
by
asdasf
13y ago
>Without a web framework what do you get? A few buffers to read/write some bytes to. Have fun writing your parsers, dispatchers, database connection pool handling, object relational mapper, etc, etc, etc... and especially have fun m
544.
▲
by
asdasf
13y ago
Mature is a virtue, but "popular app was written in language X" isn't an indication of maturity, it is an indication of a particular app getting popular. The whole reason I used the term goblins is that without specifying wh
545.
▲
by
asdasf
13y ago
Postgresql doesn't offer proper timezone storage, or in fact any timezone storage. Timestamptz is just a UTC timestamp that is converted to/from your connection-specified timezone. You completely lose the "what timezone was
546.
▲
by
asdasf
13y ago
>That's true in the trivial sense I think it is true in the actual real world practical sense too. Consider how many web applications are just plumbing between a database and a browser. 95% of my app is in a MonadIO.
547.
▲
by
asdasf
13y ago
>What frameworks do: impose structure and convention on the design of programs. So, nothing? Convention doesn't prevent things from breaking when you make changes. >Haskell has them too I know, I use two of them. And I haven&#x
548.
▲
by
asdasf
13y ago
>Am I being unfair? I'm not sure I would call it unfair, but I wouldn't call it reasonable or logical. You don't have to use haskell for your front end development if you don't have someone to do it. You don't
549.
▲
by
asdasf
13y ago
That seems like a very bizarre way for technical people to behave. "I'll assume this general purpose programming language must have some weird problem that somehow makes it unusable, but people can only find out about that proble
550.
▲
by
asdasf
13y ago
>Web is almost entirely about I/O, which Haskell treats as an unfortunate aspect of programming that is to be made as unpleasant as possible so it will be avoided except where unavoidable. That isn't what haskell does though, t
551.
▲
by
asdasf
13y ago
What framework, and what is it doing to help with maintenance? My experience has been that typical RoRish frameworks are so heavily concerned with trying to make the initial writing of the app easier that they actually hinder long term mai
552.
▲
by
asdasf
13y ago
>it’s reasonable to ask whether the intent was to print the total of the numbers collected by the loop so far. Yes, it is reasonable to ask that. But you just said it was incorrect, you didn't ask that. >That this side discussio
553.
▲
by
asdasf
13y ago
What is incorrect about it?
554.
▲
by
asdasf
13y ago
>The Python code has the added advantage of actually being correct, assuming that the intended behaviour really is to add up the total of all entered numbers over time as the output suggests. What output? I don't understand why you
555.
▲
by
asdasf
13y ago
How do you come to that conclusion? I am all about the product, which is why it isn't open source.
556.
▲
by
asdasf
13y ago
>I don't know what mature means, but they are not used by high-profile applications. Does that mean that if my website becomes "high-profile" next month haskell will have suddenly become a better language than it is now, w
557.
▲
by
asdasf
13y ago
I've had the opposite experience. Everyone I know who does web development is frustrated by the poor quality of work they produce, and how hard it is to maintain the projects they've done. Re-writing a project from scratch every
558.
▲
by
asdasf
13y ago
The appeal for me is that it is an expressive, high level language with a useful type system and high performance. It is a pleasure to program in.
559.
▲
by
asdasf
13y ago
>The real question is why use Haskell instead of something else that most people generally consider targeted at the web? That applies to any language. Why use perl? Why use PHP? Why use ruby? Why use java? Web development isn't
560.
▲
by
asdasf
13y ago
Lets throw reason and common sense to the wind and pretend the subjective "haskell is ugly" is objectively true. Given that, could you explain to me how you make the seemingly wild and random leap to "haskell is suitable for
561.
▲
by
asdasf
13y ago
>I'm just getting started with Haskell and there will soon come a time where I need to jump in the deep end Your implication is that "jump in the deep end" means learn category theory. That is entirely unnecessary. If yo
562.
▲
by
asdasf
13y ago
The lack of date/time inputs is so sad. Easily one of the simplest and easiest to add features of html5 that is directly beneficial to users, and we're moving backwards to having less support for it.
563.
▲
by
asdasf
13y ago
That you don't need a type signature, or any explicit type information at all. Because the compiler already knows it has to be a list of Ints, you can just call read and it knows it has to be converting that string to an int. In a un
564.
▲
by
asdasf
13y ago
That isn't an issue of static typing, it is an issue of explicit typing. I program in a statically typed language. When I don't feel something warrants a type signature, I simply don't write one. Type signatures are compil
565.
▲
by
asdasf
13y ago
>Functional languages are a terrible mismatch for this How? That is precisely what I use haskell for, and it has been by far the least terrible programming experience of my life. >'No side effects' is great for certain type
566.
▲
by
asdasf
13y ago
>Also, are you really going to call-out Rob Pike and Russ Cox on whether or not they truly understand Functional Programming like you do? Appeal to authority really only works if the people you mention are authorities. On what basis wou
567.
▲
by
asdasf
13y ago
>Static typing violates the DRY ("Don't repeat yourself") principle concerning code reuse How did you come to that conclusion? I can't see any way that static typing "violates" DRY.
568.
▲
by
asdasf
13y ago
I think go does have a niche, and it is "python/ruby devs". Yes, its niche is a set of people, not a particular role. Because go is so simple for a typeless developer to learn, and has essentially no downsides and a massive
569.
▲
by
asdasf
13y ago
What? Everyone coming from python/ruby/javascript maybe, but there's also a heck of a lot of us who wanted to like go but find it too primitive and inexpressive. I tried go while I was still a confused haskell noob, and I s
570.
▲
by
asdasf
13y ago
All the software in the poll is general purpose monitoring/restarting software. It isn't software designed to be multi-process and monitor its own child processes.
More ›