DEV Community

loading...

Discussion on: (POSSIBILITIES) what languages are good to learn?

yobretyo profile image
Bret Author

I tried to upload a picture but it didn’t work. I guess it might be Xcodes Visual way. If you search for “Xcode swift” it seems like there’s a better visual of when your writing code.... I like that. It seems like things are better displayed or defined. Is Java like that?

Thread Thread
jamesroyston profile image
james royston 🐳

Sounds like you’re referring to the text editor/IDE’s syntax highlighting?

so like this?

const hey = hey;

function sayHey(){
  console.log(hey);
}

If that’s the case, it’s not a language thing. Swift and Xcode are two peas in a pod, but there are great IDEs and editors out there for all of the other languages (Jetbrains has one for nearly all the popular languages, VS Code is good too). The IDEs have options to change your theme to your liking.

Thread Thread
yobretyo profile image
Bret Author

If you search for Xcode Swift:, a example is:

Struct FeatureCard: View{
var Landmark.FearureImage

then there’s other code like

.resizable
.overlay

is Java like that?

Again, I don’t want to learn swift and be limited to Apple

Thread Thread
jamesroyston profile image
james royston 🐳

Those look like either methods on the object or some naming convention specific to Swift. I have no idea if Java is exactly like that, no. But I know that Java (and lots of other languages) uses dot notation to access methods on objects, like in your example.

Again, may I ask why this specific language feature is important or concerning for you?

In all honesty, it’s a very small detail that shouldn’t have much weight in your decision to learn something. I’m not sure I can help you much further than the advice I’ve already given, unfortunately.

Just pick something and stick with it long enough to be able to build stuff without needing to always follow a tutorial (reading examples and asking questions in google is fine and normal). Good luck!

Thread Thread
yobretyo profile image
Bret Author

Thank you! I’ve watched swift videos and it seemed like allot of object making and then directing what you want to do with it. That’s what i like (as far as I’ve seen) with swift. I’ve watched some samples of Java, and it seems to be like that, but more of the info that you don’t “see”, then there’s Kolin, that looks like that as well.