View Code? Open in Web Editor
NEW
This project forked from ersggb/csharpvsruby
A full comparison of the OO properites of C# and Ruby.
csharpvsruby's Introduction
C#
VS. Ruby ![](https://github.com/JChauncyChandler/CSharpvsRuby/raw/master/Assets/raw/master/Ruby_Logo.png)
C# origin story
- Why was the language created?
- What problems was the language trying to address?
- Is the language a reaction to a previous language or a replacement for another language?
Ruby origin story
- Why was the language created?
- What problems was the language trying to address?
- Is the language a reaction to a previous language or a replacement for another language?
C# unique features
Ruby unique features
- Name spaces
- How are name spaces implemented?
- How are name spaces used?
- Types
- What types does the language support?
- Are both reference and value types supported?
- Can new value types be created?
- Classes
- Defining
- Creating new instances
- Constructing/initializing
- Destructing/de-initializing
- Instance reference name in data type (class)
- Properties
- Getters and setters...write your own or built in?
- Backing variables?
- Computed properties?
- Interfaces / protocols
- What does the language support?
- What abilities does it have?
- How is it used?
- Inheritance / extension
- Reflection
- What reflection abilities are supported?
- How is reflection used?
- Memory management
- How is it handled?
- How does it work?
- Garbage collection?
- Automatic reference counting?
- Comparisons of references and values
- How are values compared? (i.e. comparing two strings)
- Null/nil references
- Which does the language use? (null/nil/etc)
- Does the language have features for handling null/nil references?
- Errors and exception handling
- Lambda expressions, closures, or functions as types
- Implementation of listeners and event handlers
- Singleton
- How is a singleton implemented?
- Can it be made thread-safe?
- Can the singleton instance be lazily instantiated?
- Procedural programming
- Does the language support procedural programming?
- Functional programming
- Does the language support functional programming?
- Multithreading
- Threads or thread-like abilities
- How is multitasking accomplished?
csharpvsruby's People
Contributors
Watchers