Thread: Request for assistance in Choice of Programming languages to study.

  1. #1
    Registered User
    Join Date
    Nov 2011
    Location
    Buea, Cameroon
    Posts
    197

    Request for assistance in Choice of Programming languages to study.

    Good day,
    I am a newbie c programmer in Cameroon and i am interested in building a social network and taking into account scalability problems in the long run , which compiled language do you i should master to achieve this goal and what scripting language do you think would go in hand with the compiled language to solve this problem. Thanks for the reply

    Nyah Check

  2. #2
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    I think C#, ASP.NET, HTML, Typescript (Microsoft's type-safe Javascript) and SQL would be good candidates.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  3. #3
    Lurking whiteflags's Avatar
    Join Date
    Apr 2006
    Location
    United States
    Posts
    9,613
    Quote Originally Posted by Elysia View Post
    Typescript (Microsoft's type-safe Javascript)
    Type strict JavaScript is an idea I'm skeptical of: why would that language need such a drastic change when it is obviously designed around dynamic typing?

  4. #4
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    I, for one, am pretty disgusted with how stupid Javascript is. You can do all sorts of nonsense which you will only catch at runtime.
    If Typescript eliminates this problem even a little bit and compiles to Javascript, as well as allowing you to interop with Javascript code, then I say, why not? Javascript just isn't suited for today's big sites.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  5. #5
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446
    PHP/MySQL/HTML+CSS still work wonders and won't force you to spend a few thousand dollars on licenses.
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  6. #6
    Lurking whiteflags's Avatar
    Join Date
    Apr 2006
    Location
    United States
    Posts
    9,613
    I wouldn't know if it actually is better. My worst enemy is actually remembering all the properties of things, and DOM was a pretty ........ model before getElementById was made. I'd say most of my real errors were not exactly things type strictness fixed.

    It might be easier to just assume you don't know how to use JavaScript. You can do stupid things in a type strict language too, so I don't understand that argument. Consider the safe bool idiom and how unnecessary it should be. There are things a knowledgeable person just wouldn't do. That goes for all languages.

  7. #7
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Quote Originally Posted by Mario F. View Post
    PHP/MySQL/HTML+CSS still work wonders and won't force you to spend a few thousand dollars on licenses.
    There is nothing stopping one from using Visual Studio Express for Web apps, no?
    I think I'll just point out that C#/ASP.NET is type safe and it is much to do the memory management in C#, as compared to PHP.
    But of course, I forgot CSS. Necessary for any web programmer.

    Quote Originally Posted by whiteflags View Post
    I wouldn't know if it actually is better. My worst enemy is actually remembering all the properties of things, and DOM was a pretty ........ model before getElementById was made. I'd say most of my real errors were not exactly things type strictness fixed.

    It might be easier to just assume you don't know how to use JavaScript. You can do stupid things in a type strict language too, so I don't understand that argument. Consider the safe bool idiom and how unnecessary it should be. There are things a knowledgeable person just wouldn't do. That goes for all languages.
    I made a Quiz some time back completely in HTML+CSS+Javascript. To put it simply, it was a huge pain in the ass because Javascript isn't typesafe.
    Nor does it really support classes or any other objects. You have to do so indirectly, and it's pretty annoying and still doesn't work very well.
    So you want to essentially create an array of certain objects? I mean, why wouldn't you? It's basics of basics in Object oriented languages.
    Yeah, turns out there is no feature to check that you actually "filled out" all properties of an object. Oh, and you know when you misspell something? Javascript just creates a new member. And if you forgot something? Javascript doesn't complain again.
    Doing accessor functions was also a pain.

    Anyway, it turned out I had to manually create a bunch of long code to check that I didn't do any mistakes in the code creating these objects which were meant to be the source of questions for the quiz! Thank you, Javascript!
    So anyway, Typescript is supposed to be a solution for this. It supports classes natively, it's type safe and strict, and it compiles to Javascript.
    And with type strictness also comes Intellisense support.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  8. #8
    Lurking whiteflags's Avatar
    Join Date
    Apr 2006
    Location
    United States
    Posts
    9,613
    I dunno. If you want, we can talk about the quiz you made in PMs. Chances are you made some poor design decisions because you basically use strict type languages all the time. That doesn't mean every languages need to be type strict.

  9. #9
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446
    Quote Originally Posted by Elysia View Post
    There is nothing stopping one from using Visual Studio Express for Web apps, no?
    Yes, plenty. When their requirements are to build a scalable solution.
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  10. #10
    Master Apprentice phantomotap's Avatar
    Join Date
    Jan 2008
    Posts
    5,108
    To put it simply, it was a huge pain in the ass because Javascript isn't typesafe.
    O_o

    If you are doing web development and that is the thing you complain about, you haven't done enough web development.

    The things wrong with HTML+CSS+Javascript could fill an entire series of books.

    Soma

  11. #11
    Registered User
    Join Date
    Nov 2011
    Location
    Buea, Cameroon
    Posts
    197
    hey guys i was thinking of mastering c++ and a scripting language like python to build social network which may be as big as facebook so i don't know if i am making the right choice....or should i go for java and php or what???

  12. #12
    [](){}(); manasij7479's Avatar
    Join Date
    Feb 2011
    Location
    *nullptr
    Posts
    2,657
    Quote Originally Posted by Nyah Check View Post
    build social network which may be as big as facebook
    I guess MMORPGs are out of fashion lately !

  13. #13
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Quote Originally Posted by phantomotap View Post
    O_o

    If you are doing web development and that is the thing you complain about, you haven't done enough web development.

    The things wrong with HTML+CSS+Javascript could fill an entire series of books.

    Soma
    Can't say I have done large scale we development, no. But this probably just goes to show that if things are this bad on this small scale, then I cannot imagine how horrible it will be at bigger levels...

    Quote Originally Posted by Nyah Check View Post
    hey guys i was thinking of mastering c++ and a scripting language like python to build social network which may be as big as facebook so i don't know if i am making the right choice....or should i go for java and php or what???
    C++ and Python are not web technologies. Sure, could can make a server and a client with C++/Python, but most people these days expect it to be web based so it can be accessed everywhere, anytime. Also, if you use C++/Python, then you are going to have a hard time getting your social network to work on mobile devices.
    Best bet is to use server side technologies to make the server and the web browser for the client side (which means HTML/CSS/[Javascript/Typescript]).
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  14. #14
    Lurking whiteflags's Avatar
    Join Date
    Apr 2006
    Location
    United States
    Posts
    9,613
    Quote Originally Posted by Elysia View Post
    C++ and Python are not web technologies. Sure, could can make a server and a client with C++/Python, but most people these days expect it to be web based so it can be accessed everywhere, anytime. Also, if you use C++/Python, then you are going to have a hard time getting your social network to work on mobile devices.
    Best bet is to use server side technologies to make the server and the web browser for the client side (which means HTML/CSS/[Javascript/Typescript]).
    C++ and Python are web technologies in the sense that you can use them for server-side code.

  15. #15
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    I suppose you could, but it will be far easier with technologies dedicated to that purpose.
    Don't use a hammer to screw a screw.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 4
    Last Post: 10-08-2011, 04:17 PM
  2. Not new to programming but need a little assistance
    By sellinhard99 in forum C++ Programming
    Replies: 7
    Last Post: 11-02-2010, 11:27 PM
  3. [Request for study Material]
    By year2038bug in forum C Programming
    Replies: 2
    Last Post: 08-29-2005, 01:19 AM
  4. Total newb to programming here... Question about the many programming languages. Ty!
    By tsubotakid1 in forum A Brief History of Cprogramming.com
    Replies: 11
    Last Post: 10-05-2003, 10:32 AM