Wednesday, August 9, 2017

Tiobe ranking of programming languages (August 2017) commented

And here I am again with my comments about Tiobe ranking of programming languages.


As me may see, Visual Basic .NET is up two positions considering August 2016. And I've been noticing some more questions about it at StackOverflow and some programming groups at Facebook. Don't know yet why is that so, but I would like to listen to some suggestions. Do you believe this is a tendency or a temporary thing?

It is not that PHP and Javascript felt. Visual Basic .NET passed them, just this. Otherwise they would be steady. But until last December Javascript was going up at fast speed. Should we consider that the large number of Javascript libraries appearing everyday are making the environment for this language to complicated?

Ruby is also up two positions, as I had told you it would happen by mid 2016. I believe this is a tendency, not a temporary thing.

Swift is up three positions and this is not surprise to me at all. It is a nice language, with a reasonable learning curve. It will grow even more in the next few months.

Delphi / Object Pascal felt one position and this is no surprise at all.

By July 2016 I was asking why Assembly was going up so fast. I though all that excitement about "Internet of Things" was making it explode. And I think I was right, because I seldom read about this expression anymore and Assembly is falling fast. Four positions since August 2016!

Where is the "Internet of Things"? Fashion comes and fashion goes. I've seen a lot of this in the last 32 years in this area.

"R" is up one position, and Matlab follows the same path up, because Data Science is the new expression in all mouths and brains. Is this a tendency? I still don't know.

Go is up four positions and it is definitely a tendency, at least for a few more years. Not a particularly suitable language to me, but remember... Google, and Google's money, is backing it!!!

Objective-C is falling down. I believe this is related with the rise of React Native and Xamarin for mobile development.

I'd like to hear from you in the comments about all this!

Decks of cards

Given and array of cards like

["9C", "KS", "AC", "AH", "8D", "4C", "KD", "JC", "7D", "9D", "2H", "7C", "3C", "7S", "5C", "6H", "TH"]

how many complete decks of cards may one extract from this array.

This problem was proposed to me and I solved it the following way
Can someone suggest a shorter and/or more efficient solution?

OBS: About the representation of the cards:

9C = 9 of Clubs
KS = King of Spades
AH = Ace of Hearts
7D = 7 of Diamonds

OBS: In the array above there are no complete decks. This array here

["2S", "2C", "2D", "2H", "3S", "3C", "3D", "3H", "4S", "4C", "4D", "4H", "5S", "5C", "5D", "5H", "6S", "6C", "6D", "6H", "7S", "7C", "7D", "7H", "8S", "8C", "8D", "8H", "9S", "9C", "9D", "9H", "TS", "TC", "TD", "TH", "JS", "JC", "JD", "JH", "QS", "QC", "QD", "QH", "KS", "KC", "KD", "KH", "AS", "AC", "AD", "AH", "2S", "2C", "2D", "2H", "3S", "3C", "3D", "3H", "4S", "4C", "4D", "4H", "5S", "5C", "5D", "5H", "6S", "6C", "6D", "6H", "7S", "7C", "7D", "7H", "8S", "8C", "8D", "8H", "9S", "9C", "9D", "9H", "TS", "TC", "TD", "TH", "JS", "JC", "JD", "JH", "QS", "QC", "QD", "QH", "KS", "KC", "KD", "KH", "AS", "AC", "AD", "AH", "2S", "2C", "2D", "2H", "3S", "3C", "3D", "3H", "4S", "4C", "4D", "4H", "5S", "5C", "5D", "5H", "6S", "6C", "6D", "6H", "7S", "7C", "7D", "7H", "8S", "8C", "8D", "8H", "9S", "9C", "9D", "9H", "TS", "TC", "TD", "TH", "JS", "JC", "JD", "JH", "QS", "QC", "QD", "QH", "KS", "KC", "KD", "KH", "AS", "AC", "AD"]

contains two complete decks of cards.