Page 6 of 12 FirstFirst ... 45678 ... LastLast
Results 51 to 60 of 118

Thread: Ubuntu's Unity Written In Qt/QML For "Unity Next"

  1. #51
    Join Date
    Jun 2011
    Posts
    348

    Default

    Quote Originally Posted by a user View Post
    well, they aren't so far away fropm truth as it seems at the first look. and i say that as someone quite oop affine.
    Actually they are.. very far from the truth..
    Quote Originally Posted by a user View Post
    how powerfull oop is and allows for simple and elegant constructions, it also allows for more bad designs if not used right than C ever allowed. though, it is something one may get only the chance to see this in larger projects.
    The ability to shoot yourself in the foot doesn't inherently make things bad, if that was the case we should never have developed vehicular transportation and should all be walking everywhere.

    Quote Originally Posted by a user View Post
    though, there are various attempts in cutting down a lot of that power to put the developer back in line... as far as i have seen with very very bad results. leads to such bad though designs like java, where features where cut off, claimed they are not needed and make things worse and then you start doing ugly things around just to compensate for that.
    That would be Java and their asinine concepts of how a language should be designed, nobody else significant not even python really ascribes to that ideology, and particularly not C++ and C#.

    Quote Originally Posted by a user View Post
    though, most common devs won't observe this. they actually indeed profit from this reduced modularity and features because they were never able to handle it. and this closes the circle to the thesis of that announcement
    Sure and we all benefit from walking everywhere, but it doesn't do what we need to get done.

    Quote Originally Posted by a user View Post
    edit: just a very small example about how oop can reduce modularity by its nature:
    while using C you have access to every method / module (what ever you define as a module) you can restricte in oop things very easy in such a way, that you totally lose all modularity. you declare fields and methods private or protected etc. thinking of controlling bad usage of your design, and end up often cutting down all roads of an efficient and effective way of modular extention or integration.

    what i mean is, that you have far more to plan into the "future" to not lock down future code development than in most other "styles" and it tends to overcomplicate things.
    I don't think you understand what the word Modular means, as having a bunch of little black boxes that interact with each other is the very epitome of being modular
    Last edited by Luke_Wolf; 03-04-2013 at 08:37 PM.

  2. #52
    Join Date
    Jun 2011
    Posts
    348

    Default

    in truth the whole issue with OOP can be that in order to do things right you have to make things into modules, which can turn something that would otherwise be relatively simple into something very very complex. This is not to say that there aren't benefits in the long term to doing so but it can increases code complexity and provide more opportunity for bugs because of the increased line count for trying to force it, and it of course costs more development time to bring up. Again I go back to the chatbot example I used earlier, using a non-OOP imperative approach to this makes writing it trivial, and in most cases relatively easy to follow, however... you get extensibility and modularity benefits in the long term from going the OOP route even though it makes designing and writing said bot a pain in the neck. Seriously just think about trying to design a OOP IRC bot and compare that to thinking about designing it in other imperative techniques... It's multiple orders more complex.

    Also some use cases don't really benefit from it, scripting for instance is naturally antagonistic to OOP due to the sheer simplicity that is required, and even if you did try to make OOP scripts there wouldn't really be much if any benefit to it.

  3. #53
    Join Date
    Feb 2012
    Posts
    91

    Default

    Quote Originally Posted by Luke_Wolf View Post
    in truth the whole issue with OOP can be that in order to do things right you have to make things into modules, which can turn something that would otherwise be relatively simple into something very very complex. This is not to say that there aren't benefits in the long term to doing so but it can increases code complexity and provide more opportunity for bugs because of the increased line count for trying to force it, and it of course costs more development time to bring up. Again I go back to the chatbot example I used earlier, using a non-OOP imperative approach to this makes writing it trivial, and in most cases relatively easy to follow, however... you get extensibility and modularity benefits in the long term from going the OOP route even though it makes designing and writing said bot a pain in the neck. Seriously just think about trying to design a OOP IRC bot and compare that to thinking about designing it in other imperative techniques... It's multiple orders more complex.

    Also some use cases don't really benefit from it, scripting for instance is naturally antagonistic to OOP due to the sheer simplicity that is required, and even if you did try to make OOP scripts there wouldn't really be much if any benefit to it.
    The way I see it, it is not so much about OOP being 'bad'; instead, the problem is thinking that OOP SHOULD be at the core of programming, that is, to think that OOP is fundamental to programming. I know all this is more an academic exercise than anything else, but nevertheless it is worth discussing; just because the industry does it like it does doesn't necessarily imply it is the natural, or best, way of doing things.
    For example: Why isn't mathematics central to programming (in practice)? It is like you get all this 'empirical facts' and try to organize them in something called 'software engineering', which by the way it sometimes seems to be everything but ENGINEERING.

    I'd like to quote mathematician and programmer Alexander Stepanov:

    "I think that object orientedness is almost as much of a hoax as Artificial Intelligence. I have yet to see an interesting piece of code that comes from these OO people. In a sense, I am unfair to AI: I learned a lot of stuff from the MIT AI Lab crowd, they have done some really fundamental work: Bill Gosper's Hakmem is one of the best things for a programmer to read. AI might not have had a serious foundation, but it produced Gosper and Stallman (Emacs), Moses (Macsyma) and Sussman (Scheme, together with Guy Steele). I find OOP technically unsound. It attempts to decompose the world in terms of interfaces that vary on a single type. To deal with the real problems you need multisorted algebras - families of interfaces that span multiple types. I find OOP philosophically unsound. It claims that everything is an object. Even if it is true it is not very interesting - saying that everything is an object is saying nothing at all. I find OOP methodologically wrong. It starts with classes. It is as if mathematicians would start with axioms. You do not start with axioms - you start with proofs. Only when you have found a bunch of related proofs, can you come up with axioms. You end with axioms. The same thing is true in programming: you have to start with interesting algorithms. Only when you understand them well, can you come up with an interface that will let them work."

    I'd like to seriously question the foundational character that OOP have been receiving for some time now; personally I'd take any time an "algebra for programming" over OOP, but yet again, it might be practically untainable.

    What you guys think?

  4. #54
    Join Date
    Jun 2011
    Posts
    348

    Default

    Quote Originally Posted by Sergio View Post
    The way I see it, it is not so much about OOP being 'bad'; instead, the problem is thinking that OOP SHOULD be at the core of programming, that is, to think that OOP is fundamental to programming. I know all this is more an academic exercise than anything else, but nevertheless it is worth discussing; just because the industry does it like it does doesn't necessarily imply it is the natural, or best, way of doing things.
    For example: Why isn't mathematics central to programming (in practice)? It is like you get all this 'empirical facts' and try to organize them in something called 'software engineering', which by the way it sometimes seems to be everything but ENGINEERING.

    I'd like to quote mathematician and programmer Alexander Stepanov:

    "I think that object orientedness is almost as much of a hoax as Artificial Intelligence. I have yet to see an interesting piece of code that comes from these OO people. In a sense, I am unfair to AI: I learned a lot of stuff from the MIT AI Lab crowd, they have done some really fundamental work: Bill Gosper's Hakmem is one of the best things for a programmer to read. AI might not have had a serious foundation, but it produced Gosper and Stallman (Emacs), Moses (Macsyma) and Sussman (Scheme, together with Guy Steele). I find OOP technically unsound. It attempts to decompose the world in terms of interfaces that vary on a single type. To deal with the real problems you need multisorted algebras - families of interfaces that span multiple types. I find OOP philosophically unsound. It claims that everything is an object. Even if it is true it is not very interesting - saying that everything is an object is saying nothing at all. I find OOP methodologically wrong. It starts with classes. It is as if mathematicians would start with axioms. You do not start with axioms - you start with proofs. Only when you have found a bunch of related proofs, can you come up with axioms. You end with axioms. The same thing is true in programming: you have to start with interesting algorithms. Only when you understand them well, can you come up with an interface that will let them work."

    I'd like to seriously question the foundational character that OOP have been receiving for some time now; personally I'd take any time an "algebra for programming" over OOP, but yet again, it might be practically untainable.

    What you guys think?
    Well, see I disagree with that assessment because as much as programming has to do with math, programming isn't math. Programming is in truth about language and expressing and executing ideas. This is again not to say that it doesn't sometimes require a serious amount of math, but it in and of itself is not. At it's fundamental level you're giving directives to the computer in order to make it do something. This requires a means of doing so that is easy for people writing code to understand and that is easy for the computer to translate into something it can understand.

    I would personally argue that OOP is for the most part the natural in terms of how this intermediate language shakes out, because here's the thing let's take an example sentence:
    Sally went to the store and picked up a bunch of bright red apples
    fundamentally this breaks down into two noun verb noun s where an object is acting upon another object in short
    Sally goto store. Sally pickup apples
    and of course these apple objects have the property of being bright red, even Databases are actually taught in an object oriented fashion... guess what normalization is? It's actually the process of breaking down tables of data into objects. In fact all of our data languages such as XML are object oriented, because you've got say a paragraph object with properties such as font being a certain type and size, as well as color, and data languages really can't not be object oriented.

    Now implementation wise sometimes it's not the best thing to go with, however from a conceptual standpoint OOP is the "best" approach, because it most closely matches how our non-programming languages such as english are designed.

    EDIT: Math is actually arguably another language with a different though similar target as programming languages. In short expressing calculations, as opposed to being designed to express ideas to a computer. Which then Math can be used as another language underneath a programming language since little further translation is needed for a computer to understand it
    Last edited by Luke_Wolf; 03-04-2013 at 10:31 PM.

  5. #55
    Join Date
    Oct 2012
    Posts
    15

    Default

    Quote Originally Posted by johnc View Post
    My experience is that people don't think software developers should make any more than what one would make shoveling fries at BK.

    And I'm only being half-facetious.
    Heh, at least where I am from (North East/Boston/NYC), a good developer easy runs 100k+. Entry level is around 60-70k.

  6. #56
    Join Date
    Oct 2012
    Posts
    116

    Default

    Quote Originally Posted by Luke_Wolf View Post
    I don't think you understand what the word Modular means, as having a bunch of little black boxes that interact with each other is the very epitome of being modular
    you either didn't understood what i was saying or i expressed myself wrong.

    i know very well what modular means. might i suggest rereading my post?

  7. #57
    Join Date
    Dec 2011
    Posts
    1,321

    Default Does Unity Next depend on Mir?

    Will Unity Next depend on Mir?
    Or will you be able to use Unity Next on Wayland and X11 too?

  8. #58
    Join Date
    Jun 2012
    Posts
    513

    Default

    Fuck Carnegie Mellon. All these academics who couldn't write code for shit. Seriously if they are any good why don't they build a company and make some serious money if they are so hotshot programmers. But wait. No. They are computer science. Not engineers. Bunch of fucking losers wannabes. They say OOP is bad cause they know all the money is in OOP. Everybody writes OOP these days so they have to be different to feel superior. OOP is anti modular? Who the fuck are these people? How do they even have the right to teach others programming?

  9. #59
    Join Date
    Sep 2008
    Location
    Vilnius, Lithuania
    Posts
    1,063

    Default

    Quote Originally Posted by uid313 View Post
    Will Unity Next depend on Mir?
    Or will you be able to use Unity Next on Wayland and X11 too?
    I don't think Mir is in a position where anything could depend on it at the moment. And when it is, I don't think they would leave users without an X11 version for some time. Unless they are even crazier than I thought.

  10. #60
    Join Date
    Dec 2011
    Posts
    1,321

    Default

    Quote Originally Posted by GreatEmerald View Post
    I don't think Mir is in a position where anything could depend on it at the moment. And when it is, I don't think they would leave users without an X11 version for some time. Unless they are even crazier than I thought.
    Well, Unity is a Ubuntu thing, and Mir is a Ubuntu thing.
    So Ubuntu could easily make Unity depend on Mir and not care.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •