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

Pages: 1-4041-

C, C++, C#, Objective-C

Name: Anonymous 2010-10-21 8:52

What's with all the C's? is this a family? are there others? which is the best for what i want?

Name: Anonymous 2010-10-21 8:56

0/10

Name: Anonymous 2010-10-21 9:05

BitC is the best

Name: Anonymous 2010-10-21 9:05

...for the exact thing you want

Name: Anonymous 2010-10-21 9:07

C            -   writing OSs
C++          -   writing Applications for windows/linux
C#           -   writing xbewks games with XNA
Objectve-C   -   writing applications for Mac/iOS

HIBT?

Name: Anonymous 2010-10-21 9:30

C - Writing OSes for the lack of a better language
C++ - Writing fast but hellish applications
C# - Faggots.NET
Objective-C - iFaggots

Name: Anonymous 2010-10-21 9:48

C - shit
C++ - shit
C# - shit
Objective-C - shit
C-- - language of Lesser Gods

Name: Anonymous 2010-10-21 9:48

>>6
Real talk.

Name: Anonymous 2010-10-21 10:01

>>8
Small talk.

Name: Anonymous 2010-10-21 11:20

Smalltalk > Obj-C, C/C++ and Java together

Name: Anonymous 2010-10-21 11:35

C > Smalltalk, Obj-C, C++ and Jæv together,

Name: Anonymous 2010-10-21 11:47

Javascript > Smalltalk > Obj-C, C/C++ and Java together

Name: Anonymous 2010-10-21 11:47

>>5
C++ - writing Applications
IHBT

Name: Anonymous 2010-10-21 11:56

>>10,12
fuck you troll

Name: Anonymous 2010-10-21 21:11

((C && C++) > Java > (Obj-C || Smalltalk) > C#);

Lol C#..

Name: Anonymous 2010-10-21 21:48

>>15
Expert non-C# user.

Name: Anonymous 2010-10-21 23:09

>>15
How many of those languages endorse expressions in void context?

Name: Anonymous 2010-10-22 1:16

>>17
How many of those languages endorse expressions in frozenvoid context?

Name: Anonymous 2010-10-22 4:58

>>17
>>18
How many of those languages endorse expressions in my anus

Name: Anonymous 2010-10-22 8:16

Objective-C has a lisp...

Name: Anonymous 2010-10-22 8:39

>>20
Objective-lisp has a C...

Name: Anonymous 2010-10-22 9:47

>>21
Objective-C based on C and smalltalk
smalltalk based on lisp

Name: Anonymous 2010-10-22 13:19

What's the deal with Smalltalk anyway? what does it bring to the table that means it can add something to C and make this 'better' Objective-C?

Name: Anonymous 2010-10-22 14:32

>>23
Another take on OOP, of course.

Name: Anonymous 2010-10-22 14:38

>>23
It's got Alan Kay's fingerprints all over it. If that doesn't tell you everything you need to know, you shouldn't be programming.

Not that Objective-C is good.

Name: Anonymous 2010-10-23 9:25

>>23
It's reflective.

Name: Anonymous 2010-10-23 21:26

>>26
what's reflective?

Name: Anonymous 2010-10-23 21:53

>>26
http://en.wikipedia.org/wiki/Reflection_%28programming%29#Smalltalk

I'm sure it applies to others, but I know the Io example is a caricature of its own process. The getSlot()s can be translated to getSlot("getSlot") operations and so on (it's getSlots all the way down -- no, I lied, there is a CFunction barrier.) Of course strongly reflective languages like to do everything with their reflection process (sometimes with syntactic sugar) rather than providing a distinct reflection environment (which is more common in languages with a bit of reflection "tacked on")

Name: Anonymous 2010-10-24 13:42

>>25
What do you mean?

Name: Anonymous 2010-10-24 13:59

>>29
I mean Alan Kay was the driving force and designer behind it.

Name: Anonymous 2010-10-24 15:03

>>30
I see... so what?

Name: Anonymous 2010-10-24 15:21

>>31
Ah, in that case, let me direct you to the second sentence in >>25.

Name: Anonymous 2010-10-24 15:31

>>32
Ok. I am not programming, so tell me everything I need to know.

Name: Anonymous 2010-10-24 16:09

Almost any modern language comes from C.

Independently appear:
- C (structured, mid-level programming, compiled), used in OS and app design.
- Lisp (functional, high level, garbage collector, (byte-)interpreted), used in AI and research
- Smalltalk (first OOP, high level, GC, interpreted) by Xerox. Still used in academical environments, I think.

Then:
- C++ (C + OOP, syntax closer to C, compiled) OS and apps, like C.
- Objective-C (C + Smalltalk, syntax closer to Smalltalk, compiled). Basically only for iProgramming.

