5

I handle multiple projects at a time... Sometimes I feel stupid to mess up the basic syntax of Kotlin and Java.

So I made a stupid mistake in my code like this. I wrote this in Java file

" val something : String = "value"; " (which this is a Kotlin syntax, without knowing that I am coding in a Java file not Kotlin!

Oh stupid me~

Comments
  • 1
    Ive done that countless times!
  • 1
    I don't wanna admit how many times I typed into my console "npm" when I wanted to type "git". "npm rebse" doesn't work? HMMMMMMM, CURIOUS.
  • 0
    Java at work, Scala for my university projects. More than once have I tried to use map(), flatmap() etc. directly on lists in Java or wondered why val a:String does not work.
    Additional python in a hobby project and I'm lost in syntax jungle completely.
Add Comment