Programming Language and code aesthetics
-
Does Code written in some languages appear more "beautiful" than other languages? Granted, there is an element of developer there too. But ignoring the developer, do code in some languages prone to appear more "ugly" than in some other languages. For example, to me code written in Java/C#/Python/JavaScript appear aesthetically more pleasing than that in Objective C or Scheme (even though I love Scheme) or Perl. What languages do you find "beautiful" ? or you don't think that there is an aesthetic aspect of a languages?
Proud to be a CPHog user
I found G (LabVIEW) most and really beautiful. Andrey.
-
Does Code written in some languages appear more "beautiful" than other languages? Granted, there is an element of developer there too. But ignoring the developer, do code in some languages prone to appear more "ugly" than in some other languages. For example, to me code written in Java/C#/Python/JavaScript appear aesthetically more pleasing than that in Objective C or Scheme (even though I love Scheme) or Perl. What languages do you find "beautiful" ? or you don't think that there is an aesthetic aspect of a languages?
Proud to be a CPHog user
I think C is still the most beautiful Language, though i do most of my job in C#.Yo can build outside world with C.That's enough to say C is the best.
Behzad
-
Mustafa, could I ask you something? Print the quoted one, find some notary sign it, put a seal and bind with a government apostil after that send it to me. It could be something like: I, down signed Mustafa Ismail Mustafa Hereby Authorize Deyan Georgiev to:
Mustafa Ismail Mustafa wrote:
Go out, enjoy a drink or four, meet some girls, meet some new people who aren't in the computer business
I need something more official for my wife.:)
The narrow specialist in the broad sense of the word is a complete idiot in the narrow sense of the word. Advertise here – minimum three posts per day are guaranteed.
Deyan Georgiev wrote:
I need something more official for my wife
Uh... I've known women to become ferocious (for want of a much better word) when something tries to interrupt their control of their men. Pass. I value my life :)
Don't forget to vote if the response was helpful
Sig history "dad" Ishmail-Samuel Mustafa Unix is a Four Letter Word, and Vi is a Two Letter Abbreviation "There is no wealth like knowledge, no poverty like ignorance" Ali Ibn Abi Talib
-
Hey Mustafa, while you're at it for Deyan, could you send me one too? The wife's leash tends to be pretty short...
¡El diablo está en mis pantalones! ¡Mire, mire! Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! VCF Blog
-
Does Code written in some languages appear more "beautiful" than other languages? Granted, there is an element of developer there too. But ignoring the developer, do code in some languages prone to appear more "ugly" than in some other languages. For example, to me code written in Java/C#/Python/JavaScript appear aesthetically more pleasing than that in Objective C or Scheme (even though I love Scheme) or Perl. What languages do you find "beautiful" ? or you don't think that there is an aesthetic aspect of a languages?
Proud to be a CPHog user
Motorola 6809 Assembly... I love PIC kept at the simple 8 bit level :-\ Then, despite the strong sentiments against: I love Basic Pascal, C & Fortran follow close. -=[ R ]=-
-
forth is prettiest (but not so useful in the long run) c++ is the next prettiest then c then 68000 asm the rest are are an absolute dog's breakfast... X|
imho Forth was (is ?) as much a "religion" as a computer language. i used to be "proselytized" by Forth adherents back in the 1980's; they had a gleam in their eye that signified they had found the great revelation : it was clear to me that spreading its "words" was accompanied by a "holy zeal." by the way i have nada against languages with RPN and an explicit stack; for many years PostScript was my bread and butter. but, for me, PostScript was LISP in drag as a printer controller language. with PostScript (as well as Forth and LISP) it's easy to write unmaintainable code that is idiosyncratic to the nth. degree, needlessly recursive, self-re-writing, etc. : all of which, from another perspective can be a very good way for a programmer to write a continuous employment contract for themself forever and ever. :) best, Bill
"The greater the social and cultural distances between people, the more magical the light that can spring from their contact." Milan Kundera in Testaments Trahis
-
Does Code written in some languages appear more "beautiful" than other languages? Granted, there is an element of developer there too. But ignoring the developer, do code in some languages prone to appear more "ugly" than in some other languages. For example, to me code written in Java/C#/Python/JavaScript appear aesthetically more pleasing than that in Objective C or Scheme (even though I love Scheme) or Perl. What languages do you find "beautiful" ? or you don't think that there is an aesthetic aspect of a languages?
Proud to be a CPHog user
This is going to date me rather severly, but I have always thought that FORTRAN looked better than other languages. To me, C (and similar languages) looks like a dogs breakfast. The next most attractive language, to me at least, is Pascal or its decendents like Ada or Delphi. You can't build perfect systems out of defective parts. But you can keep the testers busy.
-
Does Code written in some languages appear more "beautiful" than other languages? Granted, there is an element of developer there too. But ignoring the developer, do code in some languages prone to appear more "ugly" than in some other languages. For example, to me code written in Java/C#/Python/JavaScript appear aesthetically more pleasing than that in Objective C or Scheme (even though I love Scheme) or Perl. What languages do you find "beautiful" ? or you don't think that there is an aesthetic aspect of a languages?
Proud to be a CPHog user
From what I've seen... The Ugly: BrainF**K, Whitespace(hehe), LISP, Haskell, C/C++, PHP, BASIC The Beauty: C#, Java, Javascript, Visual Basic 6.0 (It might not be the most effective language out there, but it can look like pseudo code at times, making easier than hell to read),TI-BASIC, C/C++ I put C/C++ in both, because it really depends on what you're doing. Pieces of it are gorgeous, other pieces not so much. Those are really the only languages I've had experience with, so I won't comment on anything else.
-
Does Code written in some languages appear more "beautiful" than other languages? Granted, there is an element of developer there too. But ignoring the developer, do code in some languages prone to appear more "ugly" than in some other languages. For example, to me code written in Java/C#/Python/JavaScript appear aesthetically more pleasing than that in Objective C or Scheme (even though I love Scheme) or Perl. What languages do you find "beautiful" ? or you don't think that there is an aesthetic aspect of a languages?
Proud to be a CPHog user
-
I thought I was taking to Programmers and not romantics.
Proud to be a CPHog user
Rama Krishna Vavilala wrote:
I thought I was taking to Programmers and not romantics.
That would be "hedonists", thank you...and I remind you that the first web porn sites were first patronized by web programming geeks...so you expected never to get this sort of answer?? :laugh: Those rascallly programmers
-
Christian hinted at it: we tend to "feel" code is beautiful if it is well structured (or if you want to be sexist about it: well stacked!) and code which is not structured is ugly. But we do this in other areas of life as well: a flower bed which is looked after is pleasant to look at while an untended flower bed overrun with weeds is ugly. I suppose you could call BASIC, the weeds of programming languages.
m.bergman
-- For Bruce Schneier, quanta only have one state : afraid.
Beautiful code is often independent of language. I've seen gorgeous code in visual basic and absolutely horrendous code in C. Of course, I've never ever seen beautiful COBOL...wonder why that is....
-
Does Code written in some languages appear more "beautiful" than other languages? Granted, there is an element of developer there too. But ignoring the developer, do code in some languages prone to appear more "ugly" than in some other languages. For example, to me code written in Java/C#/Python/JavaScript appear aesthetically more pleasing than that in Objective C or Scheme (even though I love Scheme) or Perl. What languages do you find "beautiful" ? or you don't think that there is an aesthetic aspect of a languages?
Proud to be a CPHog user
I once used Forth. At first it appeared like a really neat way to make an instant program. :omg: Just like using my favorite HP RPN calculator which I still love. :) Forth has/had 2 stacks which added to the confusion.:confused: Problem was, you made a great bit of code that worked, and 2 days later could not understand or enhance your program. It became gibberish. :(( HP calculator program has same problem, but for a transient program application like an instant vector rotation or weird conversion it is great. It just can't speak or spell, and neither can I. C,C++,Delphi,VB are easier to maintain. :) With .asm at least you can make an instant 400MHz data analyzer with a printer port, sans Windows.:suss:
-
Does Code written in some languages appear more "beautiful" than other languages? Granted, there is an element of developer there too. But ignoring the developer, do code in some languages prone to appear more "ugly" than in some other languages. For example, to me code written in Java/C#/Python/JavaScript appear aesthetically more pleasing than that in Objective C or Scheme (even though I love Scheme) or Perl. What languages do you find "beautiful" ? or you don't think that there is an aesthetic aspect of a languages?
Proud to be a CPHog user
For sheer powerful beauty, nothing but Prolog will do, hehehe...everything else is just assembler writ large.
-
Does Code written in some languages appear more "beautiful" than other languages? Granted, there is an element of developer there too. But ignoring the developer, do code in some languages prone to appear more "ugly" than in some other languages. For example, to me code written in Java/C#/Python/JavaScript appear aesthetically more pleasing than that in Objective C or Scheme (even though I love Scheme) or Perl. What languages do you find "beautiful" ? or you don't think that there is an aesthetic aspect of a languages?
Proud to be a CPHog user
All the answers supplied so far are clearly wrong. The most beautiful programming language - head and shoulders above the rest - is the Shakespeare Programming Language[^]. The language, used properly, is quite beautiful. However, it does tend to be a little on the verbose side.
-
Does Code written in some languages appear more "beautiful" than other languages? Granted, there is an element of developer there too. But ignoring the developer, do code in some languages prone to appear more "ugly" than in some other languages. For example, to me code written in Java/C#/Python/JavaScript appear aesthetically more pleasing than that in Objective C or Scheme (even though I love Scheme) or Perl. What languages do you find "beautiful" ? or you don't think that there is an aesthetic aspect of a languages?
Proud to be a CPHog user
Coding style is less about the language itself, and more about the programmer. I've programmed in PERL for many years. It's a language you could make very ugly and difficult to follow, and some do. However, with discipline, any code can be written in a clear and concise manner, and thereby be made "beautiful."
-
Mustafa, could I ask you something? Print the quoted one, find some notary sign it, put a seal and bind with a government apostil after that send it to me. It could be something like: I, down signed Mustafa Ismail Mustafa Hereby Authorize Deyan Georgiev to:
Mustafa Ismail Mustafa wrote:
Go out, enjoy a drink or four, meet some girls, meet some new people who aren't in the computer business
I need something more official for my wife.:)
The narrow specialist in the broad sense of the word is a complete idiot in the narrow sense of the word. Advertise here – minimum three posts per day are guaranteed.
Now we should post a Suggestion that Chris send an email to significant others, saying something like: "Code Project member xxx has spent yyy hours on CodeProject.com this week and has posted zzz messages. Please grant him/her a weekend pass."
-
Coding style is less about the language itself, and more about the programmer. I've programmed in PERL for many years. It's a language you could make very ugly and difficult to follow, and some do. However, with discipline, any code can be written in a clear and concise manner, and thereby be made "beautiful."
kbarrett2008 wrote:
owever, with discipline, any code can be written in a clear and concise manner,
That's the point some languages require extra effort to make code beautiful where as some other languages it is easier to write code that looks good.
Proud to be a CPHog user
-
All the answers supplied so far are clearly wrong. The most beautiful programming language - head and shoulders above the rest - is the Shakespeare Programming Language[^]. The language, used properly, is quite beautiful. However, it does tend to be a little on the verbose side.
Forsooth. I suppose the Gilbert And Sullivan language would have built-in concurrency. I have here a copy of a humourous piece that was printed in some magazine in the early '80s. It says it was, "Reprinted from the New England Computer Society Newsletter, Volume 7, Number 11". (Anyone have a copy of that?) I won't type it in, but it's a list of several fictitious (I hope) programming languages, including: VALGOL FIFTH LITHP
-
Forsooth. I suppose the Gilbert And Sullivan language would have built-in concurrency. I have here a copy of a humourous piece that was printed in some magazine in the early '80s. It says it was, "Reprinted from the New England Computer Society Newsletter, Volume 7, Number 11". (Anyone have a copy of that?) I won't type it in, but it's a list of several fictitious (I hope) programming languages, including: VALGOL FIFTH LITHP
This: http://www.jumbojoke.com/littleknown_computer_languages.html[^] was the 3rd hit for the list of languages you provided.
Today's lesson is brought to you by the word "niggardly". Remember kids, don't attribute to racism what can be explained by Scandinavian language roots. -- Robert Royall
-
Forsooth. I suppose the Gilbert And Sullivan language would have built-in concurrency. I have here a copy of a humourous piece that was printed in some magazine in the early '80s. It says it was, "Reprinted from the New England Computer Society Newsletter, Volume 7, Number 11". (Anyone have a copy of that?) I won't type it in, but it's a list of several fictitious (I hope) programming languages, including: VALGOL FIFTH LITHP