4 ms·
I'm in language overload at this point. Much more than another language I'd like to see some creative new architectural approaches to problems that are thorny o
by cageface 16y ago
I'm in language overload at this point. Much more than another language I'd like to see some creative new architectural approaches to problems that are thorny or tedious to solve right now.
I mean, if something as simple as applying MVC principles to web development can create a revolution there have to be a lot of other unplucked ideas out there. Software engineering feels a lot like architecture would if people spent 95% of their time talking about materials.
- nddrylliog 16y agoA good language that is pleasant to write leads to more experimentation with approaches to a problem - which wouldn't get tried out otherwise because it would be too tedious/performance-intensive with other languages/implementations. I have basically built ooc to make programming a lot less annoying for me (and others) to try new things with. The work is really starting to pay off and I thought I'd share it! It's not like anybody forces you to try it ;)
- cageface 16y agoA new language means I have to start from scratch with all the boring crap that you have to write to make a language usable. Database drivers, http libraries, mail tools, command-line parsing utils, xml & json serialization, test tools etc etc. There's nothing more annoying IMO than reinventing all those wheels one more time. I'm willing to play with the new JVM languages because I can get all that stuff for free but the advantages of one more sui generis language are going to have to be HUGE for me to even consider retooling all that junk.
- nddrylliog 16y agoThankfully there's a community (and a bindings generator) for that. Chances are the libs you want to use are already in: http://github.com/search?langOverride=&language=&q=ooc-&repo=&start_value=1&type=Repositories&x=23&y=18 http://github.com/search?langOverride=&language=&q=o... Yes, that's one more advantage of producing C code - integration is seamless. No need to reinvent all the wheels, rewrite what you feel like, re-use the rest.
- cageface 16y agoThat sounds like a very leaky abstraction.
- nddrylliog 16y agoHuh? Can you develop your point?
- cageface 16y agoIt's one thing to make calling into C easy, but how well do C types fit in with the rest of the system? What about error handling? Memory management? String encoding conventions etc etc? This stuff is all gross in C and inconsistent. I don't see how you're going to paper over all that and make the C libs feel like native, first-class citizens of your world. Just binding to libexpat doesn't mean you have good xml support, for example.
- nddrylliog 16y agoThose are all valid questions that show you haven't researched the least bit into what ooc does and how it works, otherwise you'd have some clue as to how it does solve these problems. (And please, no "But I don't have the time, you have to chew everything for me"-answer. I'm in overload of this kind of answer too.)
- cageface 16y agoLearning another new language is not on my list of things to do right now. If I hear that somebody has actually built something interesting in it I'll take a look but I'm much more interested at the moment in studying the basics of machine learning, figuring out how to build rich user interfaces in pure HTML5, and helping the rails team shorten its bug queue.
- stcredzero 16y agoWhat would a car metaphor be like? Would it be like we're all driving early racing cars? Not everybody even has a seat, and some people are still sitting astride cars like on a saddle? (Yes, some early racing cars are driven like this.) Some people are still arguing the merits of a two-lever yoke over the wheel. Others are arguing about 3 versus 4 wheels. There are people who advocate steam engines. The thing is, the development of the car got to focus on and nail the use case and user experience before it was able to really take off. Do we really think of end-to-end user experience of programmers? Smalltalk had some human factors thinking put into it, but I'm not sure this happens for new languages with enough applied human factors knowledge and expertise. (And the attention to that sort of detail didn't go quite far enough for Smalltalk either.) Most programmers are the last people to do that sort of designing. In particular, I think most programmers are too familiar with programming. It's like someone asked a driver of one of those saddle-seated early racing cars to design a minivan.
- cageface 16y agoI think if you want to make a car analogy then languages are more fundamental, like roads. And if languages are like roads then we haven't gotten to the point of really exploring the design space of cars because we're too busy deciding how many lanes roads should have, which side of the road we should drive on, what kind of paving material we should use, and how traffic signs should be posted. To be competitive in the current web job market, I have to have at least three fundamentally very similar languages under my belt: javascript, and at least two of perl, php, python and ruby. In truth any one of these could easily do the job of the others. Lately I find this irksome. Diversity is only a virtue up to a certain point.
- shasta 16y agoLanguages and abstractions aren't really that different. Every time you define a new function, you're in some sense extending the language. In languages with powerful macro systems, this "language extension" is even more potent. I agree with you that good abstractions (architectures are just large-scale abstractions) are needed, but that doesn't mean the new abstractions won't come in the form of a new language. In some sense, they always will. In the sense you mean, some abstractions fit better into existing languages than others.