选择一门新语言 [英] Choosing a new language

查看:61
本文介绍了选择一门新语言的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨。


首先让我先说一下,请不要让它成为

火焰之物。


其次,我需要一些建议。


我是一名35岁的程序员,用C / C ++,PHP和Bourne编程

壳几乎每天都有。


我现在开始专注于变得更熟练一些关键语言,而不是知道很多(我是做更多

肤浅的水平)。


我的主要语言是C,PHP和SH(Bourne Shell),我已经停止了

使用C ++因为我发现它是一个C-hack而不是一个好的设计

选择。


我做出了以下决定:


学习Ada并使用它代替C ++。我来自Pascal背景

我喜欢Ada语法和广泛的使用范围。我也被吸引到了Ada,因为它在行业中的应用。


现在我还有三种我非常喜欢的语言,但我

更喜欢只专注于其中一个:


Python,Haskell和Lisp。


我一直在做一些阅读和一些编码,我主要是因为它能够修复一个

运行程序而被吸引到Lisp.


但我发现Haskell是一种更强大的语言。再一次,Python

拥有庞大的用户群和许多库,并且实现了无处不在的
,另一方面Haskell和Lisp也没有。


我喜欢这三种语法,而且我已经超越了

混乱。 Lisp括号的阶段,所以他们根本不会打扰我。


我需要那些已经编码所有三个人的建议,以及谁

可以分享一些观点和经验。


如果你不是很了解这三个人的经验,请不要回复

这个线程!


谢谢,敬请期待!


Rico。

解决方案

我不知道所有三种语言,但我知道你不会得到一个有用的

答案,除非你说出你想要学习的目的是什么

语言。扩大你的心理范围?改善你的简历?使用

作为日常工作的新主力?如果是后者:你做什么样的

工作?


问候,

Jo


12月28日下午12:15,Joachim Durchholz< j ... @ durchholz.orgwrote:


:你做什么工作?



Trolling


Rico Secada写道:
< blockquote class =post_quotes>
嗨。


首先让我先说,请不要让它变成一个

的火焰
其次,我需要一些建议。


我是一名35岁的程序员,使用C / C ++,PHP编程和Bourne

壳牌几乎每天都有。


我现在开始专注于变得更加熟练了几个关键语言

,而不是知道很多(我在更多的b
表面上做)。


我的主要语言是C,PHP和SH(Bourne Shell),我已经停止了

usin g C ++因为我发现它是一个C-hack而不是一个好的设计

选择。


我做出了以下决定:


研究Ada并使用它代替C ++。我来自Pascal背景

我喜欢Ada语法和广泛的使用范围。我也被吸引到了Ada,因为它在行业中的应用。


现在我还有三种我非常喜欢的语言,但我

更喜欢只关注其中一个:


Python,Haskell和Lisp。



我已经使用了除Haskell之外的所有语言。


我自己有点厌倦了C ++。我已经用了好几年了;我已经写了大量的系统,我必须面对它有一个基本的问题。 C ++是唯一隐藏但没有内存安全性的主要语言。

C既没有隐藏也没有安全; Java和Ada都具有隐藏性和安全性。

没有语言,因为C ++重复了这个错误。


Ada有它的优势,但在DoD世界之外,它'或多或少

死了。如果你有安全许可并且对真正的时间航天电子编程很感兴趣,可能。


LISP有一个崇拜问题。它已经不再使用了,即使在

AI社区也是如此。 LISP用户往往过于苛刻。语言本身

没问题,但很少有商业应用程序使用它。 Viamall,雅虎商店,是极少数主要商业LISP应用程序之一。

我写了大约20,000行LISP,但我会从不再使用它。


实际上,修复正在运行的程序的能力。在现实生活中没有那么有用

。它比实用更酷。编辑程序从

a休息时更重要的是当计算机速度较慢且只是从一开始就重新运行
昂贵。


Python的实现速度很慢。数字不尽相同,但是比B更慢10美元到60美元。这种语言非常强大,但是CPython的实现受到阻碍,

缺乏独立于任何实现的语言标准,

和一个连接到外部非Python库的笨重机制。

没有根本原因让Python无法以至少快速运行
作为Java,但是语言规范与CPython相关联,其他实现总是在追赶并且远远落后于实际的CP $ bython实现。


作为语言,C#和Java相当不错。他们倾向于以框架,运行时系统,

