Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
asdasf
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
39 ms
·
361.
▲
by
asdasf
13y ago
Your comment is even dumber than I would expect from you. That is a very impressive feat. Non-sequiturs don't become relevant because you say "DURRRR".
362.
▲
by
asdasf
13y ago
>One actually has local type inference Which is totally orthogonal to the power and expressiveness of the type system. I specifically gave an example that C# also has crappy limited type inference too, and is still java-style static typ
363.
▲
by
asdasf
13y ago
http://en.wikipedia.org/wiki/Non_sequitur
364.
▲
by
asdasf
13y ago
I don't use racket obviously, but looking through the docs on typed racket it certainly looks like it adds java-style static typing. Having crappy partial type inference doesn't make the type system powerful or expressive, C# has
365.
▲
by
asdasf
13y ago
>One of the main benefits of static typing is to detect errors at compile time Obviously. But a static type system that lacks power and expressiveness is very constraining and can detect very few classes of errors. Hence the example of
366.
▲
by
asdasf
13y ago
People constantly repeat that, but I never see it actually be true. I frequently see people spend tens or even hundreds of thousands of dollars on hardware and hosting costs just to save $5k of developer salaries. Just because they have i
367.
▲
by
asdasf
13y ago
But that comment is such a transparent and absurd red herring that it is an insult to your intelligence to repeat it. People talk about PHP too. That doesn't stop them from shipping products using it. Talking about languages has abs
368.
▲
by
asdasf
13y ago
ByteStrings are not the alternative to Strings! Text is.
369.
▲
by
asdasf
13y ago
You are just saying the equally wrong thing on the opposing side. You can get to 2x without giving up anything. Lists are just a data structure. So are vectors. You don't give anything up to choose one or the other, you pick the ri
370.
▲
by
asdasf
13y ago
Yeah, nobody would let anything important rely on an application written in C. Like apache or nginx. Or postgresql. Or your whole operating system. That would be crazy.
371.
▲
by
asdasf
13y ago
The site's code absolutely is part of those milliseconds. Often times it can even be tbe bulk of them, particularly in cases of PHP noobs writing the code.
372.
▲
by
asdasf
13y ago
But they are essentially garbage are they not? Adding java-style static typing is not helpful at all. The benefits of static typing are very much tied to the power of the type system in question.
373.
▲
by
asdasf
13y ago
You are welcome to write shit code in go too, nothing is stopping you.
374.
▲
by
asdasf
13y ago
What do you mean? Feels like 1998 as in it is simple, easy and works? Doesn't have enough javascript errors to prevent you from making purchases?
375.
▲
by
asdasf
13y ago
I think that qualifies as me missing something obvious. Thanks.
376.
▲
by
asdasf
13y ago
>Seriously, a long time hardcore unix guy doesn't see the benefits of Linux over Windows? Nope. Linux barely even resembles unix at this point, as I mentioned. That one line shell script is also a one line shell script on windows,
377.
▲
by
asdasf
13y ago
It is interesting, because I am a long time hardcore unix guy, and I have the exact opposite feeling. I don't think linux offers any advantage over windows for a desktop/gaming environment any more. Back when we had to deal with
378.
▲
by
asdasf
13y ago
>"Controller" is one of those terms that has meant a lot of different things at different times and in different systems It has a very specific meaning: http://en.wikipedia.org/wiki/Model–view–controller &
379.
▲
by
asdasf
13y ago
Is that supposed to be a poor attempt at satire or something?
380.
▲
by
asdasf
13y ago
Am I just missing something obvious or does that product not offer any way to actually interact with and/or design a database other than raw SQL? Like, how do I add a new table, or change a column in an existing table?
381.
▲
by
asdasf
13y ago
You sound an awful lot like a troll. I have more experience with postgresql than that, and it is literally the single least problematic major software project I've ever used.
382.
▲
by
asdasf
13y ago
Yes, ironically the web frameworks that explicitly say "we're not MVC" tend to be much closer to actual MVC than the ones that call themselves MVC frameworks.
383.
▲
by
asdasf
13y ago
>But take something like "new users are sent a welcome email." Would you put that in the model? Yes, 100% absolutely, no question. >That fits into the class of behavior and belongs in a controller. The controller is just to
384.
▲
by
asdasf
13y ago
>Unless your definition of model is the business logic area of your application. Yes, that is the definition of the model in MVC.
385.
▲
by
asdasf
13y ago
>Views inform the controller, controller updates the model No, that's not how it is supposed to work. The idea that everything has to pass through a controller for no reason, and that we need a controller per view, is the rails bas
386.
▲
by
asdasf
13y ago
Rails started out as a "the database is stupid, it is just storage" and "models are just object wrappers over your stupid database" as defining characteristics. And it has always had this weird notion that everything ha
387.
▲
by
asdasf
13y ago
I am amazed at how one web framework managed to completely redefine a long standing pattern in such a short time. MVC is quite old, and well established, and was even used in web development well before rails came along. But now suddenly
388.
▲
by
asdasf
13y ago
>If you can't see this story as indicative of a much larger problem, you're being intentionally dense. If you can respond without completely ridiculous strawmen, then you are being intentionally dishonest.
389.
▲
by
asdasf
13y ago
>Do you not understand what referential transparency is? Yes. I also understand what a petulant child throwing a tantrum is. Nothing you have said is relevant to my post, it is just misguided anger.
390.
▲
by
asdasf
13y ago
Except that is exactly what is happening in the case the article presents.
More ›