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

Pages: 1-4041-8081-

/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-22 22:30

I'll make this quick
Java = Enterprise Shit
Visual Basic = I'd rather die than program in this
Python = FIOC, but still good
PHP = Shit
C++ = Epic trolling by Bjarne

Name: Anonymous 2009-08-22 22:35

>>2
>Java = Enterprise Shit
I heard it had a huge overhead and it was kinda slow with big programs?

>Visual Basic = I'd rather die than program in this
Yeah it's pretty shit.

Name: Anonymous 2009-08-22 22:38

C = PURE PROGRAMMING but not interested because it's so low level compared to today's languages
C++ = A tumor slapped on C.  Very messy.
Python = I love it.  It's the perfect language.  You can program at the speed of thought with it.  The only thing is it can be slow, but even then it's not much of a problem.
Visual Basic = Programming for people who can't program.
Java = Eh.  It's all right.  A bit more popular then it needs to be, but all right.
Scheme/Lisp = Good for learning how to program, SHOULD NEVER BE USED FOR ACTUAL PROGRAMMING
Javascipt = A messy language for a messy internet.
HTML = NOT PROGRAMMING
Brainfuck = fun to hack around in
ABC = aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaacbcabcbacbabcabcbacbacbabcabca

Name: Anonymous 2009-08-22 22:40

Scheme/Lisp = Good for learning how to program, SHOULD NEVER BE USED FOR ACTUAL PROGRAMMING
2/10

Name: Concerned Anon 2009-08-22 22:43

I think everyone needs to learn both low-level imperative programming (any non-OO language with manual memoru management and NO EXCEPTIONS like C or Pascal), high-level functional programming (Haskell or Scheme), and some immersive OOP (Ruby or another Smalltalk derivative). If you don't want that range of experience, you might as well kill yourself and stop raping us with your shitty code.

Also, I personally write Perl most of the time.

Name: Anonymous 2009-08-22 22:45

manual memoru management and NO EXCEPTIONS like C or Pascal
Pascal had manual memory management? Jesus, did they get anything right

Name: Anonymous 2009-08-22 22:49

Scheme/Lisp = Good for learning how to program, SHOULD NEVER BE USED FOR ACTUAL PROGRAMMING
Confusing Scheme with Lisp. CL is a very practical language, and Scheme can be too with the right libraries.

4/10 Ignorance is slightly annoying.

Name: Anonymous 2009-08-22 22:50

>>7
Pascal was a cleanup of the design of Algol, based on the theory of STRUCTURAL PROGRAMMING. Basically it was the Scheme of imperative languages. And I'm pretty sure there were no garbage collected imperative languages in 1970 (except maybe APL, if it even counts as a language).

Name: Anonymous 2009-08-22 22:53

>>6
Upvoted for "memoru management"

Name: Anonymous 2009-08-22 22:54

>>10
Downvoted for saying upvoted

Name: Anonymous 2009-08-22 22:55

