Earlier quoted context omitted.
Could you explain this a bit more in depth if you have a chance? This is extremely interesting, but I'm not familiar with terminology associated with strongly typed languages. What do you mean by using records instead of maps?
You can think of a record like a C struct. It's key value pairs, but the keys and their types are chosen at compile time. There are no methods or anything on them, they are just data. An example from OCaml: type person = { first_name: string; last_name: string; age: int } In a language that has some form of anonymous records (like C#'s anonymous object) and structural typing, this would let you work with relations in…
Poll: What are your liked and disliked programming languages?
421–430 of 479 posts
Re: Poll: What are your liked and disliked programming languages?
#422Earlier quoted context omitted.
also without an ORM do you just hand roll all your object graphs? I'm picturing a sea of builders and factories which amount to a hand rolled ORM anyway. Or are you practicing stringly typed programming? Ultimately in any strongly typed language you're either going to make/use some kind of mapper or else abandon typing and use maps/dicts which raises the question of why you're using a strongly typed language in the f…
First, you can have strongly typed languages that aren't object oriented. Instead of using maps/dics, you could use records. The thing I don't like about ORMs as they are typically handled is that you map objects to tables up front, and those are the things you can query for. Using something like Linq, you can more easily treat your database as relational, and still return strongly typed objects. These objects can be…
If you build a database view, you can often trick an ORM into thinking its a table.
Re: Poll: What are your liked and disliked programming languages?
#423You can tell this is a bullshit poll by how many people like C. Don't get me wrong, it's a great language, but there's no way there are that many people programming in C. It has as many likes as JavaScript. Rather, people just voted C because it's a favorite language and it usually has positive press around Hacker News. So people vote what's popular and hip, despite probably having never stepped out of their web deve…
Re: Poll: What are your liked and disliked programming languages?
#424I'm surprised at the lack of love for Groovy. Groovy rocks... I made the decision to switch all of our development to Groovy (and Grails) a couple of years ago, and I haven't regretted the move at all... it's gone astonishingly well. Much faster development than in raw Java, but without a huge learning curve, and yet still with seamless integration with existing Java libraries, plus more than a few very cool native G…
Look at Groovy's history before 2 yrs ago and you'll see what's not to like. Groovy recently (29 Aug) turned 10 yrs old but no one was celebrating.
Re: Poll: What are your liked and disliked programming languages?
#425Re: Poll: What are your liked and disliked programming languages?
#426I've written a simple ranker for the above scores: http://ancient-garden-9751.herokuapp.com/ Python and C most liked, PHP and Java most disliked (currently) (Source here for if/when it goes down: https://github.com/thomseddon/lang-rank )
like+dislike
like/dislike
(like/dislike)*log(like)
(like/(like+dislike))*log(like)
(likeDirichlet/(likeDirichlet+dislikeDirichlet))
(likeDirichlet/(likeDirichlet+dislikeDirichlet))*log(likeDirichlet)
lower bound of confidence interval at 95% level
http://arcane-waters-4617.herokuapp.com/Re: Poll: What are your liked and disliked programming languages?
#427I've written a simple ranker for the above scores: http://ancient-garden-9751.herokuapp.com/ Python and C most liked, PHP and Java most disliked (currently) (Source here for if/when it goes down: https://github.com/thomseddon/lang-rank )
Re: Poll: What are your liked and disliked programming languages?
#428Earlier quoted context omitted.
There's going to be the common blabber and hating on the usual suspects but polls like this tend to be good ways to bring up a general topic and let everyone discuss. Maybe it would've been better in a AskHN but at least here we get a list to reference (and for people to get angry at what's missing, people love getting angry). Also, it gives a view of what this specific community in this specific thread feels and add…
Polls like this are the equivalent of asking a builder if he likes wood, metal, concrete, plywood, slate, etc. Or if he likes a saw more than a hammer. Which only a complete moron would do.
Re: Poll: What are your liked and disliked programming languages?
#429And the award of least significant poll of the week goes to... Seriously, you won't get anything meaningful out of this, people will vote for the language they like and then bash the usual suspects (PHP, actionscript, C++,...). Also they will browse the first 20 entries or so and then get bored and skip to the end. I'm sure the people who "dislike cobol" (7 people at the moment) have intimate knowledge of the languag…
Just curious, why are people bashing Actionscript? The language itself is based on Javascript and Javascript isn't getting so much hate. I know everyone hates Flash now... maybe I just still have a soft spot in my heart for programming Flash-based games back in the day.
And on top of that, its libs are very callback-heavy even in places where a synchronous option should have been available, so even very basic sequential code sometimes gets turned into a messy chain of callbacks.
That's why I made a beeline for the "ActionScript - Dislike" button.
Re: Poll: What are your liked and disliked programming languages?
#430What's Shell? If you mean Unix/Linux shells, you should have picked a couple, or just used Bash, because many people would upvote one shell and downvote another. Csh, Bash, Zsh are completely different when it comes down to what you like or dislike.
Shells like rc have much more different syntax (and are arguably cleaner) than common ones like Bash.