Live data from Hacker News

What programming languages are used most on weekends?

stackoverflow.blog

71–80 of 299 posts

Re: What programming languages are used most on weekends?

#72
post #35

Earlier quoted context omitted.

Yeah, this is basically what I came to say. Haskell's search volume could be because it's more difficult to use than other languages, or is more poorly documented. It would certainly explain Sharepoint being so high during the work week, having struggled with Sharepoint Configuration Mountain before.

Hum... If you look at the later graph, Haskell's volume is among the lowest volumes of anything there. What really makes sense. SO format does not suit Haskell very well.

Could you elaborate on why Stack Overflow is ill-suited to Haskell?

Re: What programming languages are used most on weekends?

#73
post #40

I surprised there was no mention in the blog post or the comments so far about the homework factor. It isn't just personal side projects that people are working on over the weekend. I am betting the relative percentage of CS students on the site is also much higher on the weekend. Tags like assembly, pointers, algorithm, recursion, class, and math are all rather vague. Those topics are all discussed at length in CS c…

I expect a lot of C/C++ are from weekend game/graphics hobbyists.

I robotC for weekend Lego NXT / EV3 classes.

Re: What programming languages are used most on weekends?

#74
post #50

Earlier quoted context omitted.

I can't tell, I know many developers today who are on the new shiny js thing, golang, elixir, scalar, rust train, but they never got really good in their first language be it Java, python, or php. They use linux or OSX. But they don't know awk/sed/bash, give em a very simple problem, they would write 1000 line of OOP, united test code when a few line of scripts would solve it. I know many programmers, who graduated w…

> They use linux or OSX. But they don't know awk/sed/bash Am I in the minority of developers then? I don't know awk and sed and I'm honestly not very interested in learning them. But bash I definitely agree with. I still use a cheatsheet to get the syntax right because it's weird as hell imo.

There's no reason to use awk or sed when perl exists (a2p and s2p have existed for decades)

Re: What programming languages are used most on weekends?

#75
post #40

I surprised there was no mention in the blog post or the comments so far about the homework factor. It isn't just personal side projects that people are working on over the weekend. I am betting the relative percentage of CS students on the site is also much higher on the weekend. Tags like assembly, pointers, algorithm, recursion, class, and math are all rather vague. Those topics are all discussed at length in CS c…

> On second look, Python, C, and C++ are also the go to languages for CS classes And so is Haskell. But I doubt Unity 3D is schoolwork related.

I used Haskell for a significant portion of my CS education, it's possible you aren't far from the mark.

Re: What programming languages are used most on weekends?

#76
post #50

Earlier quoted context omitted.

> They use linux or OSX. But they don't know awk/sed/bash Am I in the minority of developers then? I don't know awk and sed and I'm honestly not very interested in learning them. But bash I definitely agree with. I still use a cheatsheet to get the syntax right because it's weird as hell imo.

There's no reason to use awk or sed when perl exists (a2p and s2p have existed for decades)

There is no reason to use perl in situation when awk kicks its butt with clearer, shorter code free of distracting sigils and other line noise

Awk is also POSIX standard; a good remaining reason to use it (if it is a feasible alternative for a task) is that a script has to be portable outside of GNU/Linux.

Re: What programming languages are used most on weekends?

#77

One way I use Stackoverflow’s dev stats is to make educated guesses about the easiness of finding developers in 2-3 years time to maintain now-greenfield projects. Does Ruby seem to go down while Python is in steady growth? Let's move away from Rails. Swift is picking up steam? It's safe to switch from Objective-C. This dataset seems to be just fantastic for that.

In my opinion, that's what's wrong with the world. Chasing tech, pick something solid and stick with it. I have seen developers barely get decent in one language only to drop it and learn a new language. Picking up the basics of a language is easy, but it's knowing the nuisance that separates the professional from the amateur.

It's much easier to be a rockstar developer when the pool of developers is so small. The game of chasing the "best" technology is pretty much a ponzi scheme.

Re: What programming languages are used most on weekends?

#78
post #50

Earlier quoted context omitted.

> They use linux or OSX. But they don't know awk/sed/bash Am I in the minority of developers then? I don't know awk and sed and I'm honestly not very interested in learning them. But bash I definitely agree with. I still use a cheatsheet to get the syntax right because it's weird as hell imo.

"I don't know awk and sed and I'm honestly not very interested in learning them. But bash I definitely agree with." Awk/Sed are optimised for text/data processing.[0] While Bash might work, will the script work on all systems (and version)? [1] awk & predecessor sed are good for one liner programs and suitable for problems that need fast, reliable solutions. reference [0] Opening, closing files; reading, breaking and…

Then again, sed works differently on different platforms, and awk is not the same as gawk or nawk, both of which have many more features than standard awk. If you're used to the GNU implementation, you might be surprised to find your script doesn't work on a system without the gawk implementation.

On Linux, I can use this sed command: sed -i ‘s/^”//’ example.txt

That deletes any quotation marks that are at the beginning of a line. It does it in-place, and while you have the option to rename the old file and replace it with a new file with the original name (using "sed -i.bak ‘s/^”//’ example.txt" would move the existing example.txt file to example.txt.bak and write a new one in-place), if you leave out the .bak, it just writes it in-place with no backup file.

On OS X, though, that command won't work. You have to specify a backup file, even if it's blank. "sed -i “” ‘s/^”//’ example.txt" would replace the text in-place without a backup. sed -i “.bak” ‘s/^”//’ example.txt would replace the file and move the original to "example.txt.bak".

Even with sed and awk, you still have to stop and wonder if it will work cross-platform.

Re: What programming languages are used most on weekends?

#79

One way I use Stackoverflow’s dev stats is to make educated guesses about the easiness of finding developers in 2-3 years time to maintain now-greenfield projects. Does Ruby seem to go down while Python is in steady growth? Let's move away from Rails. Swift is picking up steam? It's safe to switch from Objective-C. This dataset seems to be just fantastic for that.

In my opinion, that's what's wrong with the world. Chasing tech, pick something solid and stick with it. I have seen developers barely get decent in one language only to drop it and learn a new language. Picking up the basics of a language is easy, but it's knowing the nuisance that separates the professional from the amateur.

> Picking up the basics of a language is easy, but it's knowing the nuisance that separates the professional from the amateur.

I disagree.

I went from C# to Node.js and back to C#. I learned the hell out of JavaScript, and yet I feel like nobody will ever care that I can explain some of its nuances and gotchas. Language nuances are constantly evolving anyway.

Learning Node.js unlocked whole paradigms I didn't understand in C#. I never really "got" functional programming. Switching between the two helped me understand the pros and cons of different approaches. I discovered a lot of the things I miss from JavaScript are actually there in C#, just a little off the beaten path. On the other hand, I can appreciate "the C# way" and breathe a sigh of relief that certain gotchas do not exist in that environment.

Re: What programming languages are used most on weekends?

#80
post #9

Happy to see Python-3.x taking over old Python.

Old Python, I like that. Sounds like my manager in a recent conversation: "Don't say [competing product name], say 'the legacy [product type]'. It drives home the idea that our product is the future and that product is the past."

I'm not making any judgement on the status of the Python community, just appreciating your choice of wording.

Post reply on HN