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

Langauages

Name: Anonymous 2006-03-29 21:41

Post whatever programming language you think sucks the most. Flaming others in this thread is preferable.

You can also post whatever programming language is the best, however if you post that it's Java or some other faggoty shit I'll assume you meant it was the worst.

kthx

Name: Anonymous 2006-03-29 22:49 (sage)

I love Java as much as I love getting my penis jammed in the door. repeatedly.

Name: Anonymous 2006-03-30 2:19 (sage)

Considering that every fucking thread around here turns into "java sux lol" I think this thread is redundant.

Name: Anonymous 2006-03-30 2:48 (sage)

java sux lol

Name: Anonymous 2006-03-30 4:34 (sage)

java sux lol

Name: Anonymous 2006-03-30 9:58

PHP is pure bullshit and crap.

Name: Anonymous 2006-03-30 10:01 (sage)

((LOLFactory)((JavaSuxFactory)JavaSuxFactory.getInstance()).newLOL()).javaSuxLOL();

Name: Anonymous 2006-03-30 12:02

java is cool.

Name: Anonymous 2006-03-30 12:52

C#

Name: Anonymous 2006-03-30 16:46

C++ and ASM FTW. Java and VB (especially VB .NET) are the worst. In short:

java sux lol.

Name: Anonymouse 2006-03-30 17:25

Java is good, good documentation, easy to use.
PHP is good, good documentation, lot's of user contributed notes.
Erlang/Haskell is good, functional programming is interesting
Python is good, it's built of the best of all worlds

Perl sucks, there is no need for it when you have PHP and Python
C++ doesn't really suck, but it's friggin hard to get up to speed with. Same goes for C.

Name: Anonymous 2006-03-30 17:41 (sage)

>>10
Or, to put it more to the point...

if it's needlessly hard to learn and use; it's good because it strokes your ego, but if it's easy to use and learn and to do things with, it's bad because you don't get to be all fucking 1337.

Name: Anonymous 2006-03-30 19:52

you don't need PHP or Python if you have perl @_@

Name: Anonymous 2006-03-30 21:52

>>12
Or I write commercial-grade game engines and need to use C++ and ASM to make them run well (as in high-performance, high framerate, and low memory usage) so people (like you?) can buy them and not be crushed by dissappointment.

Name: Anonymous 2006-03-31 0:23

Correction: you don't need PHP if you have Python or Perl. You want to embed shit into your webpage? Easy as pie in Perl, it's just that nobody except the PHP kids are stupid enough to do so.

Name: Anonymous 2006-03-31 2:21

>>15 You lie; NOTHING is easy in perl (except, possibly, walking away from perl).

Name: Anonymous 2006-03-31 2:31

>>16
Even walking away can be difficult; after you've spent so long learning the shitty syntax and convincing yourself you love perl, walking away would be a bereavement.

Name: Anonymous 2006-03-31 2:49

>>17
Perl has shitty syntax?
Obviously you haven't tried PHP.

Name: Anonymous 2006-03-31 2:51

>>18
php has shitty semantics. Variable variables lol.

Name: Anonymous 2006-03-31 2:54

>>18
I moved from Perl to PHP+Python because Perl's syntax is made of automagic and 11 year old kid, and I noticed I would easily forget fail it, or I would take longer reading Perl than other code, even when it was my very fucking own code.

PHP is great for the web and has a much simpler syntax. Function names suck, alright, but it's great otherwise. It's also good to great for console scripting. For everything else, I use Python, I'm quite happy with it, and Python is to clean what Perl is to nasty.

Name: Anonymous 2006-03-31 3:25

>>20
Show me an example of shitty perl syntax.

Name: Anonymous 2006-03-31 3:51

>>21

      $LOVE=               AMOUR.
    true.cards.        ecstacy.crush
  .hon.promise.de    .votion.partners.
 tender.truelovers. treasure.affection.
devotion.care.woo.baby.ardor.romancing.
enthusiasm.fealty.fondness.turtledoves.
lovers.sentiment.worship.sweetling.pure
.attachment.flowers.roses.promise.poem;
 $LOVE=~ s/AMOUR/adore/g; @a=split(//,
  $LOVE); $o.= chr (ord($a[1])+6). chr
   (ord($a[3])+3). $a[16]. $a[5]. chr
    (32). $a[0]. $a[(26+2)]. $a[27].
      $a[5].$a[25]. $a[8].$a[3].chr
        (32).$a[29]. $a[8].$a[3].
          $a[62].chr(32).$a[62].
           $a[2].$a[38].$a[4].
               $a[3].'.';
                 print
                  $o;

Name: Anonymous 2006-03-31 3:52

>>22
Ugh, fucking world4ch, [code] should be fixed width.

Name: Anonymous 2006-03-31 4:55

>>21
- Omitted parenthesis... sometimes
- $_ implied argument... sometimes
- $* magic variables, shittily documented
- Having to use a type specifier in variables like Basic, lol
- $#array
- my
- <x>
- while(<>) wankery
- for/while/if after stuff, a butt ugly side effect from a butt ugly idea:
- forced braces on blocks, which in turn happens probably a consequence of some other retarded syntactic idea
- shit you have to do to e.g. count regex matches
- more "automagic", "dwim" and "dwiw" bullshit
-...

Name: Anonymous 2006-03-31 5:11

