Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jbergens
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
52 ms
·
481.
▲
by
jbergens
12y ago
I think you should look at a timeframe also. If you write an application today in Angular 1.x you could probably contiue to use it for about 18-24 months. It is really hard to know which frameworks will still be maintained in 24 months time
482.
▲
by
jbergens
12y ago
I just saw a demo of Knockout 3 and it looked much better than the older versions. That said I still like React and think Angular works great too.
483.
▲
by
jbergens
12y ago
I think we need something that could be called "The good parts of the Java/Ruby/C#/Javascript/... ecosystem". Showing what tools and libraries are recommended at the moment and how some of them work together. I
484.
▲
by
jbergens
12y ago
I agree that the project size (LOC and usage) matters a lot and that small projects could use almost any language. I don't agree that everything i linear. A project with 10 times the LOC is not just 10 times harder to build, it might b
485.
▲
by
jbergens
12y ago
And lambdas (or similar) has existed in C#, Python, Scala, Javascript and other languages for years. I still thinks this means that those languages has had large benefits compared to Java (7 and older). Now that Java 8 has lambdas even Java
486.
▲
by
jbergens
12y ago
VB is actually faster to compile than C# and probably a lot of other languages. Not very used now but VB.NET works well in a .NET environment.
487.
▲
by
jbergens
12y ago
Ken Thomson was (and is) also involved with creating Go and he was also one of the writers of Unix. He actually invented the B language which preceeded C, so it was close :-) I think he wrote a lot of C in Unix and was therefore part of mak
488.
▲
by
jbergens
12y ago
He kinda did. He writes that they changed from Erlang to C because of problems in Erlang. He wanted some safety or tools to help him find problems easier (actually problems in the language or libraries they used). They might develop slightl
489.
▲
by
jbergens
12y ago
I still don't see how it really helps. For organizational concerns it may be easier to say that a team is responsible for a (micro)service than for a library, but it doesn't have to be easier. If they change their API all users wi
490.
▲
by
jbergens
12y ago
Doesn't Cap-n-proto have some RPC mechanism in it? Might help for some cases.
491.
▲
by
jbergens
12y ago
I agree there are some serious problems. But a lot of the problems are worked on, like modules. I agree they should be in the language and it looks like they will be in ES6. Regarding the different languages on the server and client you do
492.
▲
by
jbergens
12y ago
But is that because you like Python, have a large code base that takes time to convert, is missing some tools, don't think javascript is mature enough or something else? I use C# myself and would not like to convert our whole app to js
493.
▲
by
jbergens
12y ago
I don't think more code will be a big problem for javascript. It seems to mostly affect start up time. Look at the asm.js tests with Massive. Also think about all js projects that use anywhere from 10 000 lince of code (LOC) to 100 000
494.
▲
by
jbergens
12y ago
Actually I think that even a lot of CPU intensive tasks could run on Node. Split them into smaller tasks (which you probably have to do anyway if you want to use multiple threads with another language) and run those as promises. Of course j
495.
▲
by
jbergens
12y ago
Maybe he is talking about an application that reads the old value first and then sends the sql code. That could happen from two users at the same time and there would be a double redraw unless you do some kind optimistic concurrency control
496.
▲
by
jbergens
12y ago
Isn't this exactly what Pike and other did not want? POJOs are not really components, you can't send them over the wire to something else, or split a system into subsystems with good security between. And CORBA did not work out.
497.
▲
by
jbergens
12y ago
Or, you want to use it in your day-to-day job where it might exist thousands upon thousands of lines of code in a not-so-FP language. I think just learning the concepts is great start. If you could rewrite your whole app, please do so. If n
498.
▲
by
jbergens
12y ago
That is a nice scale to think about. When I look back most systems I've been involved with are small with todays servers. Rarely more than 50 GB and that actually fits into memory. How many systems actually needs more than about 1000 G
499.
▲
by
jbergens
12y ago
I think it also depends on how you structure your database and how you use it. For some things a NOSQL design is great and most of them don't have to lock over multiple tables they might be very fast at getting structured records. They
500.
▲
by
jbergens
12y ago
Not sure if a queue actually helps with scaling components, at least it isn't the only way to scale components. If they are on separate servers you could just send a network call to it. It is the other components problem how to scale i
501.
▲
by
jbergens
12y ago
I think Google created Angular in part because of some problems with GWT. Of course some developers still uses GWT but others have switched to AngularJs and seems to think it is much more productive. And some combines Dart with Angular whic
502.
▲
by
jbergens
12y ago
If everybody agreed that most other languages are much better and more productive than javascript then we should have had one of them in the browsers already. And if the problem is just social/organizational then we might never get any
503.
▲
by
jbergens
12y ago
And in a large app it is hard to know if all relevant code has ran. Finding pieces that uses the code you just changed is much easier in static languages. We might not go to a fully statically typed javascript but supporting optional typing
504.
▲
by
jbergens
12y ago
I have written a couple of thousand lines in an app the last year and I have already had problems with restructuring my app. Creating new modules and moving "classes" into them or splitting classes and renaming them are very usefu
505.
▲
by
jbergens
12y ago
But there is a difference between a big site and many small sites regarding DNS caching. If 10 big sites has 1 million requests each within an hour most requests will be cached. If 1 million small sites has 10 requests each within an hour m
506.
▲
by
jbergens
12y ago
I work with Angular and Javascript as well. I don't think you should count the html code, if that is what you did. Count the javascript-code only and see how many lines you write in a week. And if the number still is as high as you
507.
▲
by
jbergens
12y ago
Again, that's the idea with competition in the market. What one group wants may not be what everyone else wants. If enough people really want a specific set of features it would be nice if a vendor/Open Source solutions implemente
508.
▲
by
jbergens
12y ago
Am I the only one who thinks some more competition would be nice? I would like to see more code move into BitBucket or similar. New version of Kiln will make it possible to use Git and Mercurial against the same repository which sounds like
509.
▲
by
jbergens
12y ago
I think a lot of people are sceptical against combination of small tools since you tend to end up having to learn how to combine them, which may or may not be easy. There is nothing stopping Google from developing an IDE that internally us
510.
▲
by
jbergens
12y ago
Visual Studio with ReSharper is also great (when working with C# code). It really makes you develop code faster. I suppose CodeRush works equally well.
More ›