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

Perfect Language

Name: Anonymous 2007-07-13 5:42 ID:EaZ8xpJA

So, I was looking at this thread http://dis.4chan.org/read/prog/1183997706/1-40 and all the various language bashing threads and was wondering... What, in the opinions of anonymous and 4chan in general, would make a perfect programming language? I am interested in both syntax and features and general flames, since they entertain me.

Name: Anonymous 2007-07-14 2:35 ID:VH4WdvW3

>>36
But a dangling pointer is not a violation of the type system, it is not even an error unless you dereference it.  Statically typed languages without GC are still considered strongly typed, no?

I was really quite sure that there was a good reason for GC in functional languages above and beyond the usual convenience and safety, but maybe I was mistaken.

Name: Anonymous 2007-07-14 3:14 ID:FdoLMiiO

>>41
But a dangling pointer is not a violation of the type system
You may be familiar with Andrei Alexandrescu. He has the following to say:
A pointer that points to memory that has been deallocated. As such, that memory is not typed anymore and any untrapped read or write through that pointer will cause a breakage of type safety and a soft error, by my own definitions above.
(http://groups.google.com/group/comp.lang.c++.moderated/browse_thread/thread/84253d37f970dd2b/6dc5fdba1f1d4c66?lnk=st&q=&rnum=7#6dc5fdba1f1d4c66)

Feel free to read the entire thread. It's interesting stuff.

Statically typed languages without GC are still considered strongly typed, no?
I can't think of any non-trivial ones (read: has a heap).

Name: Anonymous 2007-07-14 4:22 ID:kRvNV/Ut

i'm not too sure what would be a perfect language... it'd have to be enterprise-level, with intrinsic attributes toward goal-specified objectives that are unbound by dictations of paradigm. It would be dynamic in a working environment, and allow for opportunities to unfold under a workplace basis.

Name: Anonymous 2007-07-14 4:27 ID:Gv9jVVIu

One thing that I read when working with Java was that it was still possible to create a memory leak if you had a circular reference since the GC would look at the one instance, see the other instance still had a reference to it and not deallocate it, and same when it looked at the other instance, even though no active objects had references to either object. Is this a general concern among garbage collection or just another example of Java being braindead?

Name: Anonymous 2007-07-14 6:18 ID:kRvNV/Ut

>>44
neither, it's an enterprise level feature

Name: Anonymous 2007-07-14 9:29 ID:FUGU5Tc6

>>24
lollispssyntaxisthebestthingaboutitmacrosanyonelol

Name: Anonymous 2007-07-14 11:01 ID:MCm3cv2P

>>What, in the opinions of anonymous and 4chan in general, would make a perfect programming language?

mix 9/10 haskell + 1/10 erlang and you've got it!!

Name: Anonymous 2007-07-15 6:05 ID:Heaven

>>32
Just spent the last while looking at Factor and must agree that Factor is indeed a very nice feature rich language. Definately intend on learning and using it.

Name: Anonymous 2007-07-15 9:22 ID:tZJSlFBr

Brevity.
Programs should be as short as possible.
Every keystroke is a possible bug.
Nevermind readability. Absolute brevity is more important.
Ruby is a stepping stone for many toward brevity. Lisp and Haskell and terse Perl are too much of a leap all at once.
 

Name: Anonymous 2007-07-15 9:25 ID:ZqwSpMPN

Yet most single-keystroke bugs are caught by a real compiler, duh. Bettar focus on your actual use of the language.

Oh, sorry, I forgot -- ruby DOESN'T CATCH UNDEFINED IDENTIFIERS. Explains your attitude, yeah. "slef" and all that.

Name: Anonymous 2007-07-15 9:29 ID:SE82Lakt

>>40, wikipedia
The Backus–Naur form (also known as BNF, the Backus–Naur formalism, Backus normal form, or Panini–Backus form) is a metasyntax used to express context-free grammars: that is, a formal way to describe formal languages.

Name: Anonymous 2007-07-15 11:09 ID:22OGH1NK

It should have clear and compact grammar so I could easily write code generators.  Also, lisp-like metaprogramming.

Name: Anonymous 2007-07-15 12:21 ID:G41OubQP

>>49
lol apl

Name: Anonymous 2007-07-15 13:04 ID:N4C2WA0f

i wish a police just came and arrest you!!

Name: Anonymous 2007-07-15 13:52 ID:bC2ZCmK2

>>53
APL greek letters + closures and high order functions.
Arousing.
I wish I knew how to write compilers.
Scheme non-optimized interpreter is supposed to be easy.
Yes. Yessss. 

Name: Anonymous 2007-07-15 14:48 ID:KSlSyWyg

>>53
Thanks for reminding me of APL. I had thought it was a special purpose math language, but I see it's general purpose and rapid development, and that J is related to it:
http://en.wikipedia.org/wiki/APL_%28programming_language%29

Name: Anonymous 2007-07-15 15:11 ID:SE82Lakt

56>>
i prefer a language i can read without meditating on a high mountain for 10 years

Name: !PedoTvNFro 2007-07-15 15:43 ID:QTPNoG07

>>57 is not an EXPERT PROGRAMMER

Name: Anonymous 2007-07-15 16:37 ID:orKAobr5

>>49
Brevity is a must, however, IMHO, so is readability, because if its hard to understand, its just as easy to make mistakes (in fact, I'd argue easier and harder to debug because they're unlikely to be syntax errors) as a language that requires minimal characters but is less readable.

Name: Anonymous 2007-07-15 16:37 ID:Gol+g6Bn

Name: !PedoTvNFro

lol

Name: Anonymous 2007-07-15 19:46 ID:Heaven

>>60
#VIPPE

Name: !GZO15gPeDo 2007-07-16 2:30 ID:Heaven

Name: !GZO15gPeDo 2007-07-16 3:38 ID:Heaven

Name: Anonymous 2009-08-16 22:53

Lain.

Name: Anonymous 2010-12-21 17:17

Name: Anonymous 2011-01-31 21:31

<-- check em dubz

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