+ 5

Whic language is best begginers friendly? Java, C++, C or Python and which is more powerful for database?

25th Apr 2019, 10:20 AM
Isaiah Ernest
Isaiah Ernest - avatar
22 Réponses
+ 11
In my personal opinion C language is the best for beginner. In whole world, everybody say that C mother of programming language.
25th Apr 2019, 4:28 PM
Nasir❤
Nasir❤ - avatar
+ 8
Python is a less verbose language meaning it is easy to comprehend and initially, feels just like gibberish English. Python is also very versatile and can help in many functions including, you guessed it, database management.
25th Apr 2019, 10:33 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 8
In my case, after playing with Python for a while, it started to be *more* confusing than less. Python starts easy, but there are trapfalls that you encounter after a while - namely reference issues. A lot of Python's challenge riddles go somewhat like this: 'If we have that list, and then we assign it to another name, and then we append stuff, what *exactly* happens? Python tries to hide it all away for your convenience. But sometimes you would rather *know* what the guys in the basement are actually doing. That's when I got interested in C(++) - yeah, it is harder and confusing - and good luck finding your bugs with the weak types. But: It is explicit. You always know if a value can be changed, because if not, you will have written a const in front of it. Also you know if in a function you work with the actual value or a representation - because either you copied it (default) or you *explicitly* wrote that you want access to the value by passing an address to a pointer.
25th Apr 2019, 4:00 PM
HonFu
HonFu - avatar
+ 7
To the people suggesting C: C may be best to start with *long term* because IF you learn to handle it, you'll have a very good foundation for everything else. I wouldn't say this equals to 'beginner friendly' though.
25th Apr 2019, 1:23 PM
HonFu
HonFu - avatar
+ 6
I think out of the ones you mentioned, Python is the most beginner friendly and Java is best for database connectivity but it may be that Python is great with databases and I just don't know it.
25th Apr 2019, 1:41 PM
Sonic
Sonic - avatar
+ 5
Python. It resembles pseudocode so much that people who've had no programming language experience can read Python code and at least assume what it's supposed to do. It's compact, beautiful, useful👍👍👍☺
26th Apr 2019, 9:10 AM
Dilosha [Inactive]
Dilosha [Inactive] - avatar
+ 3
Python gives you an easier start.
25th Apr 2019, 10:36 AM
HonFu
HonFu - avatar
+ 3
So if we reinterpret 'beginner friendly' as giving the beginner some serious tough love... I agree with C. ;-)
25th Apr 2019, 4:31 PM
HonFu
HonFu - avatar
+ 3
Nice plea for Java. :-) Personally I would choose C++ for that purpose because all the stuff with the classes even for short codes can be incomprehensible for beginners - at least it was for me. C++ can just as well be used in a rather save way, relying on the types like vector, string, array, unique_ptr and the like, never encountering the dangers of raw pointers and arrays.
25th Apr 2019, 4:57 PM
HonFu
HonFu - avatar
+ 2
Python is very beginner friendly and good for little projects but C# is very powerful and not easy
25th Apr 2019, 10:23 AM
Sai
Sai - avatar
+ 2
✔✔I suggest C, beacause learning C can help you to learn C++ , C# another languages. So i recommend C language. You can learn basics from C language.
25th Apr 2019, 1:21 PM
Nithya Yamasinghe
Nithya Yamasinghe - avatar
+ 2
Definitely preference, of course! Maybe for some people this whole class thing makes sense from the start. I was happy in Python just having to write print("Hello World") and getting exactly that. I know about the safety controversy, although I am too weak at the C's to really judge it. Several issues you can have just as well in Java, though, right? The beginner can and will use the primitive types, so for example they'll have to struggle with overflow. And aren't there raw arrays as well? That's what I find utterly beginner friendly about Python: You basically can not get an int to overflow. If you divide 5 by 2, it will be 2.5, as it was in our whole school life. You can never shoot past an array of any sort because the language simply doesn't allow it. But it may give you training wheel neurosis. At least after a while it probably makes sense to tackle the messier languages.
25th Apr 2019, 5:29 PM
HonFu
HonFu - avatar
+ 1
There are levels at programming languages the lower it gets harder it is but stronger and faster. In that case I suggest you use higher level programming languages like java or csharp rather then c++. If you want to have a career and also enjoy what you are doing best is csharp or java. Also another best thing about these languages they are very familiar with lower and higher languages like learning csharp also help you to understand java or vise versa. If you learn java or c# you may also understand JavaScript. I am not saying python is bad or useless but python should be your next step
25th Apr 2019, 11:41 AM
Melih Melik Sonmez
Melih Melik Sonmez - avatar
+ 1
Higher and dynamically typed languages are easier to start with. But once you get used to them the transition to lower level and stronger typed ones could be rather rough. The answer to the first half of your question - Python.
25th Apr 2019, 3:50 PM
{ 𝄋 ℒ 𝄋 }
{ 𝄋 ℒ 𝄋 } - avatar
+ 1
HonFu that's why learning C can help you to get better with other languages as well (in my opinion). Basically almost everything there is your responsibility as a programmer - syntax, error prevention and handling, memory management, safety (this one is trickier). I think if you start learning programming with C/C++ it will certainly give you an edge in the long run no matter what your language of choice is going to be afterwards. Well, that's to say if you won't start to hate programming as a whole while trying to learn it.
25th Apr 2019, 4:18 PM
{ 𝄋 ℒ 𝄋 }
{ 𝄋 ℒ 𝄋 } - avatar
+ 1
No one mentioned it, but Java may be a good middle ground. It's safe and robust (it won't let you screw up too bad), not the easiest, but isn't hard either. Syntax is very similar to C (but it's strongly typed). It will still yell at you if you miss a semicolon, no worries. Tough love + cookies.
25th Apr 2019, 4:46 PM
{ 𝄋 ℒ 𝄋 }
{ 𝄋 ℒ 𝄋 } - avatar
+ 1
HonFu it's a personal preference thing, your first argument, isn't it? As to C++ safety it is a bit controversial, as for example this article (and the comments esp.) shows. https://slashdot.org/story/354874
25th Apr 2019, 5:18 PM
{ 𝄋 ℒ 𝄋 }
{ 𝄋 ℒ 𝄋 } - avatar
+ 1
HonFu Java as far as I know is memory-safe. This means that an invalid access to memory can't be made. In case of an array the program will be terminated with an exception (ArrayIndexOutOfBoundsException). I believe there are libraries for java that can help prevent overflows/underflows as well (by throwing an exception). I'm not trying to convince anyone or to say that one language is better than the other. It would not have any sense. The fact that Python is the beginner friendliest language from the list is undeniable.
25th Apr 2019, 5:57 PM
{ 𝄋 ℒ 𝄋 }
{ 𝄋 ℒ 𝄋 } - avatar
+ 1
I listen to a podcast where they have many guests on and one of the questions that they usually ask them is, "What programming language should be taught first in a Computer Science course?" and nearly all of them say "Python".
25th Apr 2019, 7:19 PM
Decimis † 𝕯𝖊𝖈𝖎𝖒𝖎𝖘
Decimis † 𝕯𝖊𝖈𝖎𝖒𝖎𝖘 - avatar
25th Apr 2019, 9:39 PM
Abdol Hashimi
Abdol Hashimi - avatar