Every week, we pick a real-life project to build your portfolio and get ready for a job. All projects are built with ChatGPT as co-pilot!
Start the ChallengeA tech-culture podcast where you learn to fight the enemies that blocks your way to become a successful professional in tech.
Listen the podcastWritten by:
Javascript
1console.log("Hello Geek!")
Java
1public class HelloGeek { 2 public static void main(String[] args) { 3 System.out.println("Hello Geek!"); 4 } 5}
Javascript is an interpreted language, this means it needs an interpreter (web browser) to execute each line of code. The languages that belongs to this Family tend to be more flexible, smaller and platform independent (you can run it on any Operating System) that has a web browser.
Object-based scripting language
File extension js
Concurrency: Doesn't support multi-thread
Can be run on any browser console or any text editor
Integrates with HTML content and contained to the web app
Dynamic Type Checking. Type checking is verified on runtime making the developer to not be obliged to declare the type of variables and making it possible to focus on productivity
Prototype based. Js inheritance is prototypal (all objects can inherit directly from other objects). The hierarchy of the Objects can be achieved by assigning an Object as a prototype with a constructor function.
Easier for new developers
java
These programming languages are "optimized" for different purposes, this doesn't mean that you can't use Java for web developing or javascript for other projects besides web apps.
The selection between JavaScript or Java depends entirely on the project you have in mind, if you want to create a web app, then we would recommend JavaScript, since it was created exactly for that and it's where it shines the most. Now, if you want to create an app that doesn't need to be run on a website, and instead, wants to make a standalone app, then Java would be the right choice.
Hope you enjoy the reading and keep on the Geek Side!