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

Pages: 1-4041-

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.

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

Fact: 36 is an idiot


Oh noes, Yahoo is built by children!

Name: Anonymous 2006-03-31 14:54

I don't think it's unwise to use PHP for web applications
Enjoy having your web server haxed.

Name: Anonymous 2006-03-31 21:53 (sage)

>>41
Yahoo uses php? Since when?

Name: Anonymous 2006-04-01 3:55

I have an awesome idea: let's just drop PHP and Perl, and use Python and Ruby instead! Wow!

PHP: fucking idiotic language. Several thousand functions and security holes galore! You're encouranged to mix code and content too! Like, totally rad, dude!

Perl: fucking insane language. You can do anything in it, but only if you love reading manuals because you forgot one of the five million minutiae of the language.

Name: Anonymous 2006-04-01 4:31 (sage)

>>43
since 2002

Name: Anonymous 2006-04-01 6:57

>>42
You must be the sucky one if you don't know how to prevent this.

>>43
Yahoo! trashed their own application server modelled after ColdFusion and now they use a modified version of PHP in many parts of their site. I think Google uses it somewhere too.

Name: Anonymous 2006-04-01 7:36

>>46
It's easy to prevent. Don't use php.

Name: Anonymous 2006-04-01 16:20

>>47
Even easier: don't use a computer. If you can't produce some decent code (as in secure, templated, well structured, readable, and maintainable) in a language as easy as PHP then you better work on something else.

Name: Anonymous 2006-04-01 16:53

>>48 No, if you're using a language where you're spending more time compensating for its' faults than producing functional code, then you are clearly using the wrong language. This is where perl and php both fail. You should not have to think about the language, beyond "how do I do the tasks I have outlined". In superior languages you focus on creating solutions, and not in working around the artificial limitations (eg, readability). This is why, ultimately, VB is superior; it lets you get shit done, end of story.

Name: Anonymous 2006-04-01 17:42

>>44
When you get the major web hotels to start providing support for Python and Ruby, I'll be right behind you. Til then, I'm sticking with PHP

Name: Anonymous 2006-04-01 17:53

A few questions and comments:
PHP isn't going anywhere. For quite some time. It has waaay to many users and programmers. PHP/MySQL is one of the most commonly used web technology there is.

Perl seems to be sticking around for legacy reasons (is anyone actually learning Perl theses days, instead of Ruby or Python?)

Neither of these are flawless, true, but the userbase is still big. (Googlefight says 1.6 billion hits for PHP and 400 million for Perl)

Personally I only took the time to learn PHP and Python, using Python only for scripting, since it's a tad harder to integrate with a web page and a lot harder to get support from any web hotel for.

My2cents

Name: Anonymous 2006-04-02 16:01

I've been trying to figure out PHP, and it's seriously way to hard. How do you connect to a db, or even go from a php file to an html file? It's almost as bad as Perl, for fuck's sake.

VB/ASP is superior.

Name: Anonymous 2006-04-02 16:14

Name: Anonymous 2006-04-02 16:14

>>52
Hahaha u r leet haxx0r!

Name: Anonymous 2006-04-02 17:44

>>54 who cares about being 'leet' when there's real work to be done?

Name: Anonymous 2006-04-03 3:45

>>55
In VB? Enjoy your "real work".

Name: Anonymous 2006-04-03 6:23

>>49
HAHAHAHA
You bashing PHP then claiming VB is Jap- er superior? I thought you were going to mention LISP or something like that, where I'd partly agree and partly disagree, but VB is a shit language. It has the disadvantages of scripting languages and none of the advantages of them. Any PHP, Perl, Python or Ruby are better in many ways, unless you want a Windows GUI application.

Name: Anonymous 2006-04-03 6:32

>>49
Whoa, I missed this one. Comment time: I'm a OMG PROFESSIONAL (read: I get paid to do it) VB programmer. I'm here to inform you that I spend most of my time working around the failings of the language. Even in those rare circumstances when I'm not trying to do something that the language won't allow me to, I still get tripped up by retarded syntax issues, such as having different syntax for assigning objects (set foo = bar instead of just foo = bar) and differentiating between subs and functions as a syntactic level. WTF is the point, it serves absolutely no purpose other than to trip the programmer up.

