Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6889993
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T06:13:33+00:00 2026-05-27T06:13:33+00:00

When I was learning C++ may years before, I had a few ideas like:

  • 0

When I was learning C++ may years before, I had a few ideas like: “Why not to add some useful lexical structures in language by writing a unified program with unified syntax that would get a pre-source-code through few translation-modules (written in smt. portable like perl)” and pass final file to the compiler.”

And the only thought that come to my mind now are:

  1. If you don’t know how to write it in plain C++ – think one more time
  2. It may be (in some bad implementations) not type-safe
  3. Other programmer may not understand your code if you use some of those “syntax-modules”

But:

  1. I do not say that it can’t be written in C++ – I just say that it must look not perfect in it. I say that there’d be nothing wrong if C++ would somehow look like, Ruby< for example.
  2. If implementation is fine – no problem.
  3. If smb. uses library you never heard about it doesn’t take you too much time to understand how it works in general – the same thing with syntax.

And, actually, now I have nothing against C++ (excepting awful error-messaging in some situations). And idea I have now is –

to write a translator from something close to such a wonderful language as Ruby* into something such powerful as Erlang.

Of course, I wont cover all their features, but for a narrow range of tasks (like – directly for web-development) that may be fine, isn’t it?

* I was skeptical of Ruby and RoR too until I tried it. And I should say – I was surprised, but pleased.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T06:13:34+00:00Added an answer on May 27, 2026 at 6:13 am

    If the only difference you see between languages like C++, Ruby and Erlang is the syntax, I would respectfully suggest that you haven’t thought the problem through. Syntax matters to some degree, but the bigger issue is semantics. All three of these languages have fairly different semantics, so translating well-written, intelligent code in one language into equally intelligent code in another is not a trivial task.

    By the way, there was already a Ruby-like programming language for Erlang, called Reia. The differences between the languages are already apparent when you look at Reia code (for starters, Erlang is immutable and Ruby is ridiculously mutable, and there’s a big difference between Erlang’s module/actor/data structure and Ruby’s object structure). AFAIK, the project has since been abandoned.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

So this may seem like a general question..but for learning a programming language quickly
Learning a lot in my few years of programming that the best projects are
I am learning it may be something like this: public string ModifiedBy { get
I am re-learning Java after having an affair with PHP for some years, and
I'm learning Qt independently, and this may seem like an easy question (because it
This may seem like a really off-the-wall question, but I've been learning how Backbone.js
I am learning F#. I got the latest May 2009 CTP. Sometimes when compiling
Well, I'm learning Scala so this question may be too basic for most people.
Learning Scala currently and needed to invert a Map to do some inverted value->key
Most software-development buzzwords of the past few years, have been at times labeled either

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.