>>11
( ´_ゝ`)

Name: Anonymous 2009-08-22 23:05

>>9
Lisp can be used to write fully imperative code, but it looks like shit unless you write some macros to clean it up. At that time their compilers sucked and macros weren't exactly the same as we know them today, so some code did look fairly nasty when written in an optimized manner.
Take a look at NCOMPLR for some examples.

Name: Anonymous 2009-08-22 23:29

Perl is the best language ever. There is nothing Perl cannot do.

            o                                             
                 O       /`-.__                           
                        /  \.'^|                          
           o           T    l  *                          
                      _|-..-|_                            
               O    (^ '----' `)     I CONJURE THE SPIRITS
                     `\-....-/^      OF MY COMPUTER WITH PERL!
           O       o  ) "/ " (      /                     
                     _( (-)  )_                           
                 O  /\ )    (  /\                         
                   /  \(    ) |  \                        
               o  o    \)  ( /    \                       
                 /     |(  )|      \                      
                /    o \ \( /       \                     
          __.--'   O    \_ /   .._   \                    
         //|)\      ,   (_)   /(((\^)'\                   
            |       | O         )  `  |                   
            |      / o___      /      /                   
           /  _.-''^^__O_^^''-._     /                    
         .'  /  -''^^    ^^''-  \--'^                     
       .'   .`.  `'''----'''^  .`. \                      
     .'    /   `'--..____..--'^   \ \                     
    /  _.-/                        \ \                    
.::'_/^   |                        |  `.                  
       .-'|                        |    `-.               
 _.--'`   \                        /       `-.            
/          \                      /           `-._        
`'---..__   `.                  .`_.._   __       \       
         ``'''`.              .'gnv   `'^  `''---'^       
                `-..______..-'                            

Name: Anonymous 2009-08-22 23:41

learn a lisp
learn c
learn an oo language (real oop NOT sepples)

Congratulations, you can do whatever you want in any shitty language you want.

PS -- all languages suck

Name: Anonymous 2009-08-22 23:51

C
it's so low level compared to today's languages
0/10

Visual Basic = Programming for people who can't program.
Agreed.  Why would anyone seriously use this shit?

Scheme/Lisp = Good for learning how to program, SHOULD NEVER BE USED FOR ACTUAL PROGRAMMING
What about Haskell???

Name: Anonymous 2009-08-23 1:04

>>16
What about Haskell???
What about it? Oh, it's a waste of time, you say? It's a lot of meaningless theory just to avoid having a for keyword, you say? I agree!!

Name: Anonymous 2009-08-23 1:19


Python is the best language ever. There is nothing Python cannot do.

            o                                            
                 O       /`-.__                          
                        /  \.'^|                         
           o           T    l  *                         
                      _|-..-|_                           
               O    (^ '----' `)     I CONJURE THE SPIRITS
                     `\-....-/^      OF MY COMPUTER WITH PYTHON!
           O       o  ) "/ " (      /                    
                     _( (-)  )_                          
                 O  /\ )    (  /\                        
                   /  \(    ) |  \                       
               o  o    \)  ( /    \                      
                 /     |(  )|      \                     
                /    o \ \( /       \                    
          __.--'   O    \_ /   .._   \                   
         //|)\      ,   (_)   /(((\^)'\                  
            |       | O         )  `  |                  
            |      / o___      /      /                  
           /  _.-''^^__O_^^''-._     /                   
         .'  /  -''^^    ^^''-  \--'^                    
       .'   .`.  `'''----'''^  .`. \                     
     .'    /   `'--..____..--'^   \ \                    
    /  _.-/                        \ \                   
.::'_/^   |                        |  `.                 
       .-'|                        |    `-.              
 _.--'`   \                        /       `-.           
/          \                      /           `-._       
`'---..__   `.                  .`_.._   __       \      
         ``'''`.              .'fioc  `'^  `''---'^      
                `-..______..-'

Name: Anonymous 2009-08-23 1:20

>>18
Python is piece of shit disgusting, I can tell by the way you fucked your post up.

Name: Anonymous 2009-08-23 1:21

>>17
Awesome strawman. Would read again

Name: Anonymous 2009-08-23 1:23

>>18
Actually, there are many things Python cannot do. Fucking forced indentation of code forces you to code in only one way. This kills expressiveness and ability to do the kind of outlandish things that Perl does.

Name: Anonymous 2009-08-23 1:27

Name: The Amazing Anus !tly/rANUS. 2009-08-23 1:36

Assembly is the best language ever. There is nothing Assembly cannot do.
            o                                            
                 O       /`-.__                          
                        /  \.'^|                         
           o           T    l  *                         
                      _|-..-|_                           
               O    (^ '----' `)     I CONJURE THE SPIRITS
                     `\-....-/^      OF MY COMPUTER WITH ASSEMBLY!
           O       o  ) "/ " (      /                    
                     _( (-)  )_                          
                 O  /\ )    (  /\                        
                   /  \(    ) |  \                       
               o  o    \)  ( /    \                      
                 /     |(  )|      \                     
                /    o \ \( /       \                    
          __.--'   O    \_ /   .._   \                   
         //|)\      ,   (_)   /(((\^)'\                  
            |       | O         )  `  |                  
            |      / o___      /      /                  
           /  _.-''^^__O_^^''-._     /                   
         .'  /  -''^^    ^^''-  \--'^                    
       .'   .`.  `'''----'''^  .`. \                     
     .'    /   `'--..____..--'^   \ \                    
    /  _.-/                        \ \                   
.::'_/^   |                        |  `.                 
       .-'|                        |    `-.              
 _.--'`   \                        /       `-.           
/          \                      /           `-._       
`'---..__   `.                  .`_.._   __       \      
         ``'''`.              .'asm   `'^  `''---'^      
                `-..______..-'                           

Name: Anonymous 2009-08-23 1:40

>>21
So instead of indenting your code like you would normally do in any language, you can make it un-readable instead?

Name: Anonymous 2009-08-23 2:02

>>24
YHBT.

Name: Anonymous 2009-08-23 2:20

>>24
implying perl code is not readable
                 ___.. __jgggggggggggggjjjjquj,.,,、
                . _,gg瘟躍醴醴醴醴雛醴醴醴醴雛醴醴齟g..
              ...,j醴醴醴醴醴醴醴醴醴醴醴醴醴醴醴醴醴齟g,,,、
           _,,,g醴醴醴醴醴醴醴醴醴醴醴醴醴醴醴醴醴醴醴醴齟. .
          、j[醴醴醴醴醴醴醴醴醴醴醴醴醴醴醴醴醴醴醴醴醴醴ggj,...
      ....j醴醴醴醴醴醴醴醴醴醴醴醴醴醴醴醴醴醴醴醴醴醴醴醴醴飄j、
      瀘醴醴醴醴醴醴醴醴覇囀囀夢夢囀鬻嚶嚶覇醴醴醴醴醴醴醴醴齔
    ...g醴醴醴醴醴醴醴閇^`                  . `` '゚゚『鷦醴醴醴醴醴髟
    漕醴醴醴醴醴鬱゚~                               ゙゚『醴醴醴醴蠶,
    灑醴醴醴醴鬱゚゙ .                                  `『醴醴醴醴$
    醴醴醴醴醴ケ..                                    .゙'..: 『醴醴醴歡
    層醴醴醴歡                                        . .(濁醴醴歡
    醴醴醴醴]['.                                        : `:゙{[醴醴¶
    層醴醴蠶[l'         .、,,..______、            _____. ';゙(}醴醴†
    濁醴醴鏖《'         'f『゚゚゚゚゚゚゚゚゚゚゚゚閂昃'!!       . -忌『『『『門愬タ!i'゙(i層躑
    ..f[醴醴醴』'       _.          ...`:゚'.:     (Jl}~゚       .'.^'゚(li、.'僧歉
    . ‘體醴醴廴,。r、':'`‘「.... _,gg豐齟籬gjljl;ilド   .:゙l:','。;i,g豐醯踰gz.(.(.( i.j|]「
    . ;tqi_゚゚¶醴†`      } ii填閇゚゚゙゚゚゚゚゚『『摂'''^' .   .::、'ヌ}們゚゙゚゚門門轡埣l゙(|遁
    . ゙}}' ゙マl'. ¶$.       ` .  . !!!!!!!!!!!''''^ .. .     . il。゙(`゙゙'゚''''''?ヘ'''''`` ''、ii濬
    、 !) .:..jg_゚[Ii;. .                  _,     . `?)j、         . ._,(,(:ア
      ′、(|『゜.'゚li' .       丶、.,,__.,.,___v!゚` .      '''?テliuv- ..、...、r!i゚(.(0i
        .,゚''' -. '               .、.;,(jIj.....__,._._..,xs,iiu_,..,,I詬i;。.、....、... .(i゙(I
        ``               _._,(ii.lI}l゚(゙'ヲ増嚇jg]獅嬲叛l゚(}}IIID,;';゙;iiIi;ii゙(|
            、           ::.ミ浴?゚(. .     ``'゚タ'゚''''゚''''.!''.(lI泪||I}i.[(l}}Il゙(}
          一' .           :゙(}l}シ.、;;、....、,,__.,uu,。,,,,,ggggj_j,(I}'゚(勿l.[(','i}ソI.
                    . .   ' .(.(.(.()l瘟尸゚゙゚゙゙゙゚゙゙゙゚゚゙゚゚゚゚゚゚゚層鬱浴)).'';ミi.(,(l;ミ.
              . .     . . ::、.、..:.(,(:、''゙゚『咐':'・!・    f負鄂、.:'.(.(>.(,(3i゙(}|I'
              '、..  .、:.、'.:、'.'.'.、.(`' .       : : : : ー;;,(,(i','i.(.(.(.(.(lIIIIIiIIIl゚
                、...、'.:.'.、.'.、.'.、::、.      . `'゙(!!i'ill}ヌミ(i゙'''.、::.(.(iI|}}I||肝
                .゙'.:.'.:i.(.(.(.(i:.:.、'..        ````````  .:゙:;,(jI回回|g.
              ...g、'.':゙(i.(.(.(.(.(.(,(.(、...              .、.:.(jI翩翩謳醴g。
              瀘$ ;.゙'.'` :.(.(.(.(i゚(Il}i:ii;。;: . ...、.、:::;、.:.。;i,(jjjII屈讃醴醴醴醴gg__,.
            .:.g醴蠶g...、...:゙(i.(.('゙(i> ''゚(!!!)llIi:lIIIj翁朋腸認碯醴醴醴醴醴醴醴醢ggj,.,.
      .,,,jgg醴醴醴醴蠶g;;.、.'::゙':''.'ミ.(.(.(.(.(,(iji.iii,ii浴朋器謳醴醴醴醴醴醴醴醴醴醴雛|Ibi、
.:,,jag醴醴醴醴醴醴醴醴醴gg_ . `.' (.(.(.(IIII||瓰蘊槻醴醴醴醴醴醴醴醴醴醴醴雛部}l゚(' .
!}}|讃嬲醴醴醴醴醴醴醴醴醴魎g,,.    ``:゚ヌ惚謳醴醴醴醴醴醴醴醴醴醴靈雛部ケ''`
.'.^'゚(}照讃嬲醴醴醴醴醴醴醴醴醴籃j,.,,,,,g繪醴醴醴醴醴醴醴醴醴醴靈雛嫋笏i゚'.'
    '‘('゚(}}}}|讃讃讃雛讚嬲醴醴醴醴醴醴醴醴醴醴醴醴醴醴醴靈嬲韜抓l゚(゙'゜
        .゙'.''゚(}郊}}}}照孤讃讃雛雛醴嬲嬲嬲嬲醴嬲嬲嬲嬲雛讃部郊?゚(^`

Name: Anonymous 2009-08-23 2:40

>>1
Java: Would not use for anything other than the applet functionality. I do not like this language.
Microsoft .NET: .NET-based languages are good* for many quick deployment problem domains and they're only becoming better as time goes on.
*Visual Basic: Hate the syntax. The fact that it's .NET does not save it from making me angry.
Python: It's a decent scripting language, though it's still recovering from a lot of early bad decisions. Definitely worth learning.
PHP: Terrible language design (syntax, deprecation policies, progression) and terrible language parsers. You can do a lot of things with it, but the costs, imo, are simply too great to justify the benefit. Seek alternatives.
C++: I don't think learning C++ means what you think it means. I use this language a lot (have for a few years now) and I'm still not even close to being able to say that I've learned C++. It's a powerful language, but it gives you plenty of rope to hang you and your buddies with.

Languages worth learning that you haven't been introduced to? Lua. You'll probably want some Ruby, because it looks like it's starting to gain some ENTERPRISE traction, though not enough to concern yourself over.

I definitely recommend a functional language because it will broaden your horizons and you might even like it. Scheme, some Lisp dialect, Haskell, whatever.

If you want money, all the fucking geezers that know COBOL are gone, you can get some real niche work with COBOL. But be warned: COBOL is not your friend.

D might be worth looking at for practical purposes.

If you're interested in PHP, chances are that you've wanted to do some web design. Learn CSS and HTML, they're less fun than PHP, but they're no less important. Especially in WEB 2.0.

I was gonna post more, but whatever, I'm done. Sorry.

Name: Anonymous 2009-08-23 3:05

>>27
Perl is the way to go for web programming, especially if you dislike PHP. And it's more useful for doing other stuff as well. Any punk ass kid can probably find some ready-made script for whatever he wants to do on the internet.

Name: Anonymous 2009-08-23 3:32

Name: Anonymous 2009-08-23 3:33

Cyclone

Name: clever guy 2009-08-23 3:42

Scala! It's the hot new language for leveraging synergies and applying real-time matrix strategies for a streamlined development methodology.

Name: Anonymous 2009-08-23 3:59

>>29
Jews did perl parsing

Name: Anonymous 2009-08-23 4:23

Jews did >>32

Name: Anonymous 2009-08-23 5:59

>>28
Erm.. isn't that an argument for it being shit?

Name: Anonymous 2009-08-23 6:44

>>34
Since when is active community and extensive documentation and argument for being shit?

Name: Anonymous 2009-08-23 7:39

>>28
If you have a decent host, you can even write web apps in Haskell. No CGI shit; the handlers are all compiled straight into the server. It's great.

C and OCaml can also do this. I can't really recommend either of them for the purpose

Name: Anonymous 2009-08-23 7:42

>>36
you can't even write web apps in Haskell
FTFY

Name: Anonymous 2009-08-23 8:10

>>26
Valid Perl code

Name: Anonymous 2009-08-23 11:43

>>36
No CGI shit; the handlers are all compiled straight into the server.
Could you elaborate on that please?

Name: Anonymous 2009-08-23 13:38

>>39
Haskell just got something every other language has had for centuries.

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.

Name: Anonymous 2009-08-27 12:31

>>79
>>78 is unemployed[dubious—discuss]

Name: Anonymous 2009-08-27 12:31

>>79
C is used in embedded and system projects.
C++ still has a huge following in the game industry because of the performance requirements, even though it has many pitfalls and is only semi-OO, VM languages don't come even close in tight loops. In game-engines at least, many projects nowadays use higher-levels languages with bindings to the c++ coded engine.

Name: Anonymous 2009-08-27 12:50

>>78
Sure a language can be outdated.  What ever happened to 80's Basic?  COBOL?  Dead.  Assembly, only used within other languages now a days.  C has been mostly replaced by C++, and with the internet compiled languages are fading except for specialized tasks like games.  CPUs are so fast now there's not much of a reason to have have everything compiled.  Have you looked at the linux lately?  There's a shit load of python scripts going on behind the scenes.

IHIHNBT

Name: Anonymous 2009-08-27 12:59

>>83
C has been mostly replaced by C++
C
U MENA PASCAL

Name: Anonymous 2009-08-27 19:27

>>84
Haskell does `not` rhyme with Pascal. It actually rhymes with hax my anus.

Name: Anonymous 2009-08-27 19:31

>>83
Expert Trolling

Name: Anonymous 2009-08-27 20:30

>>85
Haskell does `not` rhyme with Pascal
I pronounce "Haskell" as "hass-KELL" and "Pascal" as "PASS-cull." So you're right, but you're also Captain Jack HarknessSparrow

Name: Anonymous 2009-08-27 21:53

>>87
U MENA HASKAL?

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