mikeash.com pyblog/its-a-poor-carpenter-who-blames-his-tools-or-xcode-sucks-again.html commentshttp://www.mikeash.com/?page=pyblog/its-a-poor-carpenter-who-blames-his-tools-or-xcode-sucks-again.html#commentsmikeash.com Recent CommentsFri, 29 Mar 2024 15:39:53 GMTPyRSS2Gen-1.0.0http://blogs.law.harvard.edu/tech/rssMichael - 2015-10-31 23:05:42http://www.mikeash.com/?page=pyblog/its-a-poor-carpenter-who-blames-his-tools-or-xcode-sucks-again.html#commentsAnd another year later, 2015, Xcode still sucks - but... <br /> <br />you have to, or maybe not have to, let's say should consider the complexity of what such a thing as Xcode and its tool chain does. <br /> <br />The highest complexity of any mechanical tool is maybe comparable to the command line option parser of clang. I mean just relax, sit back and imagine you would sit on the other side of the screen and had to do what Xcode does throughout a typical session. You will suck. Point is that the the collective of developers implementing Xcode over the decades had to try to do that often times to implement the functionality and they sucked and failed over and over again until they got that monster called Xcode to be what it is now - basically working. <br /> <br />It crashes, bugs don't get fixed, it's not well tested, you have to remove derived data all the time, yes, true. But then again it works. <br /> <br />Over the years I worked with many IDE's or toolchains, Commodore Basic, 6502 assembler, Turbo-C ST, vi/make/emacs/gcc/..., a couple of IDE's where I forgot the name, Sun, IBM, SCO, Visual Studio .NET-2015, Eclipse, JavaBeans, IDEA, what not... All of them had and have their pros and cons, most of them suck and at the same time you always get the job done. parts of the job with ease and pleasure, other parts screaming, cursing and suffering through it. <br /> <br />I came across Macs and Xcode very late, first version I saw was Xcode 4 when 5 was released. It improved quite a lot in that short time. When I first saw Objective-C and first sat in front of Xcode I thought: "Are they serious?" then "Really?". I moved to the mediterranean lately, so I learned quite a lot of new methods of cursing and I had an opportunity to employ these skills in all detail. But then again, after some adaption and time, I came to appreciate the tool. You actually get stuff done quite well. <br /> <br />Tell me which discipline is confronted with such a vast amount of complexity as ours. Its freaking hard to build a good tool for us. And its nearly impossible to build a good one for all of us. <br /> <br />What I really keep finding strange is that they don't fix bugs. That's a shame and really unnecessary. Other than that, I'm quite happy with our toolchain... ;-) e4e847439963d2a7070d8def5e940dcfSat, 31 Oct 2015 23:05:42 GMTDenny - 2014-11-12 08:24:48http://www.mikeash.com/?page=pyblog/its-a-poor-carpenter-who-blames-his-tools-or-xcode-sucks-again.html#commentsIn the previous comment you should read "IDE" instead of "I'VE"320f145dc664421808fb55b62b0124b6Wed, 12 Nov 2014 08:24:48 GMTDenny - 2014-11-12 08:21:14http://www.mikeash.com/?page=pyblog/its-a-poor-carpenter-who-blames-his-tools-or-xcode-sucks-again.html#commentsWell, I've tried out CLion RAP and NetBeans narrowed down to C++ only. <br />To be honest neither of them are good. CLion is still in its EAP version, and even though it is based on the same CMake as a project handler as the NetBeans you really have to be good at CMake to start with this one out. <br />For a beginner I found it a very non trivial task to learn how to add third party compiled libraries to a project so neither a linker nor compiler nor IDE would complain, after all those hours of frustration, real frustration with seemed to be eternal symbols lost for x86_64 architecture, unexplained stubbornness of some IDEa over other problem, it took me only two minutes to put in and get, sweet Jesus, running just a demo app for a third-party library on the NetBeans. The less expected I'VE worked out of the box with minimal changes to the project configuration. <br />God, people, how can the world expect perfect software when developers have pervert IDEs? <br />How can someone realize what a beautiful language is the C++? When it takes days to find an IDE that just works as expected? <br />Yes, I'm an Apple lover, I had watched every WWDC for three last years that was available online, I had heard those words how does Apple cherish its developers and then I touched the 'Best IDE for Mac' and I've got only one question left: if this one is the best, what the worst looks like? <br /> <br />And, Mikeash, I'd like to thank you very much for keeping this post open after those years and for the post itself, now people can watch the live history of IDE that sucks for years and still dominates as the 'Best IDE for Mac'. 580e8d24f65302c632a9b83f38367615Wed, 12 Nov 2014 08:21:14 GMTDenny - 2014-11-06 00:52:04http://www.mikeash.com/?page=pyblog/its-a-poor-carpenter-who-blames-his-tools-or-xcode-sucks-again.html#commentsXcode 6.1... <br />It's my first IDE for something serious after I've started learning something beyond basics, I decided to learn C++ after I have some playtime with Xojo. I fell in love with this beautiful and flexible language. Variety of libraries to use, smart and really objective usage for development. But God help me! I've ducked 'xcode sucks' to read exactly what I've just experienced. I've used IntelliJ IDEA but for web, and it is the way IDE should be in many aspects. They have their new IDE for C/C++ for earlier access programm, I'm going to try it out later this week. <br /> <br />And I have already tried: Eclipse, Komodo, some other apps besides Xcode, even Qt Creator to find out, that they all really suck! <br /> <br />And I'm starting to think about simple text editor with minimum of features, but with minimum of bugs as well. <br /> <br />Just to top this conversation I'd mention, that Xcode 5 times notified me that char** argv is not the same type as char * argv[], then suddenly accepted it. Autocomplete continuously laid out full namespace paths: name::name::name::class in .h file, but agreed to use just class in .cpp file even though using name was typed. Sudden notifications of a file being changed externally, not mentioning veery strange linking issues. I'm still trying to figure out how did it come so that two .dylib files in the very same folder both written as paths to search and as flags to link fall apart so one is good for Xcode, the other one — is not, though they are from the same party from the same bunch of dylib's. <br />Qt Creator feels better with autocomplete, but it warns me about bugs (preventing the compile process) in STL. <br />Eclipse just crashes upon launch. And Komodo is a hell for Astigmatic people as I am. <br />I'm going to try out NetBeans for C/C++ only edition and JetBrains CLion EAP (I've mentioned before). <br /> <br />But now I know for sure how does Apple do cherish its developers. <br /> <br />With friends like those... You know :) <br />d45daa72789be1f40e971dbb97c529f6Thu, 06 Nov 2014 00:52:04 GMTkeisar - 2014-01-27 12:35:28http://www.mikeash.com/?page=pyblog/its-a-poor-carpenter-who-blames-his-tools-or-xcode-sucks-again.html#commentsmore then 5 years later and XCode still sucks, what changed ? other tools improved tremendously but XCode still suffers from crashes, weird quirks where you need to Clean + Clean build folder + close simulator, Google released TWO IDEs to develop for android but Apple still forces you to use the terrible XCode... <br />Updating to XCode 5 soon and hopefully it will make a big difference (I'm skeptic...)6e63782f0835ba44535edb207d034c7aMon, 27 Jan 2014 12:35:28 GMTdomelq - 2009-10-13 21:20:26http://www.mikeash.com/?page=pyblog/its-a-poor-carpenter-who-blames-his-tools-or-xcode-sucks-again.html#commentsJust for a record as it look like this topic is dead. <br /> <br /><a href="http://www.jetbrains.com/idea/features/code_assistance.html">http://www.jetbrains.com/idea/features/code_assistance.html</a>e4e5a2e31177812161ab9ed99bf72a4fTue, 13 Oct 2009 21:20:26 GMTmikeash - 2009-09-18 14:59:27http://www.mikeash.com/?page=pyblog/its-a-poor-carpenter-who-blames-his-tools-or-xcode-sucks-again.html#comments<b>Eljay:</b> You didn't answer my question. "How do the Heisenburg Compensators work?" "Very well, thank you!" I'm asking about the mechanism by which Java support tools, and I'm pretty sure that seeing that support be incredible is not going to tell me what the mechanism is.c8b0fb5aac7465f534cd865555555d7fFri, 18 Sep 2009 14:59:27 GMTEljay - 2009-09-18 13:51:45http://www.mikeash.com/?page=pyblog/its-a-poor-carpenter-who-blames-his-tools-or-xcode-sucks-again.html#commentsStream of rambling consciousness... <br /> <br />Xcode 3.2 sucks less. Still sucks. But sucks less. Maybe someday it will rival Eclipse. <br /> <br />I use vi (Vim) as my editor. rather than Xcode's editor. NOTE: my fingers know 'vi' implicitly. It's too late for me, save yourselves! <br /> <br />I use gdb directly (Xcode calls it the debugger Console), rather than Xcode's GUI-on-top-of-gdb. Been using gdb command-line for many years. Again, too late for me, save yourselves. <br /> <br />emacs? Nice OS, just lacks a good editor. <br /> <br />Eclipse - awesome, if you are programming in Java. I do not program in Java any longer. I did, once, for a year. Good while it lasted. <br /> <br />@mikeash "How exactly does Java "support tools"?" <br /> <br />You really need to program Java using Eclipse IDE for a while. (Or IntelliJ ... I've used that too.) The Java support for tools is incredible.d826f4542b5a9cb13cb497ebb6a73eafFri, 18 Sep 2009 13:51:45 GMTPatMcGee - 2009-09-12 04:30:26http://www.mikeash.com/?page=pyblog/its-a-poor-carpenter-who-blames-his-tools-or-xcode-sucks-again.html#commentsTo follow up, the manual for the HP1742A was copyright 1978. So, this tool has probably been in pretty constant use for nigh on to 30 years. <br /> <br />In 1978, I bought an Apple ][ (serial number 2077). Didn't even have a floppy disk drive. I gave it away sometime after 1987. It still worked but wasn't worth my time anymore. <br /> <br />I can't think of a single software tool from that time that I still use.2d6a1c7d6d705a74d82c01e7f330dc12Sat, 12 Sep 2009 04:30:26 GMTPatMcGee - 2009-09-12 03:59:36http://www.mikeash.com/?page=pyblog/its-a-poor-carpenter-who-blames-his-tools-or-xcode-sucks-again.html#commentsI see one big difference between most other tools and software development tools: how long they last. <br /> <br />As an example, I just bought an HP 1742A Oscilloscope. Dunno when it was built, but the most recent calibration sticker on it is from 1996. (There are a couple of stickers under that one.) <br /> <br />It still works just as well as the day it was made. It's technologically obsolete for working on certain types of newer equipment, but for others, and for any old equipment, it works just fine. <br /> <br />And here's why I think that makes a difference: If you've going to use your tools for a long time, you can afford to invest lots of money in buying / building them. <br /> <br />With the current state of software development, no one can afford to build really good tools. The tools won't last long enough to repay the investment. <br /> <br />Further, I predict this won't change until after "Moore's Observation" (I decline to call it "Moore's Law") becomes no longer true. <br /> <br />(It may not change even then, because we're changing the way we think about building software at a pretty fast clip also. All I'm claiming is that it won't change before then; not that it will happen at that time.) <br />b50dcc5877cbc8d9b1af40dc9d7e5794Sat, 12 Sep 2009 03:59:36 GMTDoug - 2009-07-21 04:06:05http://www.mikeash.com/?page=pyblog/its-a-poor-carpenter-who-blames-his-tools-or-xcode-sucks-again.html#commentsXCode has crashed twice on me in the last few days, each time losing maybe an hour of my work. All I was doing was scrolling the text editor display, or simply typing. This was in a plain C source file, about half of which is block comments. <br /> <br />Such crashes maximize the likelihood of bugs in my software. This is unacceptable in a source code (or for that matter any other) text editor. Sigh. <br /> <br />43e054f10233c05802fe813587b09653Tue, 21 Jul 2009 04:06:05 GMTDoug - 2009-07-11 05:53:05http://www.mikeash.com/?page=pyblog/its-a-poor-carpenter-who-blames-his-tools-or-xcode-sucks-again.html#commentsI appreciate the tip on showing spaces, albeit buried down at the bottom of some sub-menu. It works faster than 4 minutes, so that's a superficially good thing. But my point still stands. A tactical fix is not a strategic fix. <br /> <br />Here's another example of plain bad design, masqueradiing as a "time-saving" shortcut. I'm not using any special editor formatting settings (that I know of, which of course is another problem of featuritus). <br /> <br />I've indented a long, multi-line C block comment so that the left margin of the comment block is 1 tab and 3 spaces (tabs map to four spaces). The line therefore starts with four characters: a tab and then 3 spaces. I want to get rid of the tab during editing, leaving the three spaces, so I do what every Macintosh owner for the last 25 years would do. <br /> <br />I place the cursor using the mouse between the tab and the first of the three spaces, where it happily and blinkingly displays its position as between two characters, and hit the DELETE key. <br /> <br />What happens? XCode's editor leaves the tab alone and FORWARD DELETE's not one but all three spaces, the exact thing that not only did I not want to happen, and which completely contradicts everything I have ever learned as to how editing characters of text works on the Mac. If I had wanted those 3 spaces to go away, I would have either selected them and hit DELETE, or I would have placed the cursor after the third space and hit DELETE three times. Either of these conforms with my inner model of what "is there" based on what I have typed, putting "it" there. Thankfully, both of these 3-space deletions work like they should. But of course I wanted to delete the previous tab. <br /> <br />Nonetheless, I did something completely proper and reasonable, but my "tool" harmed me because I have to clean up the editor's decision to do me a favor. Not only do I resent the time I have to spend on this, but this anomalous behavior Interrupts My Train Of Thought. This harms my zone of focused productivity when coding, without any benefit. Even worse, I can't fathom what the purpose of XCode's editor's decision to behave this way (sudden forward deletion contrary to all editing standards) serves. Maybe it's a bug, but I doubt it after all these years. <br /> <br />When a tool gets in the way of what its user wants to do (no matter how well-intentioned) it violates fundamental "toolhood". Therefore, ... <i>it sucks!</i><i>. <br /> <br /></i>aac298d178fb139a880bded1f10921dcSat, 11 Jul 2009 05:53:05 GMTmikeash - 2009-06-27 02:53:38http://www.mikeash.com/?page=pyblog/its-a-poor-carpenter-who-blames-his-tools-or-xcode-sucks-again.html#commentsI want to suggest a couple of workarounds for these specific examples. Not that I'm trying to make excuses or anything, I just want to give some tips to a fellow sufferer in need. <br /> <br />For debugging, learn and love gdb. While gdb is not the best either, 90% of Xcode's debugger follies come from the Xcode GUI front-end, not the gdb back-end. Dropping down to the Xcode debugger console (or even running gdb separately) can be a great way to avoid trouble with Xcode's debugger. I realize this is going back to about 1975 in terms of user interface, but it <i>works</i>. <br /> <br />For seeing where spaces are, you can select View-&gt;Text-&gt;Show Spaces. <br /> <br />For speed, keep your files small. I don't know why, must be some O(n^2) algorithms or something, but Xcode absolutely hates large files. My general guideline is to keep my source files under 2000 lines, and significantly less than that where possible. I find this to be a good thing anyway, as large files are often indicative of design problems, but even if you ignore that, it will keep Xcode happy. Yeah, it should be able to deal with big files, but it can't, and if you please it then it will treat you a bit better. <br /> <br />For more speed, buy a new machine. I know this may not be possible, but the speed difference between Xcode on your G4 and Xcode on a new machine will be enormous. Yeah, there's no reason for Xcode to require a massive Intel processor with a ton of RAM, but let me tell you, it runs a lot better there. <br /> <br />Again, I don't want to sound like I'm making excuses for Xcode or anything, just give you some tips on how you can work around these specific problems.aab4b14a314f8eb2971116a7eb41bf62Sat, 27 Jun 2009 02:53:38 GMTDoug - 2009-06-27 01:44:48http://www.mikeash.com/?page=pyblog/its-a-poor-carpenter-who-blames-his-tools-or-xcode-sucks-again.html#commentsI have been a professional personal computer programmer for nearly 3 decades. I have bult and successfully sold developer tools. <br /> <br />Begin Rant: <br /> <br />I agree wholeheartedly with the sentiment that nearly all tools suck. Certainly Apple's, which is frustrating because there is so much potential there. <br /> <br />Part of the problem is the timeless and immature notion among programmers that tools should be free because, well after all, a programmer can slap together anything to get the job done (this is especially endemic among Unix programmers). <br /> <br />I am currently attempting to use XCode 3.0 on PowerBook G4 to build a simple Carbon application in C. <br /> <br />It SUCKS! Oh, God, it sucks. It has literally reduced me to tears (as in tearing my hair out) and depression over the complete lack of progress in interfaces for us software developers of Mac software. But of course, Xcode was free, so I have no recourse except to jump through huge numbers of hoops in order to report bugs to its authors. Is there phone number I can call for help? No. Is there a human willing to take responsibility for the confusion their software causes a user? No. It sucks. <br /> <br />XCode is without a doubt the single most frustrating piece of development software I have ever used on the Mac. I hate it, I hate it, I hate it. Its interface and its complexity and its inefficiencies make me a far less productive programmer now than I was 10 years ago working with CodeWarrior on System 9. That's a disgrace. <br /> <br />Examples: <br /> <br />Single stepping in the debugger invariably points to the wrong lines of code. This worked on CodeWarrior 10 years ago, even for source code with weird macros. XCode has forced me to go back to 70s-era printf() style debugging to see state. <br /> <br />I wanted to see where spaces are used in a source file. So I use the editor to search and replace every space with a visible character (that was not already in the file). The source file is medium size (200K, mostly comments). Replacement of all these single-character spaces with another string of the SAME LENGTH (and no regular expression searching) literally takes 4 minutes, when it ought to occur in well-under a second on a gigahertz machine. The operation should take no longer than opening the file in the first place. <br /> <br />Instead, after waiting and waiting, I become so impeded in my train of thought that I want to strangle someone (actually, I went and brewed a cup of tea, by which time the replacement was done). Same happened for the inverse step to restore the code. <br /> <br />This kind of sluggage for the simplest operations DESTROYs programmer productivity. A computer interface that breaks its user's train of work thought is a computer interface that sucks. <br /> <br />XCode is trying to be Microsoft Word for Mac development. I hate it as much as my wife hates Word. And she had to pay for Word. <br /> <br />XCode violates any number of sound and time-honored user-interface principles. For instance, the menu system is a travesty of too much choice. There should only be one way to do something, but in XCode it seems there are always a zillion multiple ways. <br /> <br />I Want My Simplicity Back. <br /> <br />I don't care what the excuses are. If a tool in this day and age can't do the most fundamental and basic things correctly and quickly, the first time out of the box ... it SUCKS! <br /> <br />End Rant. <br /> <br />7016c6812d728570140adf79236f7352Sat, 27 Jun 2009 01:44:48 GMTJon H - 2009-02-15 11:43:50http://www.mikeash.com/?page=pyblog/its-a-poor-carpenter-who-blames-his-tools-or-xcode-sucks-again.html#commentsBack in 1994 I used Visual C++ on NT. <br /> <br />An invisible control character in a source code file caused VC++ to crash the computer. Reproducibly.afbbf170e8c0b4ca6cb8849c9c34496aSun, 15 Feb 2009 11:43:50 GMTJose Vazquez - 2008-10-30 03:12:39http://www.mikeash.com/?page=pyblog/its-a-poor-carpenter-who-blames-his-tools-or-xcode-sucks-again.html#commentsI have zero love for Microsoft. Let me just get that out there. My personal projects are at the moment %100 Apple centric for many reasons. That being said I do have to occasionally work on C# and sometimes Java. <br />I agree with you assessment of those languages. I do believe Microsoft has made more of an effort to interoperate with C functions. In particular, they can call methods on dlls, pass around structures and even deal with callbacks. I avoid having to do so like the plague, nonetheless it is easier than Java. Java can also do some of this C interfacing through JNI. I had the distinct displeasure of doing so about 5 years ago to interface joysticks on Linux to a Java GUI *sigh*. It does work, but I am sure you will point out, its far from easy and rather painful. <br />I also agree with you on the general state of tools. I tend to be happy with the tools I use on the mac, but that is only because the tools I am used to working with (embedded platforms, VHDL for FPGAs, matlab, LabView) sucked my will to live. <br />So I guess it is all relative. Many times, I have considered printf debugging to be a high level tool. I am more used to looking at blinking LEDs and triggering on oscilloscopes. But my primitive existence is no justification for the state of tools. I do hope longingly that clang will make for a brighter future. <br />Thank you for you thoughtful posts. f389687e64e42e278d6cb19601d16c20Thu, 30 Oct 2008 03:12:39 GMTmikeash - 2008-10-17 01:45:07http://www.mikeash.com/?page=pyblog/its-a-poor-carpenter-who-blames-his-tools-or-xcode-sucks-again.html#commentsI'd be interested to know more about how C# can do these things. As far as I know it still has mandatory static typing, expressiveness seems better but still painful, no macro system to fix that, poor integration with C, and no <i>easy</i> (easy is a key point here because it can make the difference between using them all the time and simply knowing that they exist somewhere) way to do fun ObjC tricks like transparent proxies and swapping classes. Am I wrong?6ff2e1f708e57b946da156e3df2b7064Fri, 17 Oct 2008 01:45:07 GMTmichele - 2008-10-17 01:28:13http://www.mikeash.com/?page=pyblog/its-a-poor-carpenter-who-blames-his-tools-or-xcode-sucks-again.html#commentsHi Mike, just a FYI comment: as a language, C# is actually quite more powerful, expressive and flexible than Java and I'd say it solves most if not all of your points above. <br /> <br />As I said, I don't want to convert you, I'm an ObjC developer myself too at the moment, I just thought you were conflating C# a bit too much with Java (which has also finally started to evolve a bit, in its most recent versions).8a8711983b0cb0537eefed2018907846Fri, 17 Oct 2008 01:28:13 GMTAdam - 2008-10-15 04:41:14http://www.mikeash.com/?page=pyblog/its-a-poor-carpenter-who-blames-his-tools-or-xcode-sucks-again.html#commentsNice post. It's interesting that Chris used to use an G4 PowerBook, because Xcode 3 is totally unusable with a G4 PowerBook. I filed a bug report on editor performance a year ago (5572897); I could reliably induce beachballing for seconds while typing a method implementation, so I was able to get some nice Shark/Instruments traces. My dual G5 will occasionally beachball when I bring Xcode to the foreground (which triggers various UI updates and garbage collection), and editing still feels sluggish. <br /> <br />Debugging hasn't been as bad for me as you describe, but I still occasionally see all of the problems you mention, even using dwarf. A more minor example of brokenness is the disclosure triangles in the debugger's outline view; those were broken in Project Builder, and they're still broken today (it takes an indeterminate number of clicks to open and close them...sometimes 1 click, sometimes 2-3). And no, I don't care enough to spend an hour submitting a -(oneway void)bugreport.3dcdccb44a0bf7913ab22e4b4c7661a9Wed, 15 Oct 2008 04:41:14 GMTmikeash - 2008-10-15 00:03:37http://www.mikeash.com/?page=pyblog/its-a-poor-carpenter-who-blames-his-tools-or-xcode-sucks-again.html#commentsI could not agree more! Any feature set no matter how awesome is always going to be overshadowed by debugger problems. To me, losing valuable debugger state because the debugger interprets single-step as "run forever", or fails to hit breakpoints, or gets itself into a broken state because I tried to print the wrong ObjC object, is simply unacceptable. Xcode could have a feature which makes me coffee and sandwiches while it writes half my code and this alone would <i>still</i> make it suck way too hard.33831e3e21eb7ec9674e0806656e56d2Wed, 15 Oct 2008 00:03:37 GMTToby - 2008-10-14 18:02:22http://www.mikeash.com/?page=pyblog/its-a-poor-carpenter-who-blames-his-tools-or-xcode-sucks-again.html#commentsI used to be a Mac fanboy until I had to use XCode. I think I don't really demand too much of a tool, but the bare minimum requirements I have for a debugger that it is able to single step. <br /> <br />Cmon Apple, this is completely ridiculous! To me, that's like going to a restaurant and being told to use a cheap plastic knife which breaks when you try to 'cut' something like maashed potatoes. <br /> <br />Please Apple, ignore every single feature of XCode and fix single stepping before you do anything else. This is so pathetic.5e13ba643500871be5d35e2ff5d1aa46Tue, 14 Oct 2008 18:02:22 GMTmikeash - 2008-10-12 23:31:18http://www.mikeash.com/?page=pyblog/its-a-poor-carpenter-who-blames-his-tools-or-xcode-sucks-again.html#comments<b>eranif:</b> Maybe it gets better once you get used to it, but my first impression of that application was utterly horrible. The first thing it smacks me with is a wizard asking where my headers are kept so it can index them; I honestly have no idea what to tell it, given that my headers are kept in several different places and which set I use depends on the project. Once I canceled that I was presented with the ugliest possible MDI project window. I could find no way to explode this stuff out into separate windows, and the unbelievable proliferation of incomprehensible toolbar icons and tabs made me decide that there was no hope to be found here. <br /> <br /><b>matt:</b> I consider Java and C# to be bad languages because, essentially, they are designed for the lowest common denominator. Their implicit design goals (never talked about, but seemingly inherent in how they work) are that they should primarily allow masses of barely-competent code monkeys to be productive without harming the overall project. Large companies want to be able to hire lots of people without going through the painful process of figuring out which ones actually know what they're doing and which ones just sound like it, and Java and C# are strict enough that the latter can make minimal gains without being too destructive. <br /> <br />In particular, and this is specific to Java but I think most apply to C# as well: <br /> <br />- Mandatory static typing means you have to cast things all over the place. <br /> <br />- Extreme lack of expressiveness means writing the same code over and over again. See <a href="http://c2.com/cgi/wiki?BlocksInJavaIntro">http://c2.com/cgi/wiki?BlocksInJavaIntro</a> for a good example of how Java lets you do interesting things, but only in very unpleasant ways. <br /> <br />- No macro system to get around the above problem. I don't consider a macro system to be mandatory (although in my heart of hearts I think every language should figure out how to have a Lisp-like macro system). Certainly C's macro system is ugly in many ways. But it's also extremely powerful, and it makes for a good way to work around many deficiencies of the language. For example, Objective-C before 10.5 didn't have a nice way to iterate collections, which meant writing the same for loop over and over again. Or, writing a single macro to do the ugly stuff for me, and then using that. As an example of a language which I don't think needs macros, Python is expressive enough already that it gets by fine without them. <br /> <br />- Poor integration with C. These languages have a very difficult time calling C APIs, especially complicated ones with return-by-reference, variable-size parameter blocks, etc. Yeah, this is unfair. So is life. Fact is that in my daily work I do a lot of work with such C APIs, and if a language can't talk to them then it's pretty useless for that daily work. (This is the primary reason why I still use Objective-C instead of a better language with a Cocoa bridge.) For situations outside of work where I don't need those APIs, why use Java when I can use something better like Python? <br /> <br />- These languages often don't support fun ObjC tricks, and where they do support them they make them annoying or difficult enough that it's hard to use them regularly. These are things like transparent proxies using forwardInvocation:, swapping method implementations on a class, swapping isa pointers to change the type of an object dynamically, posing, categories, etc. <br /> <br />I'm sure there's more, but we approach the limits of my knowledge of the language. C# in particular is not going to get me to use it no matter how many redeeming features, simply because it comes from, and is tied to, Microsoft. You mention "if you're trying to reach users of Windows or Windows Mobile", which is kind of interesting because I never have tried to do so and I never intend to. But in essense, both Java and C# are the COBOL of the modern age, designed by corporate minds for corporate uses and terribly uncomfortable for small independent guys like me. The fact that all these gigantic companies like these languages says nothing positive, and quite possibly much that's negative. <br /> <br />Lastly, could we <i>please</i> stop discussing C++? I hate C++ and would never use it as an example of anything that's good. C++ has most of the problems I ascribe to Java above, and a whole lot more besides. C++ is not a powerful language, it's merely difficult in a way that looks powerful if you don't go too deep.899c868ace4ab9f91af3234ccfdea28eSun, 12 Oct 2008 23:31:18 GMTeranif - 2008-10-12 21:35:45http://www.mikeash.com/?page=pyblog/its-a-poor-carpenter-who-blames-his-tools-or-xcode-sucks-again.html#commentsHave you heard of CodeLite? it has a bundle for Mac (interl &amp; ppc) excellent code completion and other features for C and C++. <br /> <br /><a href="http://codelite.org/">http://codelite.org/</a> <br /> <br />Eran <br /> <br />8fbb317fba6998d8a1eb9a4fb0990fb6Sun, 12 Oct 2008 21:35:45 GMTmatt - 2008-10-12 12:48:10http://www.mikeash.com/?page=pyblog/its-a-poor-carpenter-who-blames-his-tools-or-xcode-sucks-again.html#commentsWhy do you consider Java and C# bad languages to code in? Sure, Java *used* to be slow and is a little clumsy to write stuff in, but the tools more than make up for that. Equally importantly, it has a ton of libraries for useful things, both in the standard distribution and in the open-source world, and these generally play well together. And it is fully open-source now, with a number of competing JVMs and IDEs, so it's not that much of an evil empire. <br /> <br />C# is like a nicer Java as long as you're willing to sell your soul to Microsoft (which is not too horrible for some things, like if you're trying to reach users of Windows or Windows Mobile). Visual Studio works very well and performs well, even for coding C++. It's really one of the most impressive Microsoft products out there. <br /> <br />I think there is something to the fact that Microsoft, Sun, IBM, and a whole bunch of companies think that managed languages (JVM / .NET) are the way to go. It may take some time to get used to it, it may be annoying not to have all the power of C++, but the tool support that comes from sane language design and industry backing is really nice to have.84e7d49ccfcd7b89ad3238d0e7ed5f68Sun, 12 Oct 2008 12:48:10 GMTMark Dalrymple - 2008-10-11 11:50:25http://www.mikeash.com/?page=pyblog/its-a-poor-carpenter-who-blames-his-tools-or-xcode-sucks-again.html#commentser, the error messages are at <a href="http://borkware.com/hacks/XcodeFail.txt">http://borkware.com/hacks/XcodeFail.txt</a> . Sigh. <br />cde7bc8f9383e6dac9809a2d4b1ac80cSat, 11 Oct 2008 11:50:25 GMTMark Dalrymple - 2008-10-11 11:49:49http://www.mikeash.com/?page=pyblog/its-a-poor-carpenter-who-blames-his-tools-or-xcode-sucks-again.html#commentsOBTW, here's a movie of Xcode failing for me right now : <a href="http://borkware.com/hacks/XcodeFail.mov">http://borkware.com/hacks/XcodeFail.mov</a> <br /> <br />And the backtrace mentioned, and other Xcode error messages to the console are at <a href="http://borkware.com/hacks/XcodeFail.mov">http://borkware.com/hacks/XcodeFail.mov</a> <br /> <br /> <br /> <br />348b53ffc94377786bad351a0e0750f9Sat, 11 Oct 2008 11:49:49 GMTMark Dalrymple - 2008-10-11 11:15:10http://www.mikeash.com/?page=pyblog/its-a-poor-carpenter-who-blames-his-tools-or-xcode-sucks-again.html#commentsok, so the "still open" was kind of snarky, but the "hey, it works for me is also kind of narrow-focused. There's lots of use cases, and apparently whatever it is I'm doing is making Xcode fall down on its face. hard. repeatedly. <br /> <br />I do appreciate the engineering work that goes into it, but I've also been on the silent end of the Apple bug reporter stick, and I'm really cynical about the whole thing. The FNDA didn't help either, but thankfully that's behind us. <br /> <br />All of my bug reports include a movie showing exactly what's happening. And now I'm re-checking a chapter for a book I'm tech-reviewing, and running into all of these problems again - pasting destroying formatting, Xcode exceptions thrown, and all with the latest and greatest (3.1.1) <br /> <br />So I'm gritting my teeth, checking this chapter, and then heading back to emacs, while warty, is pretty stable, and didn't cost me $195 to figure out why a major feature wasn't working. <br /> <br /> <br />b587848af6a19d5759955f8e3f9a4404Sat, 11 Oct 2008 11:15:10 GMTmikeash - 2008-10-11 05:31:46http://www.mikeash.com/?page=pyblog/its-a-poor-carpenter-who-blames-his-tools-or-xcode-sucks-again.html#commentsI wasn't more specific because the point of my post did not involve being specific about how Xcode sucks. Rather it was a jumping off point for discussing how all developer tools suck in one way or another. But if you really want specificity.... <br /> <br />The Xcode editor bogged down horribly on PPC machines with files over a couple thousand lines long. This was vastly exacerbated if the file in question was being displayed in more than one window, whether by explicitly telling Xcode to open it in a separate editor, or by having it show up in the debugger or build window editors. (If it's not obvious, I use Xcode in an extremely multi-window fashion.) The only way I have been able to avoid having the Xcode editor be slow is to aggressively control the size of my source files (a good thing to do overall, but not always possible) or to throw a Mac Pro at it. And even on the Mac Pro it gets slow sometimes. <br /> <br />Code completion has been driving my up the wall in the Xcode 3 series. It happens all the time where I will type a bit of code and then try to autocomplete a method name by typing "[obj someTh" and then hitting the code completion, and it only gives me global symbols starting with "someTh". To make it give me methods, I have to hit Cmd-S, then wait about five seconds, and then it will suddenly change its mind and start to complete methods instead of global symbols. <br /> <br />My problems with the debugger crashing, freezing, and otherwise misbehaving are recent and have only happened since I installed 3.1. (I am seriously considering going back to 3.0 if I can't find another way to fix them. I have yet to see if my latest reinstall fixed things, and I have yet to try DWARF, and will do those first.) But obvious problems like the debugger simply skipping breakpoints have been there long before. This kind of behavior is ridiculous and unacceptable. And I know it's Xcode because gdb itself behaves perfectly fine when used on its own. (Gdb sucks too, but in very different ways.) <br /> <br />I could go on. Suffice it to say that Xcode has a huge number of warts, strange behaviors, and outright bugs. And it's not just me. It's an article of faith in the my circle that Xcode sucks. Obviously we don't hang out in the same circles, but you should accept the possibility that perhaps it's not just my own personal Xcode-destructo field. <br /> <br />And please note that all of the issues I elaborate on above have existed since long before Xcode was even called Xcode. The editor has <i>always</i> been slow, even with Project Builder. The debugger has <i>always</i> failed in annoying and difficult ways. Code completion has <i>always</i> had various problems actually completing code. Xcode seems to get better and worse in cycles. The Xcode 1 series was a vast step backwards over Project Builder. The Xcode 2 series was a big step forward over Xcode 1. And now Xcode 3 is slowly stepping back from that. <br /> <br />And please don't come back to tell me about limited resources, ad hoc regex-based code parsing, or any of the rest. I'm not really interested in the details of why Xcode sucks. What I'm interested in is the overall causes behind why <i>all</i> developer tools suck. The fact that Apple's limited dev tools engineering resources have been devoted to this instead of that isn't really interesting in that context. <br /> <br />It's hardly a "crack" to talk about bugs still being open. Why do you think that all of us third-party guys think Radar is a black hole? Well, it's probably because Apple provides <i>no</i> evidence otherwise. If you want your dog to jump on command, you have to actually give him a treat from time to time, not just talk to him about how useful his jumping is. And if they're open because they haven't been fixed yet, then that's just further evidence that Xcode does actually suck as claimed, and that it's not just our imaginations. That there are more important things for Apple's employees to be working on is not any kind of argument for non-suck. <br />dda190a7dbf71d743213e3c3f533126bSat, 11 Oct 2008 05:31:46 GMTChris Hanson - 2008-10-11 03:04:08http://www.mikeash.com/?page=pyblog/its-a-poor-carpenter-who-blames-his-tools-or-xcode-sucks-again.html#commentsI didn't think it was that clear. Your statement is basically "it sucks because the debugger sucks, autocomplete sucks, and the editor is slow." I live in Xcode; I used to live in it on a PowerBook G4 and it performed fine (once indexing completed). I debug all the time. I use Code Sense all the time. I work on large projects. And so do a very large number of other people, without experiencing the issues you are. Being more specific about your issues means you might be able to get more than just commiseration. <br /> <br />I cannot overstate how much better a debugging information format DWARF is. It's not so much that "STABS is intended to make the thing completely unusable" as "STABS is a relic of an earlier era that has never worked all that well." Did you notice how I immediately asked what debug format you were using? There's a reason... :) <br /> <br />I have not had - nor have I seen people have - many of the problems with the Xcode editor that either Mike or Mark are reporting. There were a huge number of changes in editing specifically for Xcode 3; it changed a lot to provide better infrastructure for the feature set developers need as well as performance. Similarly with Code Sense and project indexing. <br /> <br />There were bugs introduced during that process, many of them were fixed for 3.1 and some for 3.1.1, so it'll be worth using the latest possible version of the tools. In particular there was a serious but hard to reproduce performance bug found in the 3.0 editor after ship that was addressed in 3.1; maybe that's what you were running into. And indexing in 3.0 and later has to be more in-depth to support refactoring, which causes Xcode's performance to degrade on single-core machines until indexing completes; maybe that's the source of your "Xeon" comment. <br /> <br />Unless you're more specific, those of us who have the "Must help, must help!" gene can only guess at what you might be running into and what might fix it. Though I must thank you for actually reporting bugs; some people have problems but refuse to report them claiming bug reporter is a black hole, which is really far from the truth. <br /> <br />As for your "are still open" crack, Mark: Every engineering effort involves trade-offs and prioritization. You're a good engineer (as is Mike!) so you know that. :) There's always the possibility that an issue was addressed by another fix and it wasn't noticed that they were the same issue; there's also the possibility that there are more important issues that needed to be addressed.fe5ff18a0363c3a153a291238f73ac6dSat, 11 Oct 2008 03:04:08 GMTMark Dalrymple - 2008-10-11 00:14:29http://www.mikeash.com/?page=pyblog/its-a-poor-carpenter-who-blames-his-tools-or-xcode-sucks-again.html#commentsThe Xcode editor drives me batty. Random scrolling, cut and paste errors, and so on. I had to use it to write a chapter of tips and tricks for 'Learn Objective-C on the Mac'. About 10-12 pages, 23 radars, *and* I had to buy and burn a DTS incident to figure out why Edit all in Scope was horribly broken. <br /> <br />obtw, radars: 6009823, 6086975, 6088576, 6088600, 6088612, 6088615, 6088657, 6088667, 6099292, 6099307, 6099362, 6099710, 6099742, 6100174, 6101224, 6101277, 6103758, 6104012, 6104040, 6120117, 6120169, 6121737, 6154498 <br /> <br />Of which over half are still open. <br /> <br />671071ebf5eb773a87ae3c94cdce249dSat, 11 Oct 2008 00:14:29 GMTmikeash - 2008-10-10 22:15:36http://www.mikeash.com/?page=pyblog/its-a-poor-carpenter-who-blames-his-tools-or-xcode-sucks-again.html#commentsI thought I was pretty clear about how Xcode sucks when I said, "The debugger fails all over the place, autocomplete is broken more often than it works, and the editor won't perform acceptably until you throw four Xeon cores at it." <br /> <br />And historically, the thing has just been full of eels. It's unintuitive, buggy, slow, and annoying. But my point is that all tools are this way, not just Xcode. <br /> <br />As far as filing bugs, my bug about the debugger crashing constantly is still open, but hasn't been updated by Apple since July. <br /> <br />I will try DWARF, but I doubt that Stabs is intended to make the thing completely unusable.e41504d0ebfa87534828d5d342441deaFri, 10 Oct 2008 22:15:36 GMTChris Hanson - 2008-10-10 16:39:38http://www.mikeash.com/?page=pyblog/its-a-poor-carpenter-who-blames-his-tools-or-xcode-sucks-again.html#commentsMike, it might be good if you said <b>why</b> you think Xcode sucks. <br /> <br />I don't think Xcode sucks. I used to, pre-2.0, but a whole damn lot of things were fixed for 2.0 and it's been getting better ever since. (I've worked on the IDE since Xcode 2.1.) <br /> <br />Java and C# are easier than C to create good tools for not because they have run-time reflection, but because they don't have a text-substitution preprocessor. With Java or C#, you can look at a fragment of program text and understand exactly what it will be in the AST, and all of the fancy refactoring, browsing, etc. tools do just that. <br /> <br />C and Objective-C do have a text-substitution preprocessor, so there's a layer of indirection that needs to be maintained up and down the entire process of building tools to work with them. Either that or you have to cheat and do things like build function pop-ups based on regular expressions that are only <i>likely</i> to match <i>most</i> code than guaranteed to be correct 100% of the time. (Guess what every single editor for C ever does?) This is just one example of the kinds of issues that come from working atop a language like C; there are a whole slew of things that it makes difficult. <br /> <br />C++ - which Mike didn't bring up, but which some commenters did - is worse than C and Objective-C when it comes to building good tools because it has not just one but <b>two</b> layers of processing before you get to final program text: The text-substitution preprocessor, and the <b>Turing-complete</b> template language! The preprocessor is an impediment that things like refactoring and indexing tools can work around, but the fact that templates are Turing-complete makes building truly great tools for C++ a series of Ph.D-level research projects. <br /> <br />Oh yeah, also, since you mentioned having trouble with debugging on Twitter: Use DWARF, not STABS, as your debug symbol format. It will work much, much better in most cases. That's why it's there. STABS is there too because sometimes people need to build things on current compilers and debug them on older systems. After all, <i>everything</i> in engineering is about trade-offs. <br /> <br />(Insert obligatory exhortation to file bugs at <a href="http://bugreport.apple.com/">http://bugreport.apple.com/</a> here.)59e7fcf85b040d32893ad4540b37a675Fri, 10 Oct 2008 16:39:38 GMTmikeash - 2008-10-10 08:36:51http://www.mikeash.com/?page=pyblog/its-a-poor-carpenter-who-blames-his-tools-or-xcode-sucks-again.html#comments"Elbow" is all there is for now. When that no longer suffices to keep the spammers out, it'll change. <br /> <br />As for ease of parsing, to my mind you get easiest parsing when you let the compiler do it for you, which is really how it ought to be. Simplifying your language's syntax so that editors can parse it is, to my mind, entirely missing the point. It makes no sense to me to have two completely independent parsers on the system, one sitting in front of the compiler and one sitting in the editor. This is part of why I'm interested in clang, as it takes a modular approach which will allow the parser to be used in the editor instead of the editor having to come up with its own crappy ad-hoc parser. <br /> <br />The fact that everybody writes their own parsers just goes to show how crappy the state of developer tools really is. The parsers we have are so single-minded that they can't even be reused elsewhere.24c6ae5a13f4ae921b69c15b523d6077Fri, 10 Oct 2008 08:36:51 GMTRobert 'Groby' Blum - 2008-10-10 07:24:29http://www.mikeash.com/?page=pyblog/its-a-poor-carpenter-who-blames-his-tools-or-xcode-sucks-again.html#comments(Do I ever have to say anything besides 'elbow'?) <br /> <br /><div class="blogcommentquote"><div class="blogcommentquoteinner"> <br />And since I never mentioned it, why did you? <br /></div></div> <br /> <br />Probably since most of us suffer through C++ and are envious of the (comparatively) good tools that Java/C# offer. At least for the 'compiled languages' world. <br /> <br /><div class="blogcommentquote"><div class="blogcommentquoteinner"> <br />&nbsp;I cannot see what makes them different. <br /></div></div> <br /> <br />C# has a slightly saner approach to many things. Emphasis on slightly. <br /> <br /><div class="blogcommentquote"><div class="blogcommentquoteinner"> <br />Simplified syntax is fine, but Java seems to have a syntax roughly equivalent to almost every other modern language. <br /></div></div> <br /> <br />It's in the small details. The easier it is to parse your language of choice, the more likely is the creation of tools for that language. <br /> <br />Hence the number of people who advocate storing programs in a non-text representation. If your code is stored in a parsed format, tool creation becomes much easier. <br /> <br />It's the whole toolbox issue - unless your parsing step is a completely separate tool, everybody is going to implement their one parser for each tool they write. <br /> <br />10fd16f554ead1fd93087635336b9daaFri, 10 Oct 2008 07:24:29 GMTmikeash - 2008-10-10 03:37:00http://www.mikeash.com/?page=pyblog/its-a-poor-carpenter-who-blames-his-tools-or-xcode-sucks-again.html#commentsReflection seems to be of limited utility, for the simple fact that it won't give you anything if your code isn't complete enough to compile. Simplified syntax is fine, but Java seems to have a syntax roughly equivalent to almost every other modern language. <br /> <br />From my perspective, C# and Java are indistinguishable. Aside from obvious bits of syntax noise and the fact that they're created by two different evil empires, I cannot see what makes them different. <br /> <br />I don't know why everyone keeps bringing up C++. I don't like C++, I mostly don't use C++, and I'm certainly not talking about C++ when I bring up bad tools. C++ is not a tool which is bad despite the best efforts of the people building it, C++ is one of those cheap Wal-Mart tools that will shatter and take off your hand if you look at it wrong. And since I never mentioned it, why did you?9a69845c616442bac0cd473160359e03Fri, 10 Oct 2008 03:37:00 GMTRobert 'Groby' Blum - 2008-10-10 03:16:45http://www.mikeash.com/?page=pyblog/its-a-poor-carpenter-who-blames-his-tools-or-xcode-sucks-again.html#commentsmikeash: Java enables better tools due to the fact that it has reflection and a simplified syntax. At the core, you can get directly at the AST - that's what enables any decent tool. <br /> <br />If you don't like Java itself, C# is another language that has reflection info. There are plenty of decent tools available there as well. <br /> <br />Forget about that in C++ - having an undecidable syntax makes writing parsers more like black magic than anything else. And no runtime modifications to speak of. <br /> <br />C++ is the Windows of programming languages. Sure, it works, and it does a lot of things, and it's widespread - but it carries around the cruft of decades and never makes a clean break.c5ae4425e39ca9cd05c19fbb820b4711Fri, 10 Oct 2008 03:16:45 GMTmikeash - 2008-10-09 23:46:33http://www.mikeash.com/?page=pyblog/its-a-poor-carpenter-who-blames-his-tools-or-xcode-sucks-again.html#commentsSee my comment above as to why I find Java IDEs to be inadequate no matter how wonderful they are.4e92622f9167dd75b1b498651a2d07e9Thu, 09 Oct 2008 23:46:33 GMTAndrew Jackman - 2008-10-09 23:17:51http://www.mikeash.com/?page=pyblog/its-a-poor-carpenter-who-blames-his-tools-or-xcode-sucks-again.html#commentsEver coded Java in IntelliJ? It rocks! Best IDE I've ever used. It's commercial, but not expensive given how well it works. It really does make coding a pleasure. If only it understood Objective-C...ae773bbf8ee7fc099fc825ab7b881485Thu, 09 Oct 2008 23:17:51 GMTmikeash - 2008-10-09 23:09:24http://www.mikeash.com/?page=pyblog/its-a-poor-carpenter-who-blames-his-tools-or-xcode-sucks-again.html#comments<b>Anonymous:</b> "Great developers build their own tools." That's a nice idea but utterly impractical, like a machinist building his own machine shop from scratch. It would take much longer than my remaining lifespan to build the tools I need to work, so I must necessarily rely on the tools of others. <br /> <br /><b>Kobinator:</b> How exactly does Java "support tools"? It looks like merely Yet Another Algol-Based Language to me. What special magic does it have to "support tools" that C doesn't? <br /> <br />In any case, no matter how great Java is at supporting tools, it fails because it's a poor tool itself. It's like finding the world's best drill, except it only accepts drill bits made out of paper. <br /> <br /><b>Anonymous:</b> Squeak is a great tool within its own environment. Unfortunately it falls down pretty hard when it comes to talking to the outside world. Also the comments work best if you follow the formatting guide at the bottom and don't try to use extra tags. <br /> <br /><b>Keith Braithwaite:</b> You might be right. The big problem with these Other Languages is that they have, in my experience, a tough time interacting with C in a natural way, and so a tough time integrating with the system. Maybe that means we need a clean break. But I'm pessimistic about the odds of success for that.fc4cb58788baff1255060b57539ec6e2Thu, 09 Oct 2008 23:09:24 GMTKeith Braithwaite - 2008-10-09 21:34:45http://www.mikeash.com/?page=pyblog/its-a-poor-carpenter-who-blames-his-tools-or-xcode-sucks-again.html#commentsAny language that thinks that programs live in files (or their moral equivalent) leads us to tools that consist of a text editor with a more or less well integrated save/compile/run toolchain attached. A large part of the sucking follows from that. <br /> <br />If we could get away from that model we could have much, much better tools. Squeak is a great learning environment and pretty good for development. A commercial Smalltalk (ie, VisualWorks) is even better as regards tooling for production. The commercial Common Lisp environments are fantastic, too. And for much the same reasons. <br /> <br /> <br />a145477029fd00da95062bf7cb125f24Thu, 09 Oct 2008 21:34:45 GMTAnonymous - 2008-10-09 20:50:20http://www.mikeash.com/?page=pyblog/its-a-poor-carpenter-who-blames-his-tools-or-xcode-sucks-again.html#commentsWTH is up with the software. Here is the text of the link: <a href="http://www.squeak.org/">http://www.squeak.org/</a>2db0617aadaf91692ec900e735dbfd08Thu, 09 Oct 2008 20:50:20 GMTAnonymous - 2008-10-09 20:49:30http://www.mikeash.com/?page=pyblog/its-a-poor-carpenter-who-blames-his-tools-or-xcode-sucks-again.html#commentsSorry, here is a better link: &lt;a href=<a href="http://www.squeak.org&amp;gt">http://www.squeak.org&gt;</a>;<a href="http://www.squeak.org&amp;lt">http://www.squeak.org&lt;</a>;/a&gt; .949c854306b5185c25f3a4cf0c088801Thu, 09 Oct 2008 20:49:30 GMTAnonymous - 2008-10-09 20:47:53http://www.mikeash.com/?page=pyblog/its-a-poor-carpenter-who-blames-his-tools-or-xcode-sucks-again.html#commentsHave you tried &lt;a href=<a href="http://www.squeak.org/&amp;gt">http://www.squeak.org/&gt;</a>;Squeak&lt;/a&gt;? I have heard good things about it.44a9d433167fa3630868f421d4ef3b80Thu, 09 Oct 2008 20:47:53 GMTSatook - 2008-10-09 19:51:40http://www.mikeash.com/?page=pyblog/its-a-poor-carpenter-who-blames-his-tools-or-xcode-sucks-again.html#comments@Kobinator <br /> <br />I'd prefer a language in which I enjoy writing code.3dd954fc0a47275cdbabb1605fcb6e46Thu, 09 Oct 2008 19:51:40 GMTKobinator - 2008-10-09 18:05:24http://www.mikeash.com/?page=pyblog/its-a-poor-carpenter-who-blames-his-tools-or-xcode-sucks-again.html#commentsIf you're using C, C++, etc., sure, tools suck. It's because the languages don't support tools. For languages like Java, try IntelliJ IDEA. It's not perfect, but it's probably the best IDE in existence. <br /> <br />It's not free, although there is a 30 day evaluation or something. <br /> <br />A language that hasn't been designed with tools in mind is not worth using.29276641a3c0d8d93c363066ab1e3822Thu, 09 Oct 2008 18:05:24 GMTSimon Strandgaard - 2008-10-09 17:04:55http://www.mikeash.com/?page=pyblog/its-a-poor-carpenter-who-blames-his-tools-or-xcode-sucks-again.html#commentsLong time ago. I used AMOS on my A500 and later I used Turbo Pascal and Turbo C. These IDE's rocked. Ever since I have been looking for new tools, but havn't found anything nearly as good. Debugging just worked. Help just worked. Syntax coloring worked. <br />09499decdad69be75ce1744e2a32bfe7Thu, 09 Oct 2008 17:04:55 GMTSJS - 2008-10-09 16:44:46http://www.mikeash.com/?page=pyblog/its-a-poor-carpenter-who-blames-his-tools-or-xcode-sucks-again.html#comments<div class="blogcommentquote"><div class="blogcommentquoteinner"> <br />Christopher Lloyd at 2008-10-09 04:45:49: <br />Hold the sharp end away from your body and work with the grain. <br /> <br />anon at 2008-10-09 05:55:43: <br />One word: Emacs. <br /></div></div> <br /> <br />Emacs is holding the sharp end towards your body. Yes, it's amazing the amount of leverage you can get, but the bleeding sucks. <br /> <br /><div class="blogcommentquote"><div class="blogcommentquoteinner"> <br />Steven Smith at 2008-10-09 07:41:14: <br />Microsoft Visual Studio pretty much works all of the time and is reasonably pleasant to work with. <br /></div></div> <br /> <br />It doesn't run on any of my machines. <br /> <br />Personally, I consider UNIX to be my toolbox, and people keep wanting to replace my aging toolbox with a powered multitool. An IDE such as Xcode isn't a toolbox, it's an all-in-one tool, and it shows.36e2760f88fd8ff2da8afb98512e5c95Thu, 09 Oct 2008 16:44:46 GMTSteven Smith - 2008-10-09 15:41:14http://www.mikeash.com/?page=pyblog/its-a-poor-carpenter-who-blames-his-tools-or-xcode-sucks-again.html#commentsMicrosoft Visual Studio pretty much works all of the time and is reasonably pleasant to work with. <br /> <br />And it doesn't cost an arm and a leg!ba1f18f2e792c779692f223af61860a9Thu, 09 Oct 2008 15:41:14 GMTAnonymous - 2008-10-09 15:40:30http://www.mikeash.com/?page=pyblog/its-a-poor-carpenter-who-blames-his-tools-or-xcode-sucks-again.html#commentsI think it's pretty simple: great developers build their own tools.233d73c2f434f27041cb1dbe1395273aThu, 09 Oct 2008 15:40:30 GMTFilip - 2008-10-09 15:37:23http://www.mikeash.com/?page=pyblog/its-a-poor-carpenter-who-blames-his-tools-or-xcode-sucks-again.html#commentsI liked the Delphi editor (before the .NET-versions, that is). They were fast and predictable and that was all I wanted.. :) b39d488a54c0d039a8171ac1acbef9b7Thu, 09 Oct 2008 15:37:23 GMTanon - 2008-10-09 13:55:43http://www.mikeash.com/?page=pyblog/its-a-poor-carpenter-who-blames-his-tools-or-xcode-sucks-again.html#commentsOne word: Emacs.d05acb2b2db9c133dbd3907be38c7df7Thu, 09 Oct 2008 13:55:43 GMTChristopher Lloyd - 2008-10-09 12:45:49http://www.mikeash.com/?page=pyblog/its-a-poor-carpenter-who-blames-his-tools-or-xcode-sucks-again.html#commentsHold the sharp end away from your body and work with the grain. <br /> <br />673df3193eb3b7c1aad9b605698c56bcThu, 09 Oct 2008 12:45:49 GMTmikeash - 2008-10-09 12:22:03http://www.mikeash.com/?page=pyblog/its-a-poor-carpenter-who-blames-his-tools-or-xcode-sucks-again.html#comments<b>codist:</b> Doesn't look like I'm saying the same thing at all. You're basically saying that C++ and Xcode don't match up to Java and IntelliJ. I'm saying that <i>no</i> dev tools anywhere can match the high quality tools you find in other professions. <br /> <br /><b>anonymouse:</b> I don't think I believe the comparative complexity idea. Sure, a wrench compared to a compiler is a no-brainer. But how about a 747 compared to a compiler? I'd wager that the complexity and development effort that went into the 747 far outstrips the entire Xcode toolchain, and yet Boeing was able to create something that doesn't spontaneously fail all the time or lose basic, obvious functionality after new revisions. <br /> <br />Your argument seems to imply that software needs to consist more of components and less of integrated environments. I would tend to agree with that, but it seems pretty clear that this still doesn't get us anywhere close. <br /> <br />It's not like I'm going to stop working while I wait for these better tools. But I'm getting fed up with the current state of the art, and I'm going to express that.f95fc9efcafe6a0c2fe596fcf400e66cThu, 09 Oct 2008 12:22:03 GMTanonymouse - 2008-10-09 12:03:18http://www.mikeash.com/?page=pyblog/its-a-poor-carpenter-who-blames-his-tools-or-xcode-sucks-again.html#commentsPerhaps you would do a comparative complexity analysis between the computer software tools and the hardware tool. Actually, this shouldn't be required; as you should already know that the software is more complex. The hardware is designed for (usually) a single specified task, and they do it well. The hardware design is simple and solid. Software on the other hand is a whole different beast. Most software does not only do one thing, it does multiple related tasks. With hardware for example, if you want to pop-rivet something, you need to drill the whole with a drill, use a pop-rivet and a riveting tool to place the pop-rivet. <br /> <br />Software like GCC might not be the most elegant software, but it works quite well. And software and hardware alike, you have to make the best use of what you have available. You could spend forever wishing for better tools. <br /> <br />Like the saying goes, if wishes were wings. Pigs would fly.0409857d28504affc41bec5f64839982Thu, 09 Oct 2008 12:03:18 GMTcodist - 2008-10-09 11:39:58http://www.mikeash.com/?page=pyblog/its-a-poor-carpenter-who-blames-his-tools-or-xcode-sucks-again.html#commentsYup, I made such a post earlier this year as well. <a href="http://thecodist.com/article/ask-me-how-much-i-hate-xcode-and-c">http://thecodist.com/article/ask-me-how-much-i-hate-xcode-and-c</a>-- <br /> <br />Not looking forward to doing the iphone dev...e749991d1f8b8bdb59548aea08d526bbThu, 09 Oct 2008 11:39:58 GMTmikeash - 2008-10-09 07:34:40http://www.mikeash.com/?page=pyblog/its-a-poor-carpenter-who-blames-his-tools-or-xcode-sucks-again.html#commentsThe fact that Xcode is good compared to other tools just underlines my point. They <i>all</i> suck! <br /> <br />(I didn't know about all the flaws in CodeWarrior, but when I was using it I was much more of a hobbyist, not a serious user.) <br /> <br />One thing programmers always seem to love when they get together is to complain about development tools. <br /> <br />Now ask yourself, when was the last time you heard a bunch of mechanics complain about their tools? In my experience, it's entirely the opposite. They spend a whole bunch of money, and then gather around and spend all their time talking about how awesome their tools are. <br /> <br />I want to stop saying my tools are good compared to the alternative and start saying that they're just plain good. I doubt it'll happen any time soon though.5f909700ef5d262d2ac3d19f477b355fThu, 09 Oct 2008 07:34:40 GMTMatthew Schinckel - 2008-10-09 07:07:12http://www.mikeash.com/?page=pyblog/its-a-poor-carpenter-who-blames-his-tools-or-xcode-sucks-again.html#commentsI think Xcode is great, compared to some alternatives! <br /> <br />I have had to use NetBeans in the past, and that is a dodgy program. <br /> <br />(Having said that, I agree with the moral of this post, having come from a career that used power tools, and there's little out there that compares with a good DeWalt battery operated drill...especially not my $13 GMC cheapo!)0fe7667187797c7acc7973ca5e7e702cThu, 09 Oct 2008 07:07:12 GMTSteven Fisher - 2008-10-09 06:27:22http://www.mikeash.com/?page=pyblog/its-a-poor-carpenter-who-blames-his-tools-or-xcode-sucks-again.html#commentsNote: Above makes it sound like I hate CodeWarrior. Actually, I thought CodeWarrior was comparatively very good. And it looking so good compared to others despite its flaws made (and makes) me sad.4d0f392a16c938b109b274f278844d2eThu, 09 Oct 2008 06:27:22 GMTSteven Fisher - 2008-10-09 06:26:24http://www.mikeash.com/?page=pyblog/its-a-poor-carpenter-who-blames-his-tools-or-xcode-sucks-again.html#commentsAh. I remember CodeWarrior well. It was a gem only in the sense that it didn't <i>completely</i> suck. But viewed against any set of hard objectives you could come up with, it still sucked in many ways. <br /> <br />I don't think Metrowerks ever pulled off a major release that wasn't crippled in some horrible way, for instance, whether it was executables growing in size without bounds, buggy code generation, or IDE crashes.ec42e3dd2b82adb9da9da2d87bbbdfddThu, 09 Oct 2008 06:26:24 GMT