Live data from Hacker News

Poll: What Programming Language Do You Use for Server Side Web Development?

news.ycombinator.com

121–130 of 135 posts

Re: Poll: What Programming Language Do You Use for Server Side Web Development?

#121

I haven't found a web server language to my liking yet. Maybe I'm too picky, but I'd like to satisfy all of these requirements: - Static typing -- I want to eliminate as many runtime bugs as I can - Type inference -- Like in SML and Haskell - No JVM -- Personal preference, but I'd rather not pull in this monster if I don't have to. - Good pre-made web framework -- I've briefly looked at OCaml but the web frameworks s…

With type hints in Python 3.5+, does Python fit your list? Genuinely curious.

Just to add some details:

- Static typing -- Type hints enable restriction of the dynamic typing behavior of default Python to mimic static types

- Type inference -- Not familiar with the particular behavior of type inference of Haskell, but yes.

- No JVM -- Definitely no JVM, but not particularly high performance so...there is that.

- Good pre-made web framework -- Lots of good ones, Python ecosystem is fairly rich in general, but ones I have used: Django, Pyramid, Flask, etc.

Re: Poll: What Programming Language Do You Use for Server Side Web Development?

#122

Earlier quoted context omitted.

You meet a young hip developer at the train station, the train is 8 minutes late so you have a moment to talk. They tell you they love JavaScript above all else, after a brief rant about how great lexical scoping and arrow functions are in ES6 you can finally get a word in edgewise. What pieces of advice do you offer so that this poor child may avoid the mistakes of his forebears?

More than anything I would say stay slightly behind the hype wave. Take two steps back and one can see the waves of hype roll through programming blogs, HN and reddit. 10 years ago people were arguing over ORMs. Then it was dependancy injection frameworks, then SQL vs NoSQL. Now there's JavaScript and it's various frameworks and libraries. THere's always so much hype about what to use that it's easy to lost in it and…

They're not waves, they're cycles, with each successive generation rediscovering the lessons of the previous generation. I found it particularly amusing to see javascript front-end developers struggle with model/view binding strategies a few years back knowing that all of this was already hashed out by desktop developers in the 90's and terminal interface developers in the 70's. Still, react came out of that, and I don't think the desktop ever had an equivalent to react, at least not in the 90's. So every once in a while a genuinely novel idea pops up, but they're rare.

Citing Alan Kay on the difficulties of keeping up with tech:

We are fortunate that most of what is "new" is more like "particular 'news'" rather than actually "new". From the standpoint of actual categorical change, things have been very slow the last 30 years or so.

Re: Poll: What Programming Language Do You Use for Server Side Web Development?

#123
post #77

Earlier quoted context omitted.

Can you elaborate on this?

See: https://deusu.org The backend is written in Pascal. With the exception of the blog. That is written in Node.js. I did that as a way to learn Node.js. But as soon as I find some time I'll rewrite that in Pascal too.

I probably should also add that I'm using FreePascal - not Delphi - and that the servers are a mix of Windows and Linux.

Re: Poll: What Programming Language Do You Use for Server Side Web Development?

#124
post #18

Swift

I've been interested in using Swift for webapp too. Anyone has recommendation for a good framework?

I'm using Vapor on a new project and I really like it. The biggest stumbling block at the moment is that the Swift Package Manager can't resolve packages having dependencies on different versions of other packages. I'm using Vapor with Zewo's PostgreSQL ORM, and upgrading either one is an exercise in frustration.

Re: Poll: What Programming Language Do You Use for Server Side Web Development?

#125

I haven't found a web server language to my liking yet. Maybe I'm too picky, but I'd like to satisfy all of these requirements: - Static typing -- I want to eliminate as many runtime bugs as I can - Type inference -- Like in SML and Haskell - No JVM -- Personal preference, but I'd rather not pull in this monster if I don't have to. - Good pre-made web framework -- I've briefly looked at OCaml but the web frameworks s…

Maybe Typescript? (On Node.js obviously for server side).

Re: Poll: What Programming Language Do You Use for Server Side Web Development?

#126
post #64

Groovy

Despite the apparent lack of popularity, Groovy with the Grails framework is certainly better suited for web development than many (I would dare to say, most) of the programming languages listed above. Of course, it also matters what kind of web development we are talking about. Is it web services or web applications? I think the requirements are quite different between the two.

After its leadership changed in 2005, Groovy was commandeered to be primarily a scripting language for Grails. A Ruby-like meta-object protocol was added to Groovy so Grails would be Rails-like. Groovy's never really broken free of this shackle, despite its failure around static typing and Android, or use for defining builds before Gradle 3.

Re: Poll: What Programming Language Do You Use for Server Side Web Development?

#127
post #23

Languages that are cool/hip/popular here will win. Odd that Golang was left out with it fitting that criteria... but I still stand by the assertion :)

I saw it just now, so by now its already added and stands 6th most used (not bad for a relatively new language) for server side web development.

I like it a lot, have been using it since 2013. I bet its going to rise in usage.

A minor point regarding its name usage. We should always call it Golang on HN & comments etc or in searches, as 'Go' is such a common word. I always try to to a ctrl-f for golang. And I am sure many other gophers do.

Re: Poll: What Programming Language Do You Use for Server Side Web Development?

#128

I use PHP for a long time. But now I see Python and JavaScript are the most used languages. I just wonder which one of them will be a true choise after PHP?

Both, neither, does it really matter? In my experience any server-side programming language will be good enough for 99% of the websites out there. Once you get up to the size of a google, twitter, facebook, etc. then you can start worrying about which server-side language you should use. Otherwise just use whichever one you prefer.

But the PHP looks like it's going to die. So how can you explain popularity of Python and JavaScript? PHP, Python and JavaScript; all of them can make same job? Any differences in performance?

Re: Poll: What Programming Language Do You Use for Server Side Web Development?

#129
post #122

Earlier quoted context omitted.

More than anything I would say stay slightly behind the hype wave. Take two steps back and one can see the waves of hype roll through programming blogs, HN and reddit. 10 years ago people were arguing over ORMs. Then it was dependancy injection frameworks, then SQL vs NoSQL. Now there's JavaScript and it's various frameworks and libraries. THere's always so much hype about what to use that it's easy to lost in it and…

They're not waves, they're cycles, with each successive generation rediscovering the lessons of the previous generation. I found it particularly amusing to see javascript front-end developers struggle with model/view binding strategies a few years back knowing that all of this was already hashed out by desktop developers in the 90's and terminal interface developers in the 70's. Still, react came out of that, and I d…

Even react is based on 4 decade old ideas; Component based programming (at least the idea of it) has been around since the 60's.
Post reply on HN