News for hackers. Stuff that matters.
Re:The case against Kotlin by strictfp on Saturday July 29, 2017 @06:37PM (#14883310)
I'm a lone wolf in the Java space, and I must say that this one really hits home. I've been dealing with so many Java devs who are unwilling to approach anything else that I am sick and tired of their whining! These people are even moaning about JavaScript. I mean - Come On! (Job style)
Re:The case against Kotlin by sidlls on Saturday July 29, 2017 @07:05PM (#14883435)
I primarily use Python, C++ and Rust these days and I would certainly moan about having to pick up JavaScript.
Re:The case against Kotlin by celim307 on Saturday July 29, 2017 @07:54PM (#14883611)
When have you used it last? The ecosystem around it sucks but the language itself is not too bad, es6 has made the syntax pretty bearable
Re:The case against Kotlin by harrygeez on Sunday July 30, 2017 @12:44AM (#14884472)
I just started using it recently and while writing in Babel/ES6 is nice, figuring out which framework or libraries to use (React vs Web Components and React vs Vue vs Polymer vs Angular vs...), sass or less, to redux or not, setting up webpack is definitely not an enjoyable experience. The beauty of many other languages is it doesn't usually involve so many decisions. There's usually an undisputed better library, a recommended setup, but js ecosystem now has so many options that it only leads to decision fatigue.
Re:The case against Kotlin by bsder on Saturday July 29, 2017 @10:31PM (#14884091)
> The ecosystem around it sucks but the language itself is not too bad

The problem is that the ecosystem is what matters nowadays. A language can suck donkey balls and win as long as it has a robust ecosystem (see: VB6, PHP, etc.)

Python and Rust have phenomenal ecosystems. I have no clue about the C++ ecosystem nowadays.

Re:The case against Kotlin by fulafel on Sunday July 30, 2017 @03:06AM (#14884797)
The semantics is the major pain point. It doesn't flag many errors. Python is a much easier language to dev/debug in because of this. Also, if you're going to transpile, why not transpile from a nicer language? ES6 is competing with ClojureScript/TypeScript/etc.
Re:The case against Kotlin by srean on Sunday July 30, 2017 @03:38AM (#14884894)
Is the 'transpile' nonsense a java script community thing ?
Re:The case against Kotlin by shakna on Sunday July 30, 2017 @12:00PM (#14886497)
Transcompile is very old term in computing, at least the 80s, specifically referring to compiling from one language, to another high level language.

CoffeeScript simply made the shortened term more popular, but the use of a more specific term is nothing to get irritated about.

Re:The case against Kotlin by fulafel on Monday July 31, 2017 @09:35AM (#14891777)
True, but transcompiling hasn't been a very commonly used term for that so it's not an obvious term to use. For example, the early C++ compiler that targeted C was not referred to as a transcompiler. Nor was the popular f2c fortran-to-c compiler.
Re:The case against Kotlin by fulafel on Sunday July 30, 2017 @03:48AM (#14884914)
Yes, I guess "compiler" confused too many developers who thought it implied native code.
Re:The case against Kotlin by abiox on Sunday July 30, 2017 @07:59PM (#14888584)
"transpiler" is a subset of "compiler".
Re:The case against Kotlin by abiox on Saturday July 29, 2017 @08:37PM (#14883779)
undefined is not a function!
Re:The case against Kotlin by jackmott on Saturday July 29, 2017 @08:16PM (#14883700)
ugh
Re:The case against Kotlin by sitkack on Saturday July 29, 2017 @07:19PM (#14883493)
Funnily enough, the list of complaints was almost a perfect mirror of C++ dev complaining about Rust.
Re:The case against Kotlin by sidlls on Saturday July 29, 2017 @08:22PM (#14883732)
That doesn't even make sense. There is absolutely no parallel in going from Java to JavaScript with going from C++ to Rust.
Re:The case against Kotlin by Stratoscope on Saturday July 29, 2017 @06:50PM (#14883370)
It's not just Java either. I worked with one OSX/iOS dev who knew Objective-C inside and out, but knew no other languages and didn't want to learn any others, because after all you can do anything in Objective-C.

I asked him what he used if he just wanted to write a quick little script. "Objective-C."

There's something to be said for his kind of mastery of a single language, but it was different from the multilingual culture I'm used to.

I wonder if he's using Swift now...

Re:The case against Kotlin by cprayingmantis on Sunday July 30, 2017 @02:13PM (#14887107)
Wow this really makes me grateful for the team I work on. This past 4 months we had to build some stuff that was off of our usual platform using Python and none of us had any real world experience with python, but we all buckled down and became quite proficient. None of us really complained (ok we did complain some about the import system but other than that we were good) and we were able ship a great first pass at the problem quickly. I guess curmudgeon devs are just curmudgeon devs.
Re:The case against Kotlin by dajohnson89 on Saturday July 29, 2017 @06:53PM (#14883390)
Are Javascript and Java really that similar? I know plenty of front-end Javascript devs who are pretty uncomfortable with Java development.
Re:The case against Kotlin by jogjayr on Saturday July 29, 2017 @09:03PM (#14883846)
Most of the code I've written in my career is JS/TS, with Java and Python probably tied for second. I'll admit to not liking Java but it's got nothing to do with not wanting to learn a new language. Most Java code is extremely verbose, with tons of boilerplate for doing simple things, like copying props from one object to another.
Re:The case against Kotlin by Guthur on Saturday July 29, 2017 @07:08PM (#14883443)
Other than some syntax similarity, no
Re:The case against Kotlin by neonhomer on Saturday July 29, 2017 @06:50PM (#14883376)
I upvoted you solely on the "Come On!"