Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,157,326 members, 7,833,290 topics. Date: Sunday, 19 May 2024 at 06:24 PM

For Those That Want To Learn C Or C++. - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / For Those That Want To Learn C Or C++. (510 Views)

Resources To Learn C# / Learn C Programming Language In Details / You Would Better Start Programming With Java Or C# (2) (3) (4)

(1) (Reply) (Go Down)

For Those That Want To Learn C Or C++. by chukwuebuka65(m): 11:32am On Feb 21, 2023
I have seen people that are learning c++ ,but at a point , they start asking questions like how do i build something with it? We know that being able to build something while learning a language is good motivation. But unlike javascript, where you must have learnt html and css which you can see , learning javascript won’t be demotivating, at least, you see what you are building. But that is not the case with c++, there is no html or DOM for you to manipulate.

So how do u stay motivated when learning c++ by building apps? That’s where API’s come in. Most beginners don’t really understand what api’s are. And it’s really not their fault because when you google api, you will mostly get results for restful api’s ,which is communication over the internet between two softwares on two computers. But api is the way two different softwares communicate. And they can be running on the same computer. For example, the browser is a software, the javascript codes you write is a software . But your codes depends on the browser in order to be useful, and the browser depends on the operating system it is running on in order to be useful. And they communicate through api. The browser has some api exposed to your javascript code e.g the Html DOM, in turn ,the operating system has some api exposed to the browser ( for windows, win32 api).

So if you want a user interface when learning c++, you have to choose an operating system (windows, Mac or Linux) you want to build apps for. Then go to their documentation and see the api available to you. For windows applications, to get a UI which you can then manipulate, you make a call to the createWindowEx and ShowWindow functions.

But most times , you won’t be making calls to those api directly because there are tools that abstract all those away from you and makes development easy.

So, if want a UI choose a platform, else just stick to the console.

2 Likes 1 Share

Re: For Those That Want To Learn C Or C++. by chukwuebuka65(m): 2:14pm On Feb 21, 2023
Before I forget, I don’t know , has our dear tastyfriedpusssy given up on c++ , or is he just on a sabbatical.
Re: For Those That Want To Learn C Or C++. by DMCA: 2:36pm On Feb 21, 2023
I developed a bias for C++.

I find it hard to switch to python because of syntax, and python already has more specialized libraries for AI and Machine learning.


Maybe I’ll just stick to my embedded systems 😞
Re: For Those That Want To Learn C Or C++. by chukwuebuka65(m): 7:38pm On Feb 21, 2023
DMCA:
I developed a bias for C++.

I find it hard to switch to python because of syntax, and python already has more specialized libraries for AI and Machine learning.


Maybe I’ll just stick to my embedded systems 😞

I thought python syntax is the easiest to learn? You will learn it if you want to.
Re: For Those That Want To Learn C Or C++. by DMCA: 12:47am On Feb 22, 2023
chukwuebuka65:


I thought python syntax is the easiest to learn? You will learn it if you want to.

The problem here is not the difficulty in learning.

The issue is I have been programming in languages using the C family syntax for a long time in languages such as C++ and PHP then I come to learn python and I just find their style a bit odd.

You use lines and indentation to show where declarations stop and scope starts and ends.


Debugging can become a nightmare. Just imagine writing hundreds of lines of code and then trying to find what went wrong and the culprit will just be one mis-indentation angry

And other odd looking stuff for me. angry

I tried it and I am not a fan. I am still contemplating it only and only because many established libraries for standardized stuff like AI and Data Science are written in python compared to C++. angry

I hate Google and Facebook for being python biased and investing heavily on only python libraries angry



angry angry angry angry angry sad sad angry

1 Like

Re: For Those That Want To Learn C Or C++. by chukwuebuka65(m): 10:19am On Feb 22, 2023
DMCA:


The problem here is not the difficulty in learning.

The issue is I have been programming in languages using the C family syntax for a long time in languages such as C++ and PHP then I come to learn python and I just find their style a bit odd.

You use lines and indentation to show where declarations stop and scope starts and ends.


Debugging can become a nightmare. Just imagine writing hundreds of lines of code and then trying to find what went wrong and the culprit will just be one mis-indentation angry

And other odd looking stuff for me. angry

I tried it and I am not a fan. I am still contemplating it only and only because many established libraries for standardized stuff like AI and Data Science are written in python compared to C++. angry

I hate Google and Facebook for being python biased and investing heavily on only python libraries angry



angry angry angry angry angry sad sad angry




Alright! I am also looking to dive into machine learning in the future.
Re: For Those That Want To Learn C Or C++. by iwanvisityankee: 3:48pm On Feb 22, 2023
chukwuebuka65:
Before I forget, I don’t know , has our dear tastyfriedpusssy given up on c++ , or is he just on a sabbatical.
He has given up since 17BC grin grin grin grin
Re: For Those That Want To Learn C Or C++. by airsaylongcome: 4:23pm On Feb 22, 2023
DMCA:


The problem here is not the difficulty in learning.

The issue is I have been programming in languages using the C family syntax for a long time in languages such as C++ and PHP then I come to learn python and I just find their style a bit odd.

You use lines and indentation to show where declarations stop and scope starts and ends.


Debugging can become a nightmare. Just imagine writing hundreds of lines of code and then trying to find what went wrong and the culprit will just be one mis-indentation angry

And other odd looking stuff for me. angry

I tried it and I am not a fan. I am still contemplating it only and only because many established libraries for standardized stuff like AI and Data Science are written in python compared to C++. angry

I hate Google and Facebook for being python biased and investing heavily on only python libraries angry

angry angry angry angry angry sad sad angry


You see that bolded, that is the very reason I struggle with Python. I know that as a techie, one should be able to learn, unlearn and relearn. But it beats me how you can start using a variable in Python with first declaring it and associating it to a data type. Very loose-type programming at its peak. I'm a strong proponent for strongly-typed PLs and cannot get my head around the loose typing that Python adopts

1 Like

Re: For Those That Want To Learn C Or C++. by DMCA: 6:39pm On Feb 22, 2023
airsaylongcome:


You see that bolded, that is the very reason I struggle with Python. I know that as a techie, one should be able to learn, unlearn and relearn. But it beats me how you can start using a variable in Python with first declaring it and associating it to a data type. Very loose-type programming at its peak. I'm a strong proponent for strongly-typed PLs and cannot get my head around the loose typing that Python adopts
Exactly.

If I can find a way around python, I'll pass.
Re: For Those That Want To Learn C Or C++. by Xandelle: 10:40am On Feb 23, 2023
DMCA:
I developed a bias for C++.

I find it hard to switch to python because of syntax, and python already has more specialized libraries for AI and Machine learning.


Maybe I’ll just stick to my embedded systems 😞

Not only you... Before I learned C, I had no problems with loosely typed languages like python, PHP. But now eh, I do python with grudges. A hell lot of grudges. And that's because python doesn't even give you an option to write your programs statically. At least with PHP you can choose to write your programs like its a type safe language.

To make matters worse,all the gigs I've gotten this year are all python. All of them. So I have started my own 3 hobby projects in C, go, and c# dotnetcore to keep my sanity in check.

1 Like

(1) (Reply)

School Of Programming / What TECH Can A Graphic Designer Learn In 2024 / ...

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 34
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.