After that:
- Java (C + OOP + garbage collector, byte-interpreted). Applets (90's Flash), desktop apps, server side apps.
- C# (Microsoft's copy of Java: basically same features). Apps, server side apps. Applets through Silverlight, but there's no place for it between Flash and HTML5.

Name: Anonymous 2010-10-24 16:14

>>34
Uh, Lisp is much older than C, and Smalltalk hardly has anything to do with C. The rest you mentioned do borrow ideas and syntax from C.

Name: Anonymous 2010-10-24 16:18

>>35
Yeah, that's why it says independently appear. It says right there.

Name: Anonymous 2010-10-24 16:26

>>36
Also, some details about Lisp are wrong:
functional
It's hardly purely functional, it's multi-paradigm, so if you want to write imperative, declarative, OO or functional code, you can do just that. Functional style may be preferred to some degree, but nothing stop you from using the same style in C (except that C's facilities are not as strong in this regard)
high level
Yes, but it can also be used for mid and low-level stuff.
If you want to access the hardware or memory directly, you can do that - most implementations provide FFIs, there's also portable FFI implementations and it can also be done fairly efficiently, especially if you use implementation-specific stuff. Most implementations which compile to native code also have their own assemblers and assemblers can also be implemented portably.
(byte-)interpreted
Just a handful of implementations are. Most compile straight to native code. Interpreted-only implementations are actually a minority - the only one I can think of is GNU CLISP. SBCL, CCL, ECL, ACL, LispWorks, ... all compile to native code, but some also have optional interpreters.

One thing you did get right and that is that most Lisps are GCed, but same is true for most high-level languages.

Name: Anonymous 2010-10-24 16:29

>>34
iProgramming? what about gnu step?

Name: Anonymous 2010-10-24 16:36

>>34
Smalltalk was influenced by LISP.

Name: Anonymous 2010-10-24 18:46

>>34
The entire ML family, Haskell, Clojure, Factor, APL's descendents, all your scripting languages, and Common Lisp itself if you're counting C++ as modern. If I wanted to do some research, I could give you many more. Sounds like "almost any modern language comes from C" to me.

Name: Anonymous 2010-10-25 10:11

>>38
GNUStep is terrible.  Let me know when simple things like switching Terminal.app to UTF-8 and changing the font stop breaking everything and I'll reconsider.

Name: Anonymous 2010-10-25 10:14

Implying that text encoding is trivial
( ≖‿≖)

Name: Anonymous 2010-10-25 10:27

>>40
Almost any modern assembly language comes from C

Name: Anonymous 2010-10-25 10:58

>>37
Of course, no language is 100% functional, structured or OO. You can do OO with C&Glib, but it's structured.

>>38

OK, GNUStep exists. That's what I wrote *basically*. But, since it's an implementation of NeXT/OS X API... wouldn't it be some kind of "iProgramming"?

Name: Anonymous 2010-10-25 11:53

NeXT was before all that iShit trend. So it is not a kind of iProgramming.

Name: Anonymous 2010-10-25 11:56

>>45
GNUstep is a free software implementation of Cocoa (formerly NeXT's OpenStep) Objective-C libraries

Name: Anonymous 2010-10-25 14:10

>>44
Of course, no language is 100% functional, structured or OO.
[citation needed]

Name: Anonymous 2010-10-25 16:55

>>44
>>Of course, no language is 100% functional
http://www.madore.org/~david/programs/unlambda/#intro

Name: Anonymous 2010-10-25 18:18

>>45
Mac OS X is simply the continuation of NeXTSTEP.  I like to think of Mac OS X 10.6 as NeXTSTEP 10.0.  Indeed, Mac OS X 10.6.4's version reported by the kernel is 10.4.0; Mac OS X 10.5.y's version was reported as 9.y.0.

Name: Anonymous 2010-10-26 16:18

Bump for more C languages and hierarchies.

Name: Anonymous 2010-10-26 17:46

C--

Name: Anonymous 2010-10-26 18:04

Common Lisp

Name: Anonymous 2010-10-26 22:00

Unlike C++, C+- is a subject-oriented language (SOL).

Each C+- class instance, known as a subject, holds hidden members, known as prejudices, agendas, or undeclared preferences, which are impervious to outside messages, as well as public members known as boasts or claims. The following C operators are overridden as shown:

better than
< worse than
>> way better than
<< forget it
! not on your life
== comparable, other things being equal

C+- is a strongly typed language based on stereotyping and self-righteous logic. The Boolean variables TRUE and FALSE (known as constants in less realistic languages) are supplemented with CREDIBLE and DUBIOUS, which are fuzzier than Zadeh's traditional fuzzy categories. All Booleans can be declared with the modifiers strong and weak. Weak implication is said to "preserve deniability" and was added at the request of the DoD to ensure compatibility with future versions of Ada. Well-formed falsehoods (WFFs) are assignment-compatible with all Booleans. What-if and why-not interactions are aided by the special conditional evenifnot X then Y.

C+- supports information hiding and, among friend classes only, rumor sharing. Borrowing from the Eiffel lexicon, non-friend classes can be killed by arranging contracts. Note that friendships are intransitive, volatile, and non-Abelian.

Operator precedence rules can be suspended with the directive #pragma dwim, known as the "Do what I mean" pragma.

ANSIfication will be firmly resisted. C+-'s slogan is "Be Your Own Standard."

Name: Anonymous 2010-10-26 22:07

ORLY?

Name: Anonymous 2010-10-27 5:22

>>53
az23er tyt5uyj6 u7y8i9o8p0[-0

Name: Anonymous 2010-10-27 5:57

>>55
azerty, you say? Like the keyboard layout used in Belgium, Xarn?

Name: Anonymous 2010-10-27 13:23

>>56
That's not Xarn.

Name: Anonymous 2011-02-04 18:01

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