Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

/prog/'s opinion about some languages

Name: Anonymous 2009-08-22 22:25

Hey /prog/,

I'm new in this board, so sorry for being a retard.
I'm starting CS at university. After some pseudo-code, we started with Java and Microsoft .NET (Visual Basic...lol)

I had learned some Python, PHP and C++ beforehand by myself, but I'd like to hear your opinion about all the languages I've mentioned, and what languages are worth learning nowadays.

Thanks.
(I know this can lead to a trollfest, so I'm just asking for YOUR opinion)

Name: Anonymous 2009-08-23 14:41

>>38
valid Haskell code

(\(>)(.)(<)->(<)(.)(>))((\(//)(\\)(||)->(||)(\\)(//))((\((//):(\\):[])(||)->(||)(\\)(//))((\(\\)->(\\):(\\):[])(([]:(([]::[]()):[]::[]([]()))::[[]()])>>=(\_->[])::[]a)::[]([]a))(++))((\((//):(\\):[])(||)->(||)(\\)(//))((\(\\)->(\\):(\\):[])(([]:(([]::[]()):[]::[]([]()))::[[]()])>>=(\_->[])::[]a)::[]([]a))(++))(++))((\(//)(\\)(||)->(||)(\\)(//))((\((//):(\\):[])(||)->(||)(\\)(//))((\(\\)->(\\):(\\):[])(([]:(([]::[]()):[]::[]([]()))::[[]()])>>=(\_->[])::[]a)::[]([]a))(++))((\((//):(\\):[])(||)->(||)(\\)(//))((\(\\)->(\\):(\\):[])(([]:(([]::[]()):[]::[]([]()))::[[]()])>>=(\_->[])::[]a)::[]([]a))(++))(++))(++)

Name: Anonymous 2009-08-23 14:47

#!/usr/bin/perl -w                                      # valid perl code
use strict;

                                           $_='ev
                                       al("seek\040D
           ATA,0,                  0;");foreach(1..3)
       {<DATA>;}my               @camel1hump;my$camel;
  my$Camel  ;while(             <DATA>){$_=sprintf("%-6
9s",$_);my@dromedary           1=split(//);if(defined($
_=<DATA>)){@camel1hum        p=split(//);}while(@dromeda
 ry1){my$camel1hump=0      ;my$CAMEL=3;if(defined($_=shif
        t(@dromedary1    ))&&/\S/){$camel1hump+=1<<$CAMEL;}
       $CAMEL--;if(d   efined($_=shift(@dromedary1))&&/\S/){
      $camel1hump+=1  <<$CAMEL;}$CAMEL--;if(defined($_=shift(
     @camel1hump))&&/\S/){$camel1hump+=1<<$CAMEL;}$CAMEL--;if(
     defined($_=shift(@camel1hump))&&/\S/){$camel1hump+=1<<$CAME
     L;;}$camel.=(split(//,"\040..m`{/J\047\134}L^7FX"))[$camel1h
      ump];}$camel.="\n";}@camel1hump=split(/\n/,$camel);foreach(@
      camel1hump){chomp;$Camel=$_;y/LJF7\173\175`\047/\061\062\063\
      064\065\066\067\070/;y/12345678/JL7F\175\173\047`/;$_=reverse;
       print"$_\040$Camel\n";}foreach(@camel1hump){chomp;$Camel=$_;y
        /LJF7\173\175`\047/12345678/;y/12345678/JL7F\175\173\0 47`/;
         $_=reverse;print"\040$_$Camel\n";}';;s/\s*//g;;eval;   eval
           ("seek\040DATA,0,0;");undef$/;$_=<DATA>;s/\s*//g;(   );;s
             ;^.*_;;;map{eval"print\"$_\"";}/.{4}/g; __DATA__   \124
               \1   50\145\040\165\163\145\040\157\1 46\040\1  41\0
                    40\143\141  \155\145\1 54\040\1   51\155\  141
                    \147\145\0  40\151\156 \040\141    \163\16 3\
                     157\143\   151\141\16  4\151\1     57\156
                     \040\167  \151\164\1   50\040\      120\1
                     45\162\   154\040\15    1\163\      040\14
                     1\040\1   64\162\1      41\144       \145\
                     155\14    1\162\       153\04        0\157
                      \146\     040\11     7\047\         122\1
                      45\15      1\154\1  54\171          \040
                      \046\         012\101\16            3\16
                      3\15           7\143\15             1\14
                      1\16            4\145\163           \054
                     \040            \111\156\14         3\056
                    \040\         125\163\145\14         4\040\
                    167\1        51\164\1  50\0         40\160\
                  145\162                              \155\151
                \163\163                                \151\1
              57\156\056

Name: Anonymous 2009-08-23 14:50

>>42
I love the rainbow effect on that one.

Name: Anonymous 2009-08-23 14:59

#!/usr/local/bin/perl                                         # valid perl code
 
                    '% * % % * % %<>
               * % ~ * % % * % * * % *      *
       * % % * *   % * % *<> * % ~   % % % * %
     *  * * % * % % % % * % % % % % % * % % * %
     % * % % ^ * % % % % *[] % % * * % * * % %  %
      % * %   % % % % % * * % * * @ *   @ % * % %
    % ^ % * % * % * * % % * %  <> % % % % * % %() %
  % % * * * % % * % % * * % * * * * % * * % % * * *
   %   * * * % % * % % *[]<> % % % % * % * * * % % *<>
 % * *  % % % * * % * * * \ * %\ * * *   %/ \ # % * *
  % % % *\ * /\ * *// %  %\ <>\ // % %/ % \// % * %
    * * *\ \|| \ \/ / % %// \ \ *\ /<> %//  %// % %<>
   * % * %\  \  |   | ||// % || //  \// % // * * * %
   %{} %  * ----\   \ | /   %||//   /  ---/ / * % % *
     % *  *\ ____\   \| |    /  /  /   /----/ * %
            \ ----\     |   /   //    /
                   \     \ /        /'
                    =~m/(.*)/s;$_=$1;
                     s![-\\|_/\s]!!g
                       ;%e=('%',0,
                       '^',132918,
                       '~'=>18054,
                       '@'=>19630,
                       '*' =>0b01,
                       '#'=>13099,
                       '[]'=>4278,
                       '<>'=>2307,
                       '{}'=>9814,
                       '()',2076);
                       for $a(keys
                       %e){$e{$a}=
                       sprintf"%b"
                       , $e{$a};}
                     $y= qq{(}.join(
                     '|',map "\Q$_\E"
                   ,keys %e).qq{)};s/$y
              /$e{$1}/gex;print pack"B*",$_;

Name: Anonymous 2009-08-23 15:09

>>44
Binary dick tree.

Name: Anonymous 2009-08-23 15:18

Watching people talk about Java on /prog/ is amusing. You have two types of people:

(1) The guy sitting in the back of class who feels compelled to share with you that Java is "slow"
(2) The guy who knows all the expert programming functional languages, but nothing practical

Name: Anonymous 2009-08-23 15:27

>>46
functional languages
not practical
2/10, this shit is gettin' old.

Name: Anonymous 2009-08-23 15:29

                | ̄``''- 、
                |      `゙''ー- 、  ________
                |    ,. -‐ ''´ ̄ ̄`ヽ、_        /
                |, - '´ ̄              `ヽ、     /
              /               `ヽ、ヽ   /
             _/                    ヽヽ/
           / / /   /  /  /            ヽハ
          く  / /!   |   〃 _/__ l|   | |   |  |  | | ||ヽ
           \l// / |  /|'´ ∧  ||   | |ー、||  |  | l | ヽ
            /ハ/ |  | ヽ/ ヽ | ヽ  | || /|ヽ/!  |/ | ヽ
            / |  ||ヽ { ,r===、   \| _!V |// //  .!   |
            | ||   |l |ヽ!'´ ̄`゙   ,  ==ミ、 /イ川  |─┘
            | ハ||  || | """ ┌---┐  `  / //  |
            V !ヽ ト! ヽ、    |     !    / //| /
               ヽ! \ハ` 、 ヽ、__ノ    ,.イ/ // | /
    ┌/)/)/)/)/)/)/)/)/)/)lー/ ` ー‐┬ '´ レ//l/ |/
    |(/(/(/(/(/(/(/(/(/(/│||      |\  〃
  r'´ ̄ヽ.              | | ト    /    \
  /  ̄`ア             | | |  ⌒/     入
  〉  ̄二)  This is      | | |  /     // ヽ
 〈!   ,. -'                | | ヽ∠-----', '´    ',
  | \| |      valid      | |<二Z二 ̄  /     ',
  |   | |               _r'---|  [ ``ヽ、      ',
  |   | |    perl code    >-、__    [    ヽ      !
  \.| l.              ヽ、      [     ヽ    |
    ヽ|              \    r'     ヽ、    |

Name: Anonymous 2009-08-23 16:00

>>48
no its not .
you didnt specify "#!/usr/bin/perl"
in the first line .

Name: Anonymous 2009-08-23 16:04

Valid star wars code

#!/usr/local/bin/perl
 
undef$/;$_=<DATA>;y/ODA\n / /ds;@yoda=map{length}split;print chr
oct join('',splice(@yoda,0,3))-111 while@yoda;
__DATA__
         00O00O000O00O0000      000O         DD000000O0
        0DO0000000O0000O00     O00000        00O00000O0O
        0000      0O0         O00  O00       00D     0DO
         00O0     0O0        00D    000      DO0D00000D
          0O00    DOD       000000O00000     000  O00O
 DD0000D000O0     000      0O00O0000D00DO    0OD   D00O000D00O0
 00000DO00O0      000     000O        00D0   O0D    O00000O0DO0
 
 0O000   OD0D   O00O0   0000         DDDO000000      O00O000000
  0O000 O00DDO 00000   0O0D00        00O0O00000O    0O00O000000
   0O0O00OD00000DDD   00O  0D0       DDD     D0O    00O0D
    00000O00000000   O00    DO0      D00D00O000      00D00
     D0O00  O0000   000O000O00DO     000  00O0        0OD00
      O00    000   0O000D000O00O0    000   0D0O000000O00O00
       0      0   0O0D        0000   0O0    0O0000000O000O

Name: Anonymous 2009-08-23 16:04

>>44
Optimized for space:

    #!/usr/local/bin/perl                                         # valid perl code
    
                        '% * % % * % %<>
                   * % ~ * % % * % * * % *      *
           * % % * *   % * % *<> * % ~   % % % * %
         *  * * % * % % % % * % % % % % % * % % * %
         % * % % ^ * % % % % *[] % % * * % * * % %  %
          % * %   % % % % % * * % * * @ *   @ % * % %
        % ^ % * % * % * * % % * %  <> % % % % * % %() %
      % % * * * % % * % % * * % * * * * % * * % % * * *
       %   * * * % % * % % *[]<> % % % % * % * * * % % *<>
     % * *  % % % * * % * * * \ * %\ * * *   %/ \ # % * *
      % % % *\ * /\ * *// %  %\ <>\ // % %/ % \// % * %
        * * *\ \|| \ \/ / % %// \ \ *\ /<> %//  %// % %<>
       * % * %\  \  |   | ||// % || //  \// % // * * * %
       %{} %  * ----\   \ | /   %||//   /  ---/ / * % % *
         % *  *\ ____\   \| |    /  /  /   /----/ * %
                \ ----\     |   /   //    /
                       \     \ /        /'
                        =~m/(.*)/s;$_=$1;
                         s![-\\|_/\s]!!g
                           ;%e=('%',0,
                           '^',132918,
                           '~'=>18054,
                           '@'=>19630,
                           '*' =>0b01,
                           '#'=>13099,
                           '[]'=>4278,
                           '<>'=>2307,
                           '{}'=>9814,
                           '()',2076);
                           for $a(keys
                           %e){$e{$a}=
                           sprintf"%b"
                           , $e{$a};}
                         $y= qq{(}.join(
                         '|',map "\Q$_\E"
                       ,keys %e).qq{)};s/$y
                  /$e{$1}/gex;print pack"B*",$_;

Name: Anonymous 2009-08-23 16:14

I just realised that before LISP and Prologue, comes one year of Java and VB. Fuck.

Name: Anonymous 2009-08-23 16:30

VB
Why the hell would someone teach VB?

Name: Anonymous 2009-08-23 16:32

>>53
To make sure that his students will get a job as a suit in MicroSoft. Now, why would anyone teach LISP? And devote two whole semesters to it?

Name: Anonymous 2009-08-23 16:58

>>54
To make sure that his students will get a job as a suit in MicroSoft.
The lowest kind of job they can get of that kind, MS writes their most important lower-level code in C, higher level in C++, and lately, some C# and VB.NET mix for some user interfaces. The old VB by itself deprecated and MS only keeps it on life support.

Now, why would anyone teach LISP? And devote two whole semesters to it?
1 / 10

Name: Anonymous 2009-08-23 21:49

>>54
or, worse, prolog. Who the fuck uses Prolog?

Name: Anonymous 2009-08-24 0:16

>>56 about as many as use Cobol, P/L1, or  Fortran77

Name: Anonymous 2009-08-24 9:43

or, worse, prolog. Who the fuck uses Prolog?

Only people much, much smarter than you.
(IMHBT)

Name: Anonymous 2009-08-24 10:02

>>57
Funny you should mention those, I'm writing my new web app in a mixture of cobol and fortran

Name: Anonymous 2009-08-24 11:32

>>1
You should learn a functional programming language (not necessarily lisp), mainly because it will help you look at problems in a different way. An imperative language too, like Pascal or Python will be good, but not needed if you already know another like C++, as long as you realize how unnecessary the features of C++ often are.

And you don't need to worry about languages as bad or like Cobol, PL/1, or Fortran, despite what people say.

Name: Anonymous 2009-08-24 22:11

>>57
COBOL is still very widely used, but only taught in India, because they're second-class humans.

Name: Anonymous 2009-08-26 8:12

>>61
They manage more than you.

Name: Anonymous 2009-08-26 9:07

>>61
Sand niggers are still a type of nigger.

I don't know what this world is coming to if the white man can no longer demand and receive the respect he's owed.

Name: Anonymous 2009-08-26 9:50

>>63
This is what /b/tards actually believe
While casual racism can be funny, this is utterly preposterous. If you want to be racist, either be funny, clever or take it to /b/ where they will agree with you no matter what deluded shit you spout.

Name: Anonymous 2009-08-26 10:08

>>64
On second thoughts, IHCBT

Name: Anonymous 2009-08-26 10:46

I'm just going to give my opinion on C/C++ They were good language 20 years ago, but they're outdated and we really need a replacement low level language

Name: Anonymous 2009-08-26 11:05

>>66
One word BitC thread over.

Name: Anonymous 2009-08-26 11:21

>>66
Why? Any new language is going to be ignored solely on the basis that there won't be any libraries for it, and no programmer is going to use it without libraries. It's the same reason that, despite what I'd like to happen, Scheme will never be a popular language.

Name: Anonymous 2009-08-26 11:26

>>68
Libraries exist in C because somebody took the effort to write them. So if you want libraries in your language, you'll need to find someone to write it. That someone should be yourself.

Name: Anonymous 2009-08-26 12:14

Or make this new c able to access and use c libraries.

Name: Anonymous 2009-08-26 12:21

>>69
The point is, that without a fully featured standard library, a large number of programmers are just going to ignore your language and that writing those libraries is going to be a time-consuming process if no-one wants to use your language and help out.

Name: Anonymous 2009-08-26 12:36

>>71
That must be why no new languages have been adopted since COBOL.

Name: Anonymous 2009-08-26 12:42

>>70
This. FFIs aren't rocket science, and even languages like Haskell aren't too self-absorbed to realise they're a good idea.

Name: Anonymous 2009-08-26 12:52

>>72
We're not talking about just a language, they want a replacement. I took it as understood that for something to be a real replacement[1], it would need to be popular.


--
1. Yes it's a bit of a `no true scotsman', but try to take my point instead of arguing semantics

Name: Anonymous 2009-08-26 13:03

>>74
try to take my point
I would if you had one worth taking. Libraries are considerably less important to a low-level language than they are to another Java, and if you think available libraries are what kills any language, you're living in a fantasy world.

Name: Anonymous 2009-08-26 13:06

It just occurred to me that we're arguing based on a post by someone who think C and Sepples are similar enough that they merit being called ``C/C++'', and who thinks they ``were good language 20 years ago, but they're outdated''.

Name: Anonymous 2009-08-26 13:09

>>76
Good Lord, how did we miss that?

Name: Anonymous 2009-08-27 11:25

How can anyone say a language is outdated? That is ridiculous. Sure, you're already bored and want something new, but that's just you. A language is not a fighter aircraft that needs to be replaced every 20 to 40 years. Programming languages are things that are created by people who want a language to do what they want, usually done by taking bits of other languages and putting it together in a way that is most appealing to them. It doesn't make old languages deteriorate, it just diversifies your options. It's all personal preference.

Name: Anonymous 2009-08-27 11:43

>>78 is unemployed

Name: Anonymous 2009-08-27 12:26

>>78
I prefer LISP.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List