* looks nice when written
* painful to write nicely

* looks horribly when written
* easy to write

* looks cryptic when written, hard to follow
* difficult to write

* looks somewhat nice if written well
* easy to write

* looks crippled
* a breeze to write

it's like nice'n'easy doesn't even exist..

  • 12
    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")
  • 1
    Have you tried kotlin and swift?
  • 7
    ruby is easy to write and read. but everything is abstracted away.
  • 1
    @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
  • 2
    Clojure is fun.
  • 16
    PHP fits your requirements
  • 3
    @Jilano 😁 in what sense? 😁
  • 2

    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?
  • 3
    Out of curiosity: why is python considered to be hard to write nicely?
  • 2
    @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
  • 5
    Golang is great fun with a lot of clean code built in, but always depends on your goals of course
  • 4
    I 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).
  • 5
    @netikras @kescherRant articulated it perfectly. But the feeling you get from a language is personal after all. So what works for me might not for you
  • 2
    * Looks nice when written
    * Easy to write, easy to read
  • 1
    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.
  • 1
    @netikras Kotlin/Native complies to iOS
  • 0
    @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?
  • 1

    okay, it does.. I'll have to look into it. Maybe I won't have to learn swift after all!


    p.S. That native interface looks awfully similar to JNI 😁
  • 11
  • 1
    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
  • 1
    @bvs23bkv33 please stop shouting
  • 0
    @--------------- try whitespace someday
  • 1
    Don't hate me if i say html is best
  • 0
    I love PHP to death. Hi haters 😂😂
  • 0
    PowerShell is easy to read and easy to write
  • 1
    That's just like.. your opinion man
Add Comment