What programming languages are used most on weekends?
131–140 of 299 posts
Re: What programming languages are used most on weekends?
#132Earlier quoted context omitted.
The primary point was one of mindset, but the second example in the cited section is a tailor-made sed example: Let's say you're on my team, and I've decided I'm a real stickler for code formatting. But I've got peculiar tastes, and one day I decide I want to have all parentheses stand out very clearly in your code. So let's say you've got a set of source files in C, C++, or Java. Your choice. And I want you to modif…
Y'know - after thinking about it a little, I'd argue that this is a question that could serve a second purpose. The obvious out-of-the box implementations of this in sed/perl/etc. would all fail to properly handle open and close parens in strings and comments. Particularly multi-line comments and strings with escaped quotation marks inside of them. I like sed. I like perl one-liners. I would consider it a mistake to…
The point of the question is more to gauge your understanding of/familiarity with available tools and ability to think laterally rather than immediately jump to "I've got to write some real code to solve this"
Re: What programming languages are used most on weekends?
#133Earlier quoted context omitted.
The primary point was one of mindset, but the second example in the cited section is a tailor-made sed example: Let's say you're on my team, and I've decided I'm a real stickler for code formatting. But I've got peculiar tastes, and one day I decide I want to have all parentheses stand out very clearly in your code. So let's say you've got a set of source files in C, C++, or Java. Your choice. And I want you to modif…
Whoops, didn't notice that one. Thanks for linking that post by the way. Great read.
Re: What programming languages are used most on weekends?
#134...which means quite a few Saturday mornings in Asia have been counted as weekdays and many late Friday nights in the Americas have been counted as weekends.
It would be great if StackOverflow had information on the local timezone that the question was asked in. Seeing Mon-Fri 9-5 vs other times would be interesting.
Re: What programming languages are used most on weekends?
#135Earlier quoted context omitted.
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.
I like Perl a lot better than awk, buy I do agree with the general sentiment of using the language that makes for the clearest code for the task at hand, especially the smaller ones. Which makes me a frequent awk proponent. So I'm surprised at the following part of your comment: > There is no reason to use perl in situation when awk kicks its butt with clearer, shorter code free of distracting author and other line n…
Re: What programming languages are used most on weekends?
#136I was kinda surprised that Go (golang) wasn't up in the list
I was expecting to see Rust - I thought it was a considerably 'hotter' language than reflected by its current use in the wild. Also, I find SO's coverage of it lacking. So maybe it's more about people sourcing the information elsewhere - relatively good docs, active and helpful community in IRC, and more Q&A on Reddit (albeit mostly - again, anecdotally - out of date, but still) than SO.
Rust is pretty hot on Hacker News and r/programming, but even working in a systems-language-heavy field, I haven't seen too much mindshare (outside of some friends at Mozilla). It is kind of a shame, both Rust and D are doing really cool things, and I'd love to see more penetration!
Re: What programming languages are used most on weekends?
#137Earlier quoted context omitted.
I went to ut austin and after a long time using haskell for intro classes the administrators succumbed to temptation (and possibly pressure from dell/ibm for wage slaves) maybe ~10 years ago and started using java. It was kind of horrible because the professor for (at least one of the) intro classes reproduced cons, car and cdr from lisp and had us construct a bunch of data structures out of this monstrous java lisp…
It was around when Dijkstra died that UT switched away from Haskell to Java. And yes, from what I've heard from several faculty members around in that period, a lot of it was from external pressure from large regional employers (some of which you have mentioned).
I'm a fan of Haskell, but I think it being the intro CS class language is an educational fail.
Re: What programming languages are used most on weekends?
#138Re: What programming languages are used most on weekends?
#139The funnel shape of the scatter plot immediately reminded me of an article on the insensitivity to sample size pitfall [0], which points out that you'll expect entities with smaller sample sizes to show up more often in the extremes because of the higher variance. Looks like the tags with the biggest differences exemplify this pretty well. [0]- http://dataremixed.com/2015/01/avoiding-data-pitfalls-part-2...
Is it really a 'sample', if they are reporting on the entirety of their data for a given period? Is the question interpreted as extending to those not on stackoverflow, or is it a complete census of the 'population' of their data?
Re: What programming languages are used most on weekends?
#140Earlier quoted context omitted.
It's true that you can program in a functional style in almost any language, but it's just simpler for Javascript. Functions are first-class objects in Javascript, and arrays have built-in forEach, map, reduce, and filter -- all useful for a beginner in functional programming. C++ and Java have lambdas and foreach, but they aren't as simple to use.
There is nothing wrong with map, reduce and filter, but I believe this is just conflating nice and usable APIs for iterators with functional programming.
s/Lisp/JavaScript/g