Tuesday, July 25, 2017

First look at Kotlin

Unless you live under rock, you should have at least heard about Kotlin, the language now official on Android. People bash and bash java these days constantly complaining about its verboseness (but no one type all that get/set methods when you can have your IDE generate it ok?) and just have to invent something else.

Just about every language has to find a new way to spell "function". Well javascript and Pascal uses it directly "function". C does not need it because everything are functions. Scala and Groovy call it "def" and Kotlin calls it "fun". Ok, hope you are having fun with Kotlin. Besides "fun", the Kotlin syntax for other things are quite elaborate.

Ok how do you do a hello world? Sure you can try it right on the browser.

Ok how about outside the browser, ok you need IntelliJ or Android Studio. Waita minute I want general purpose stuff first, sure there is command line compiler. But that's.. for Linux only? See here. In the programming world seems like everybody uses the Mac and everyone despise Windows. Further looking shows that only very recent updates included a Windows install. Still not in the kotlinlang.org page yet. Definitely there was no hurry to support Windows.

Ok just why do we need Kotlin when there is Java for Android?

See the comparison here.

Kotlin offers a ton of new things but is it worth the learning curve.

I believe Java, if used right, serve the purpose of programming Android (and many other things) well. Only thing about Java is it isn't native code and always require the runtime environment, so if you need system level as-fast-as-you-can things you need something else. I am in no hurry learning Kotlin.

Monday, July 17, 2017

Death to C?

Saw this article about Death to C, and Death to C, ++.

C is old, but it is such important programming language... much of today's systems still based on it, and yes, it is easy to create subtle bugs for bad guys to exploit. Yes pointers are frustrating. But I definitely do NOT want to do C for a living. I need the String type and higher level things like in Java. I am not going to fool around with char *. I am not going to fight pointers for a living.

Wow, people are trying to replace C (and C++) with a rather new language called Rust. Look it won the first place for "most loved programming language" in some developer's survey.

Look at its syntax... newer language just has to be Pascal like with return type behind the method...and has to have functional programming language things like closures.

Part of C's merit is... its SIMPLE syntax. Rust seems to have too complex a syntax for me. Why do people embrace it? I guess I need to read some more about it.. It seems to be strong at concurrency things though.. that stuff is hard.

I am just glad I am not doing much low level things.

But C is here to stay. It just won't disappear any time soon.

Now about the survey... some of these I never heard of, but why is groovy so low. It is a such awesome twist to java.

Friday, July 14, 2017

Dev Bootcamp.. why it did not succeed?

Saw this story today. Dev Bootcamp, a software developer training company, is shutting down.

http://www.chicagotribune.com/bluesky/originals/ct-bsi-dev-bootcamp-shutting-down-20170713-story.html.

When I first heard about it in the news I was like, "dang, why am I not doing a business like this." It would be an awesome thing to do. Look, there is the need... people need skills and updating their skills. Sure, you can get tutorials for just about everything out there. But it is much much more effective if you have a live instructor and some fun projects to work on, and you get to work with classmates that's even better. That university classes are too expensive! (and you actually don't get much) I think there will be people who want to learn a thing or two without paying too big a fortune.

I don't quite understand this line: "(D)espite tremendous efforts from a lot of talented people, we’ve determined that we simply can’t achieve a sustainable business model without compromising our mission of delivering a high-quality coding education that is accessible to a diverse population of students,”

I don't understand this line either: Just what is this microscope? "Coding schools have been under increasing pressure in recent years, as for-profit schools go under the microscope nationwide and coding schools attempt to prove their worth"

So what is the issue here? no one sign up? why? too expensive or no one wants to learn? BTW, too many programming jobs are going overseas... perhaps even the most skillful developer would have trouble making a living.

There is gotta be a way to run a successful training business.