3 ms·
Did you read the article? The author claims it has to be this way in Obj-C. Not that's it's a nice thing. It doesn't at all. The Objective-C function’s name i
by mattmanser 15y ago
Did you read the article?
The author claims it has to be this way in Obj-C. Not that's it's a nice thing. It doesn't at all.
The Objective-C function’s name is designed to include the parameters’ names. This is not the case with most web programming languages.
Why does it have to be this way? The obvious reason is Objective-C is a compiled language, once you get it wrong, it cannot even be compiled.
The whole premise of the article is fundamentally flawed. I was just trying to tell him in a nice way.
All his 'reasons' are bunk when you look at what a static language provides you in terms of explicitness.
I'll leave with this:
When I was still coding in PHP, I found myself constantly having another file open just see the declaration of a function I wrote before that
That never happens in a static language. It does in dynamic.
Or perhaps he just doesn't use IDEs and that's the actual revelation?
- nknight 15y ago> That never happens in a static language. It does in dynamic. Er, says you? > Or perhaps he just doesn't use IDEs and that's the actual revelation? I'm guessing you're either relatively new to the industry, or have lived in the Microsoft and/or Java worlds during most of your career. Use of IDEs outside of those contexts is much rarer, and for much of history, even well into the 2000s, bordered on nonexistent. To this day, many of us do not use what you would consider an "IDE" at all for any language in our normal routine.
- mattmanser 15y agoFFS, which way is it? Do dynamic languages have extensive intellisense support or not? Do you need to give it hints or not? I'm not new to the industry, the day job's MS, but my personal stuff isn't. If you're sitting there without an IDE in 2012 and looking up or memorising the syntax for every single method call you make it's time to grow up and realise there's a better world out there. Even my bloody text editor has basic intellisense.
- nknight 15y ago> looking up or memorising the syntax for every single method call you make As programmers have done for generations? I've never seen an autocomplete functionality that was substantively faster than either actually knowing the platform I'm developing on (what a shocking concept), or having a browser window open alongside my editor. > it's time to grow up PKB. When you do, you'll realize not everyone who disagrees with you is an idiot. > and realise there's a better world out there. "Better" is highly subjective. IDEs inevitably lower my productivity dramatically with their bloated, buggy, slow, and brittle nature. > Even my bloody text editor has basic intellisense. No, it has an autocomplete function. IntelliSense is a Microsoft implementation of the general autocomplete concept. And if you're only worried about autocomplete, why are you so shocked people might not be using a full-blown IDE?