• Breaking News

    Saturday, February 15, 2020

    How closely related are concepts in Operating Systems Theory and Programming Language Theory? Computer Science

    How closely related are concepts in Operating Systems Theory and Programming Language Theory? Computer Science


    How closely related are concepts in Operating Systems Theory and Programming Language Theory?

    Posted: 14 Feb 2020 03:22 PM PST

    How closely related are concepts in Operating Systems Theory and Programming Language Theory?

    submitted by /u/newmanstartover
    [link] [comments]

    What are some less popular fields of research in CS that you think more people should know about?

    Posted: 14 Feb 2020 08:38 PM PST

    As an undergraduate, the topics of research I always hear about are AI/ML and Security. What are some other topics in the field of Computer Science that you think people should hear about?

    submitted by /u/HumanGarbage2
    [link] [comments]

    ELI5: Decorator design pattern vs inheritance

    Posted: 14 Feb 2020 05:24 PM PST

    I was reading about the Decorator design pattern.

    From reading about the design pattern, what it does is it allows you to extend the behavior of an object/class by placing the object/class in a wrapper like

    public abstract class A{ public abstract void doStuff(); } public ADecorator extends A { protected A aInstance; public class ADecorator(A aInstance){ this.aInstance = aInstance; } public void doStuff(){ //Custom do stuff behavior aInstance.doStuff(); } } 

    By doing this, you can dynamically add behavior to the wrapped object and still delegate work to the wrapped object .

    It sounded a lot like inheritance.

    Can someone give an ELI5 explanation of when should you use this design pattern vs when should you use inheritance?

    You could accomplish by just having a class extend A and just putting the custom behavior you want in the doStuff of the class that extends A

    submitted by /u/Truetree9999
    [link] [comments]

    Guys, I'm a first year student studying CS. Can someone give me the order of the subjects that come under the core of this subject?

    Posted: 14 Feb 2020 04:10 PM PST

    Miniaturization will lead to ‘smart spaces’ and blur the line between on and offline

    Posted: 14 Feb 2020 06:30 AM PST

    No comments:

    Post a Comment