Thread: Aspect Oriented Programming

  1. #1
    Ugly C Lover audinue's Avatar
    Join Date
    Jun 2008
    Location
    Indonesia
    Posts
    489

    Question Aspect Oriented Programming

    Do you know Aspect Oriented Programming?

    Is it good or bad do you think?
    Just GET it OFF out my mind!!

  2. #2
    Lurking whiteflags's Avatar
    Join Date
    Apr 2006
    Location
    United States
    Posts
    9,612
    News to me. But what prompted such a question? Is any programming paradigm bad based on anything but preferences? I don't think so.

  3. #3
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    I'd never heard of it before, but WikiPedia gave me some idea what it is about. It sounds like an interesting concept. Will it take over the world? Probably not in the next couple of years, I'd hazard a guess....

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  4. #4
    Ugly C Lover audinue's Avatar
    Join Date
    Jun 2008
    Location
    Indonesia
    Posts
    489
    Phew...
    Just GET it OFF out my mind!!

  5. #5
    and the Hat of Clumsiness GanglyLamb's Avatar
    Join Date
    Oct 2002
    Location
    between photons and phonons
    Posts
    1,110
    Its more an addition to your toolbox rather then a single way of programming.
    I've experimented a bit with it a couple months ago and found it usefull to do logging for example. Instead of having to rewrite all my server side (i was using java rmi) methods in order to log everything that was happening I could just insert bits of code by using the aspect oriented approach.
    The only drawback is that if you overdo the amount of aspect oriented programming it just gets alot more difficult to debug... But for tasks such as logging or even authentication perhaps it can be very usefull.
    Last edited by GanglyLamb; 05-23-2009 at 07:19 AM. Reason: 10 more posts and i reach the epic number 1111

  6. #6
    Ugly C Lover audinue's Avatar
    Join Date
    Jun 2008
    Location
    Indonesia
    Posts
    489
    Another miss understanding due to practical tools...
    Just GET it OFF out my mind!!

  7. #7
    Ethernal Noob
    Join Date
    Nov 2001
    Posts
    1,901
    I haven't seen the implementation without the use of actual compile time tools for C# and java. I am aware that there is a school of thought that programs in this way but from whatI saw of it it seems like a crutch to avoid refactoring legacy code or making it so you can create aspects without the use of tools.

    Also in the TDD environment it's almost impossible to unit test.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. object oriented programming
    By l2u in forum C++ Programming
    Replies: 10
    Last Post: 11-06-2006, 10:18 AM
  2. 2:1 Aspect Ratio
    By Wraithan in forum Game Programming
    Replies: 6
    Last Post: 02-09-2006, 02:17 AM
  3. object oriented C
    By FlatLost in forum C Programming
    Replies: 4
    Last Post: 11-08-2005, 06:22 AM
  4. [Code] Oriented Graph
    By ilmarculin in forum C Programming
    Replies: 0
    Last Post: 04-08-2005, 02:09 AM