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

Pages: 1-

[Education] Objective-C [boring]

Name: Anonymous 2010-03-24 15:27

I'm in class right now, where I'm bein lerned an introduction to ObjC.

I haven't gotten too far, but this shit looks mad verbose right now, and I'm not sure how I'm feeling about the syntax. (But then again, we are just getting started.)

I don't often see ObjC on the boards. What's your take on it, riders?

Name: Anonymous 2010-03-24 15:41

I only echo what others post on /prog/ and have no set stance. HAX MY ANUS NO EXCEPTIONS THE PLEASURE OF BEING CUMMED INSIDE xD!

Name: Anonymous 2010-03-24 15:42

Nice object model.  Native code wherever you like.  Garbage collection optional.

Too little syntax, too little documentation, too much typing.  Method calls slow as fuck.  Numerous holes in the standard library that are difficult to work around due to lousy documentation.

Name: Anonymous 2010-03-24 16:07

>>2
xD
Wrong board. Back to msn with you.

Name: Anonymous 2010-03-24 16:28

>>3
Garbage collection optional.
Yes this is good; I'm not opposed to garbage collection, but this class in particular is focused on mobile development so I imagine that we won't be using garbage collection at all.

Too little syntax
Really? It doesn't seem that way to me. I'm sure you have more complex problems in mind, but so far I'm surprised that the syntax for method calls is entirely different from the syntax for function calls. And we haven't even started building classes yet….

Name: Anonymous 2010-03-24 17:05

>>3
Too little syntax
How is that possible? Haskell programmer detected.

Name: Anonymous 2010-03-24 19:14

As a Smalltalker, I have a raging hard-on for ObjC.
Too bad it's lacking Morphic.

Name: Anonymous 2010-03-24 20:44

>>1
The verbose method calls are bearable with the IDE autocompletion/automatically adding '['s.  Properties help too.

Name: Anonymous 2010-03-24 23:39

>>8
I think you are ly9ng, Xcode autocompletion is a CHAR

Name: Anonymous 2010-03-25 0:20

>>8
The naming scheme makes it far more bearable - it's like T/Scheme where things are built of lexemes compared to the insanity that is CL - i.e. "setFoo:" "foo" "drawWindow:withHandle:" to "set-foo!" "foo" "draw-window #:handle"

Name: Anonymous 2010-03-25 1:35

slow_as_fuckist here:
I haven't really spent much time with obj-c.
I appreciate that it's a compiled superset of c that gives you a smalltalk style object system.
however.
i can't get over the fucking syntax. it's just so weird and (imo) pig disgusting. what's wrong with dots for method calls again? what's up with the brackets?

the NSFoo clutter in all the cocoa classes bugs me too. i just picture SJ fappin at a next cube.

Name: Anonymous 2010-03-25 1:51

[anus hax]

Name: Anonymous 2010-03-25 3:56

>>11
One simply does not just use search and replace on a massive codebase.
Actually, I'd prefer it to iFoo.

...I don't prefer dot syntax because we've already used it for data members and goddamn learn your actors.

Name: Anonymous 2010-03-25 4:05

>>13
...and remember that messages are reifiable.

Name: Anonymous 2010-03-25 4:05

>>9
I've used XCode for years.  The editor used to be terrible, but sometime in the recent past it's stopped sucking completely.  I find the new mini-documentation window to be useless, though.
>>10
I like it for long method calls but having
setObjectAtIndex: and objectForKey: appear a million times is just annoying.

Name: Anonymous 2010-03-25 4:30

>>15
I prefer orthogonality like this to overloading.

[sp]reader syntax olololol[/sp]

Name: Anonymous 2010-03-25 4:32

>>5
objective-c for mobile development?
i feel sorry for you having to use such horribly obsolete hardware.

Name: Anonymous 2010-03-25 4:48

>>11
i can't get over the fucking syntax. it's just so weird and (imo) pig disgusting. what's wrong with dots for method calls again? what's up with the brackets?
What's wrong with using empty brackets to signify the case where a function is called with no arguments? What's wrong with having the conditional before the consequent?  I actually find it quite amusing that a rubyist of all people is complaining about another languages syntax, as Ruby is a complete mess. [/flame]

-- This message should in no way be considered an endorsement of Objective C --

Name: Anonymous 2010-03-25 8:00

>>18
Doesn't know that every post on prague implicitly supports Lisps

Name: Anonymous 2010-03-25 9:55

>>19
implying Objective C is a Lisp

Name: Anonymous 2010-03-25 10:04

>>20
implying Lisp needs to be involved in this thread at all

Name: Anonymous 2010-03-25 10:10

>>21
implying that Lisp doesn't need to be involved in every thread.

Name: Anonymous 2010-03-25 10:15

>>19-21
Get the fuck back to /g/ with your "implying" shit.

... please

Name: Anonymous 2010-03-25 10:16

>>20-22
You know were to go back to( ≖‿≖)

Name: Anonymous 2010-03-25 11:57

>>23
I come from /v/

Name: Anonymous 2010-03-25 16:22

>>23,24
Fuck off, ``faggot''.

Name: >>26 2010-03-25 16:32

No wait, nevermind I agree. Back to the imageboards, please

Name: >>27 2010-03-25 17:16

>>27
No, I don't agree. I deem ">implying" not to be that specific to the imageboards. Maybe they invented it, but that doesn't mean it's theirs. I'd rather complain about the incredibly low quality of their posts and the visibly very low to no mental effort put in them. Simply unbelievable! Unless it's some clever troll

Name: Anonymous 2010-03-25 17:18

>>28
( ≖‿≖)

Name: Anonymous 2010-03-25 17:20

>>28
I think that people get involved in the ">implying" nonsense for the sheer absurdity of it. It can be quite amusing when the chain gets rather large. The jury is out on whether the person who starts it is looking for the chain reaction or is just intellectually lazy.

Name: Anonymous 2010-03-25 18:44

>>30
'>implying that inference doesn't often require a certain level of wit and vinegar

Name: sage 2010-03-25 19:42

>implying u arnt all newfags

Name: Anonymous 2010-03-25 19:57

>>32
"Fuck off, ``faggot''" guy here.
GO BACK TO /b/, PLEASE, FOR THE LOVE OF GOD

Name: >>33 2010-03-25 20:04

Please also note that I don't say this very often. Thank you.

Name: Anonymous 2010-03-26 11:13

>>31-32
Back to /b/, please

Name: Anonymous 2010-03-26 18:43

>One simply does not just use search and replace on a massive codebase.

i've done find . | xargs sed -i s/my/dick more times than i'd like to admit.

Name: Anonymous 2010-03-27 13:16

>>36
perl -pi -e s/your/dick is better, as it doesn't require find and xargs (which will break when encountering files with spaces or special characters, among other stupid behavior). Plus then you get the added benefit of having every bit of perl's functionality, particularly a sane, familiar RE syntax instead sed's broken, backward, archaic quoting and escaping rules.

In any case, a real refactoring tool is much preferable because then you don't accidentally fuck up strings and other unrelated code that just happened to match a regex that turned out to be a bit too general.

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