>>24
Don't forget the foo->bar() syntax which has no justification in a language that's not C++.

Name: Anonymous 2006-03-31 5:32

>>22
You do realise that no one codes perl like that irl amirite?

>>24
That doesn't show any shitty syntax at all, just a shitty programmer that doesn't know how to use perl.

How 'bout you show me some REAL examples of bad syntax compared to PHP? Examples like how you do some stuff in PHP and how you do the same stuff in perl.

Here's an example of a simple string replacement in shitty PHP:
$output = str_replace("<InsertContent>", $content, $output);

Here's how you do it in perl:
$output =~ s/<InsertContent>/$content/gi;

Name: Anonymous 2006-03-31 5:36

>>26
Perl string replacement is really illogical, it both reads and writes to the left hand expression. Crazy I tell yous!

Name: Anonymous 2006-03-31 5:42

>>26
NO I DIDN'T REALISE THAT PEOPLE DON'T WRITE THEIR CODE IN THE SHAPE OF A HEART IN REAL LIFE THANKS FOR TELLING ME.

Name: Anonymous 2006-03-31 5:48

>>24
PHP shit code:
$array = array('lastname', 'email', 'phone');
$comma_separated = implode(',', $array);

Perl:
@array = ('lastname', 'email', 'phone');
$comma_separated = join ',', @array;

Now in PHP. At a glance, is $array, an array or a scalar?
WTF. How do I tell? I've to look through all the code to find the initialisation?

For perl, @array is an array. $array is a scalar. No confusion.

Also, what's with the use of explode and implode for function naming. If I'm spliting or joining some string up, just name the functions split or join. Not some ambiguous explode and implode, like what I'll do when I read PHP code, or have 32 other functions that do the same thing. preg_split(), spliti(), str_split(), explode(), shit_split(), brain_split(),

...

Name: Anonymous 2006-03-31 5:58

>>27
It's the same concept as $i++; vs $i = $i + 1;

Name: Anonymous 2006-03-31 7:59

Perl and PHP: Period.

Both Perl and PHP are crucial tools for the Web developer. A lot of the best Web-application developers I know pick one of the languages as their strong language, but keep in mind the other for those times when it just makes sense.

I recommend learning them both. The more I spend with either language, the more I like them both. There are times when I'm programming in PHP and go running back to Perl with tears in my eyes, and there are other times when I blow countless hours trying to make a particular "thing" work in Perl, only to find out that the PHP equivalent took about 3 minutes. Don't get into the zeal wars, understand both languages and you'll see where I'm coming from. Both PHP and Perl are wonderful, extraordinary languages.

Name: Anonymous 2006-03-31 8:07

>>31
Ruby on Rails.

Name: Anonymous 2006-03-31 8:31

>>29
There's join in PHP too. Notice how you're not using parenthesis in the join function. This requires a shitty grammar with loads of exceptions and side effects. Notice how you're using type specifying characters.

At a glance, is $array, an array or a scalar?
Welcome to weak typed languages.

How do I tell?
From seeing how you assign it an array and use it as the second parameter to join/implode.

For perl, @array is an array. $array is a scalar. No confusion.
So, do you have enough characters for all the different objects you can create?


>>31
Finally, some decency. I use PHP, Python and Perl in that order. There are different things that piss me off from each (although Python is probably the one I'm the least pissed off about), and there are different things I love from each.


>>32
Python.

Name: Anonymous 2006-03-31 8:33

>>33
__python_is_more_readable_than__(self, perl)

amirite

Name: Anonymous 2006-03-31 8:54

>>34
Doesn't take much.

Name: Anonymous 2006-03-31 9:22

Fact: Anyone who actually recommends PHP doesn't know about programming. Any mature programmer will not support PHP even if they are forced to code in it. So many of the posters here are showing their true colors, which frankly isn't surprising. Who is attracted to anime and programming? Children and stupid college kids. Obviously this the main demographic that inhabits 4chan.

Name: Anonymous 2006-03-31 9:25

Should be noted that with perl you can choose a style for your program and stick with that. By choosing a consist style (like the style that Conway suggests) you make a very maintable and readable perl program. The problem is that most posters here lack the maturity to control themselves. They are just horny teenagers fucking anything with an oriface.

Name: Anonymous 2006-03-31 12:03 (sage)

>For perl, @array is an array. $array is a scalar. No confusion.

but $array[$i] is an element of an array, $array{$i} is an element of a hash, and @array{@$i} is an array formed from the elements in the array referenced by $i. and all this is changing in perl6. ENJOY YOUR SYNTAX

Name: Anonymous 2006-03-31 12:12

>>27
Not having regex as a language primitive is more illogical.

Name: Anonymous 2006-03-31 12:18

>>34
Yes

>>35
Exactly, but Python is quite readable in an on itself.

>>36
Anyone who actually recommends Perl doesn't know about software engineering, he's a midnight hacker or has been coding < 1000 line scripts all his life, and has no idea of maintainability, software life cycles, project members rotation, etc.

I don't think it's unwise to use PHP for web applications. Again, it has similar problems with the coding style, but it can never get THAT ugly. Of course, it's less powerful than Perl. So? Web applications rarely need more, and there's Python and Ruby, or even Perl in case they do.

>>37
You can't do that if you're working with others, unless imposed a style, and you can most definitely not do that if working with a project you haven't started from scratch.

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