As someone who started development with iOS i.e. Objective C and Swift, I am working full time as a web developer now and I find myself writing Swift in C# or C# in Javascript. Anyone ever do this?
For further actions, you may consider blocking this person and/or reporting abuse
Latest comments (14)
+i usually mix JavaScript and c#. eg.
[c-sharp-array].ForEach(function()), or try to declare a string variable in JavaScript withstring placeholderHappens all the time when I switch between Ruby and Python codebases even multiple times during the day :D
Usually it's the end keyword in Python at the end of a function or the colons in Ruby. Sometimes even standard library function names
I regularly work with Python, Java, and PHP. Mostly I get PHP + Python syntax confused, I spent a solid half hour a few days ago trying to figure out why I was getting an InvalidSyntax error in PyCharm when I had a semicolon at the end of every statement.
Switching between C++ and Python, I often either add or forget to add the semicolon at the end of the statement. That, or I flub the parenthesis on conditional statements.
All the time. Just did some code challenges this morning in JS after a couple weeks of Python. Kept trying to add arrays and 'print' stuff.
I keep writing javascript in my elixir app. "Why did this fail compiling?!" Oh the function doesnt need curlies π€¦ββοΈ
every single time.
I regularly switch between JavaScript, Ruby and Elixir. I mix the syntax quite often. Sometimes I forget which of those requires me to put
()around theifcondition. Sometimes I writedef fn_name do endin Ruby. Sometimes I forget thedoin Elixir. And don't get me started on telling apartRegExp(JavaScript) fromRegexp(Ruby) andRegex(Elixir)...happens with me too...
All the time! Especially when I'm doing any tutoring work. One person will be writing something in Java, another in C++, and a third in JavaScript. The faster I switch gears, the funnier the mix-ups can be. :P
Same π
If I've been writing more JS, I'll dip into Ruby and start filling my code with parentheses too.
So often! I am switching between Elm and F# a lot. They are similar, but differ slightly. For instance, a list of strings in Elm is
List Stringbut in F# it isstring list. I'm also constantly trying to useSomeandNonein Elm whereas it is supposed to beJustandNothingthere. In F# properties are capitalized by convention, but in Elm they are required to be lower case. When I pair with others on the team, I notice the same issues. So you are not alone.