论坛首页 海阔天空论坛

为了一个项目,我去学pike语言,值吗?

浏览 5639 次
该帖已经被评为隐藏帖
作者 正文
   发表时间:2009-06-26  
公司有意让我去接手一个项目,
那个项目是由pike语言开发的。
你说我值得吗?去学一门语言。
我原先学的java,还没有很熟练,
属于初使程序员行列,对java方面的一些特性还是很喜欢的。
请告诉我怎么办?有人经常这样说,编程思想比编程语言要强。
可是我怕捡到籽麻,反而丢了西瓜。
我也在两难之间啊?公司要我去学!我不情愿。
   发表时间:2009-06-26  
等你语言学得多了,一天一门都没有问题。
语言就那么几类,无非语法和关键词不同。
不过要注意语言的设计思想,去他们官方主页看一遍文档,再看一边项目的代码基本上就OK了。

俺个人以为,快速学习和使用新语言是程序员的基本技能,这个都做不到,开发时选择的余地还有什么?
1 请登录后投票
   发表时间:2009-06-26  
http://pike.ida.liu.se/

他说很简单就可以学会。

What is Pike?

Pike is an interpreted, object-oriented programming language. It looks a bit like C and C++, but it is much easier to learn and use. It can be used for small scripts as well as for large programs.

Pike is

    *

      high-level and powerful, which means that even very complex things are easy to do in Pike,

    *

      object-oriented, which means that you can use modern programming techniques to divide a large program into small pieces, which are much easier to write than it would be to write the entire program at once,

    *

      interpreted, which means that you don't have to wait for a program to compile and link when you want to run it,

    *

      one of the fastest "scripting" languages available,

    *

      garbage-collected, which makes programming much simpler, and also removes the risk for memory leaks and other memory-related bugs,

    *

      easy to extend, which means that you can create plug-ins, written in Pike as well as in C or C++, and integrate them with the rest of Pike.

Pike can be used to write small and simple scripts, and also for very large programs: the World Wide Web servers Roxen WebServer and Caudium are both written in Pike. Pike's advanced data types and built-in support for sockets makes it ideal for use in Internet applications.

Pike is free software, distributed under the GNU General Public License (GPL), GNU Lesser General Public License (LGPL) and Mozilla Public License (MPL). Pike is available for many operating systems, among them Linux, Solaris and Microsoft Windows.
0 请登录后投票
   发表时间:2009-06-26  
http://en.wikipedia.org/wiki/Pike_(programming_language)

动态语言应该支持的都支持,类型强制可切换,类C/C++,

hello world:

int main() {
    write("Hello world!\n");
    return 0;
}

看起来不是很难吗
0 请登录后投票
   发表时间:2009-06-26  
类型可以设置强制与否,不错。
int|float number;
number = 5;
intp(number);      // returns true because number holds an int
floatp(number);    // returns false
number = 5.5;
floatp(number);    // returns true because number now holds a float
0 请登录后投票
   发表时间:2009-06-26  
http://pike.ida.liu.se/docs/tutorial/

估计一晚上就学会了。
0 请登录后投票
   发表时间:2009-06-26  
值,公司出钱让你学门新语言,还不好?
0 请登录后投票
   发表时间:2009-06-26  
再说,程序员多掌握几门语言有助与更好的理解语言本身,反射,内省,闭包这些东西,哪门语言都比java好理解
0 请登录后投票
   发表时间:2009-06-26  
iaimstar 写道
再说,程序员多掌握几门语言有助与更好的理解语言本身,反射,内省,闭包这些东西,哪门语言都比java好理解

反射是什么?俺不知道?
0 请登录后投票
   发表时间:2009-06-26  
这么年轻学点东西都还会觉得是浪费时间?
学一门语言,要那么久吗?
0 请登录后投票
论坛首页 海阔天空版

跳转论坛:
Global site tag (gtag.js) - Google Analytics