Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Have you heard of Kotlin? You almost have to try to write an unreadable mess.
And you can not only compile it to Java, it has cross-compile support to JS and even compiles to fully native binaries without Java if you want (which is called "Kotlin/Native") -
@kescherRant nope, haven't tried yet. Will do someday :) maybe 😁
but since it does not compile to ios/osx, I guess it won't be the next language I'll ve learning -
@Jilano
It's easy to write shit code in PHP that will be hard to read.
Yes, good code is possible, but PHP codebases sadly excerbate the most code smell in my experience, even though it would not have to be like that.
That being said, more recent PHP versions try to eliminate some of that smell so perhaps PHP 8 will enforce some cleaner code? -
@zeters personal opinion, from personal xp. Indentations' madness, types' madness, pythonisms,.. It takes a while to polish mechanisms to be error-proof [usual oop errors + type errors] and nice to read
-
mathume985yGolang is great fun with a lot of clean code built in, but always depends on your goals of course
-
hjk10157315yI like to blame programmers not the language. Though there are a few that are really ugly by nature (like Powershell).
PHP is fine in my opinion. Shell is hell to write. Especially when you need to consistently handle errors or escape stuff (quote hell). -
Kotlin is only fun to read as long as the developer behind the code does not use tons of self declared stuff. Then it's a mess.
-
@peenoise allright, last I was looking for this I only found that it does not. And someone on dR also said that is does not. Can you share any references?
-
@peenoise
okay, it does.. I'll have to look into it. Maybe I won't have to learn swift after all!
Thx
p.S. That native interface looks awfully similar to JNI 😁 -
People say rust has difficult and strange syntax, but I find it appealing and readable. Sometimes feel differently once lifetime modifiers are added in though
Python:
* looks nice when written
* painful to write nicely
Perl:
* looks horribly when written
* easy to write
C/C++:
* looks cryptic when written, hard to follow
* difficult to write
Java:
* looks somewhat nice if written well
* easy to write
Shell:
* looks crippled
* a breeze to write
it's like nice'n'easy doesn't even exist..
random