Name: Anonymous 2006-04-03 8:54

>>52
hahaha oh wow

PHP is fuck simple. You gotta fail hard not to get it. To use a database, I suggest an intermediate layer like ADOdb so you don't depend on a single database. You don't go from a PHP file to an HTML file; if you need to output text you just echo it or exit PHP mode with ?> and write whatever you want. The former is recommended for large sites, the later for quick hacks.

ASP sucks balls. It's propietary, it's costly, and I bet it won't scale nearly as good. PHP is extremely simple, free, offers different SAPIs, and has a far more regular and nice syntax than VB, besides far more features.

Name: Anonymous 2006-04-03 12:22

>>59
With ASP.net, you can choose pretty much any language that compiles to into the .net framework.

ASP, on the other hand, is simply annoying.

Name: Anonymous 2006-04-03 12:24

>>59
I concur. ASP does in fact suck balls and you have to be at least 89% fail to suck at PHP.

>>55
VB is for people learning to program and hobbyists. There is no such thing as serious business with VB.

Name: Anonymous 2006-04-03 14:04

c++ i guess....

Name: Anonymous 2006-04-03 14:18

>>61
There are "serious businesses" out there writing apps in VB. And without exception they all produce crummy, buggy, ugly, unmaintainable code. Those that don't go out of business only stay afloat because they write software for some niche market where they have literally no competitors.

Name: Anonymous 2006-04-03 21:32

LINE INPUT #1, a$
'Serious business.

Name: Anonymous 2006-04-08 9:52

>>63
Because stupid managers think that programming is magic and so the developers have no choice but to continue using their prototype instead of doing it properly.

Name: Anonymous 2008-02-14 1:20

'-._                  ___.....___
    `.__           ,-'        ,-.`-,    
        `''-------'          ( x )  `._
go back to
                              `-'      (/b/, please
[code]                                        \
                                        \
                                ---..,--'
   ................._          /--...--,
                     `-.._    `    _.-'
                          `'-----''

Name: Anonymous 2008-02-14 1:21

'-._                  ___.....___
    `.__           ,-'        ,-.`-,    
        `''-------'          ( x )  `._
go back to
                              `-'      (/b/, please
                                        \
                                        \
                                ---..,--'
   ................._          /--...--,
                     `-.._    `    _.-'
                          `'-----''

Name: Anonymous 2008-02-14 1:21

'-._                  ___.....___
    `.__           ,-'        ,-.`-,    
        `''-------'          ( x )  `._
go back to
                              `-'      (/b/, please
                                        \
                                        \
                                ---..,--'
   ................._          /--...--,
                     `-.._    `    _.-'
                          `'-----''

Name: Anonymous 2008-02-14 1:21

'-._                  ___.....___
    `.__           ,-'        ,-.`-,    
        `''-------'          ( x )  `._
go back to
                              `-'      ( /b/, please
                                        \
                                        \
                                ---..,--'
   ................._          /--...--,
                     `-.._    `    _.-'
                          `'-----''

Name: Anonymous 2008-02-14 1:22

'-._                  ___.....___
    `.__           ,-'        ,-.`-,    
        `''-------'          ( x )  `._          .
go back to
                              `-'      (        . /b/, please
                                        \
                                        \
                                ---..,--'
   ................._          /--...--,
                     `-.._    `    _.-'
                          `'-----''

Name: Anonymous 2008-02-14 1:22

'-._                  ___.....___
    `.__           ,-'        ,-.`-,    
        `''-------'          ( x )  `._
go back to
                              `-'      ( /b/, please
                                        \
                                        \
                                ---..,--'
   ................._          /--...--,
                     `-.._    `    _.-'
                          `'-----''

Name: Anonymous 2010-12-06 8:57

    '-._                  ___.....___
        `.__           ,-'        ,-.`-,   
            `''-------'          ( x )  `._
go back to
                                  `-'      (
/b/, please
                                            \
                                            \
                                    ---..,--'
       ................._          /--...--,
                         `-.._    `    _.-'
                              `'-----''

Name: Anonymous 2010-12-08 22:03

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