It's been a LONG time since I have last posted here. Life is funny that way.
I found myself going from a full-time (unpaid) game developer, to a full-time contractor for accounting programs coding in VBA and moving into C# and SQL Server - to then being hired as a full-time Java web developer.
Needless to say, I find myself constantly bouncing from one coding language to another. It's always fun having to make adjustments in syntax as you go from one to the other.
JAVA:
System.out.println("Some text...");
C#:
Console.WriteLine("Some text...");
JavaScript:
console.log("Some text...");
All do the same exact thing, write the words Some Text... to the dev console. Case matters.
For-each loops are another one. Let's say you want to iterate through an array of 10 numbers:
JAVA:
for (int number : numbers) { // do some stuff here....}
C#:
for (int number in numbers) { // do some stuff here....}
JavaScript:
numbers.foreach((number) => {
// Do some stuff here...});games, it's been javaScript. When using Godot, I go with their Python-ish GDScript. I tried
using C#, but found the bouncing around between IDEs to be a bit a pain.
No comments:
Post a Comment