和包装商的形式带来太多超重行李,但作为语言他们是快速,安全的,
不能代表Haskell。


John Nagle


Hi.

First let me start by saying, please don''t let this become a
flame-thing.

Second, I need some advice.

I am a 35 year old programmer, who program in C/C++, PHP and Bourne
Shell almost daily.

I am currently going to start focusing on becoming more skilled at a
few key languages, rather than knowing many (which I do on a more
superficial level).

My key languages are C, PHP and SH (Bourne Shell), and I have stopped
using C++ because I find that its a C-hack rather than a good design
choice.

I have made the following decision:

To study Ada and use it instead of C++. I come from a Pascal background
and I love the Ada syntax and wide area of usage. I am also attracted
to Ada because of its usage in the industry.

Now I have three more languages that I am very attracted to, but I
prefer to focus on just one of them:

Python, Haskell and Lisp.

I have been doing some reading and some coding, and I am mainly
attracted towards Lisp because of its ability to "fix a
running program".

But I find that Haskell is a more powerful language. Yet again Python
has a huge user base and many libraries, and it is implemented
everywhere, where Haskell and Lisp on the other hand hasn''t.

I like the syntax of all three, and I have gotten beyond the
"confusion" stage of Lisp parentheses, so they don''t bother me at all.

I need advice from people who have been coding in all three, and who
can share some views and experiences.

Please, if you don''t know ALL three by deep experience, don''t respond to
this thread!

Thanks and best regards!

Rico.

解决方案

I don''t know all three languages, but I know you won''t get a useful
answer unless you say what purpose you want to learn any of these
languages for. To expand your mental scope? To improve your CV? To use
as a new workhorse for your daily work? If it''s the latter: what kind of
work do you do?

Regards,
Jo


On Dec 28, 12:15 pm, Joachim Durchholz <j...@durchholz.orgwrote:

: what kind of work do you do?

Trolling


Rico Secada wrote:

Hi.

First let me start by saying, please don''t let this become a
flame-thing.

Second, I need some advice.

I am a 35 year old programmer, who program in C/C++, PHP and Bourne
Shell almost daily.

I am currently going to start focusing on becoming more skilled at a
few key languages, rather than knowing many (which I do on a more
superficial level).

My key languages are C, PHP and SH (Bourne Shell), and I have stopped
using C++ because I find that its a C-hack rather than a good design
choice.

I have made the following decision:

To study Ada and use it instead of C++. I come from a Pascal background
and I love the Ada syntax and wide area of usage. I am also attracted
to Ada because of its usage in the industry.

Now I have three more languages that I am very attracted to, but I
prefer to focus on just one of them:

Python, Haskell and Lisp.

I''ve used every language mentioned except Haskell.

I''m somewhat fed up with C++ myself. I''ve used it for years; I''ve
written large systems in it, and I have to face that it has a fundamental
problem. C++ is the only major language with hiding but without memory safety.
C has neither hiding or safety; Java and Ada have both hiding and safety.
No language since C++ repeats that mistake.

Ada has its advantages, but outside the DoD world, it''s more or less
dead. If you have a security clearance and are interested in real
time avionics programming, maybe.

LISP has a cult problem. It''s not used much any more, even in the
AI community. LISP users tend to be too wierd. The language itself
is OK, but few commercial applications use it. Viamall, which became
Yahoo Store, is one of the very few major commercial LISP apps.
I''ve written about 20,000 lines of LISP, but I''ll never use it again.

Actually, the ability to "fix a running program" isn''t that useful
in real life. It''s more cool than useful. Editing a program from
a break was more important back when computers were slower and just
rerunning from the beginning was expensive.

Python suffers from a slow implementation. Numbers vary, but
10x to 60x slower than C is typical. The language is quite
powerful, but is held back by the CPython implementation, the
lack of a language standard independent of any implementation,
and a clunky mechanism for linking to external non-Python libraries.
There''s no fundamental reason that Python couldn''t be made to run at least
as fast as Java, but with the language spec tied to CPython, the
other implementations are always playing catch-up and run far behind the
CPython implementation.

As languages, C# and Java are reasonably good. They tend to come
with too much excess baggage in the form of frameworks, run-time systems,
and packagers, but as languages they''re fast, safe, and expressive.

Can''t speak for Haskell.

John Nagle


这篇关于选择一门新语言的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