简体   繁体   English

哪种其他编程语言与Java有相似之处?

[英]Which other programming language has similarity to Java?

I am a Java professional. 我是一名Java专业人士。 Now I like to move other programming language. 现在我喜欢移动其他编程语言。 Can anybody suggest me which programming language would be better to digest soon and language has web devlopment features .I am interested in web-devlopment. 任何人都可以建议我哪种编程语言很快就会消化,而且语言具有web开发功能。我对web-devlopment很感兴趣。

C# - web-development is very good (Just look at this website) and the code is 'similar' to java. C# - web开发非常好(只看这个网站),代码与java“相似”。

Below provides a good example of how to approach the transition 下面提供了如何处理过渡的一个很好的例子

http://www.25hoursaday.com/CsharpVsJava.html http://www.25hoursaday.com/CsharpVsJava.html

The C# language is an object-oriented language that is aimed at enabling programmers to quickly build a wide range of applications for the Microsoft .NET platform. C#语言是一种面向对象的语言,旨在使程序员能够快速构建Microsoft .NET平台的各种应用程序。 The goal of C# and the .NET platform is to shorten development time by freeing the developer from worrying about several low level plumbing issues such as memory management, type safety issues, building low level libraries, array boundschecking , etc. thus allowing developers to actually spend their time and energy working on their application and business logic instead. C#和.NET平台的目标是通过让开发人员免于担心内存管理,类型安全问题,构建低级库,数组边界检查等几个低级管道问题来缩短开发时间,从而允许开发人员实际把时间和精力花在他们的应用程序和业务逻辑上。 As a Java developer the previous sentence could be described as "a short description of the Java language and platform" if the words C# and the .NET platform were replaced with words Java and the Java platform. 作为Java开发人员,如果将C#和.NET平台替换为Java和Java平台,则可以将上一句描述为“Java语言和平台的简短描述”。

Why not look at Grails ? 为什么不看Grails It's based on Groovy (a JVM/Java language, so you can leverage off your Java knowledge) and allows web development in a RoR fashion. 它基于Groovy(一种JVM / Java语言,因此您可以利用您的Java知识)并允许以RoR方式进行Web开发。

Scala is a general purpose language which runs on the JVM, so you can use your existing Java knowledge. Scala是一种在JVM上运行的通用语言,因此您可以使用现有的Java知识。 Also take a look here . 另外看看这里

It has a web framework called Lift . 它有一个名为Lift的Web框架。

If you want to add another programming language to your capabilities, I'd recommend C# as well, because it's not related to Java (but close enough to re-use your existing skills). 如果你想为你的能力添加另一种编程语言,我也会推荐C#,因为它与Java无关(但足够接近你的现有技能)。

If you need something else because you want to dig into web development - why not look at the Google Web Toolkit (GWT) and create javascript based web application with Java language only? 如果您因为想要深入研究Web开发而需要其他东西 - 为什么不查看Google Web Toolkit(GWT)并仅使用Java语言创建基于javascript的Web应用程序?

Take a look at Scala . 看看Scala You can use all Java API with this elegant language. 您可以使用这种优雅的语言使用所有Java API。

我认为是C#编程语言。

Probably C#. 可能是C#。

It allows web-development using Asp.net, which is a pretty popular platform. 它允许使用Asp.net进行Web开发,这是一个非常受欢迎的平台。

Also, C# was, I believe, based on Java, so it has a lot of the same ideas. 另外,我认为C#基于Java,所以它有很多相同的想法。

While hated by most Java developers (or developers in general), I would prefer JavaFX... it is VERY easy to learn if you have some Java knowledge (you can easily learn the language itself within less than 3 days), and it is designed for RIAs, though you can use it as a full replacement for Java. 虽然受到大多数Java开发人员(或一般的开发人员)的憎恨,但我更喜欢JavaFX ......如果你有一些Java知识(你可以在不到3天的时间内轻松地学习语言),这是非常容易学习的,而且它是专为RIA而设计,但您可以将其用作Java的完全替代品。

Learning the JavaFX Script Programming Language 学习JavaFX脚本编程语言

is a good place to start. 是一个很好的起点。

Oh, and one nice thing about JavaFX: You can use all existing Java APIs from within JavaFX (afaik). 哦,关于JavaFX的一个好处是:您可以使用JavaFX中的所有现有Java API(afaik)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM