Dometome's Posts
Nairaland Forum › Dometome's Profile › Dometome's Posts
1 2 3 4 5 6 7 8 9 10 (of 49 pages)
madridguy:All the world powers to exist where all built on war |
Don27tiky:Ayatoilet is dead |
he is dead, confirmed |
Image123:I do not live in Lagos. You know you are talking crap |
Image123:there are banks in hose places, Boko haram does tiktok live in those places |
Image123:are you saying that prompt transmission of electoral result is a bad thing, it's not worthy of campaigning for |
Revealpanda: |
This write up is not for the programming gods who can't do 5hit, who do not have any project to show for their godship. It is for humble people who are REALLY interested in computer programming. Many so called software developers on this site grow angry, I mean really, really angry when I tell young , upcoming, software developers, or even programmers who are still learning about the strategy to go about it. In my previous post, I said C++ is easy to learn and understand when you are already grounded in an easier language, and I specifically named PHP. And they wanted to eat me raw. I analyzed their comments and crappy arguments, and found out that it was merely their ego talking, guys that have nothing to show but they will tell you that you know nothing, me wey get YouTube channel, where I teach people about these thing, I no know anything. Wow! If you are dreaming of learning C++, start from the low hanging fruits, else you will be overwhelmed and give up on your dreams at some point. 1 Learn HTML. HTML is not a programming language, it is a mark up language, it is a very good intro to coding, and a very low hanging fruit, you can learn it in just ONE month, very easy thing to do. Again, HTML is a solid foundation, just one month, if it is too much two months. The learning curve is not steep at all. 2 After HTML you learn CSS, (for, but not limited to beautification) this is just a little bit harder than HTML, just a lil bit. I give it three to six months (on the high side), It took me a year, because I was involved with many other things and I was learning it randomly, random topics, until I bought (I have forgotten his name, I think) Shmeldman's course, you can get free CSS courses on YT. No need to spend money. NOTE: CSS is NOT a programming language. It is just another step. 3 PHP: This is where your journey to software development actually starts, PHP is a full programming language, the thing with PHP is this, it is that easy HTML but with more abilities, HTML give static pages but with PHP, you can build dynamic pages. PHP gives you the ability to do stuffs almost every other programming languages do (even C++), things like, Loops, arrays, conditionals like if and if else, variables, truth tables, comments, switch case, functions, objects, OOP (very important), OOP concepts like, public, private and protected, constructors, inheritance and so on and so forth, I cannot spit out all of them, these things cannot be done with HTML, that is why you need PHP, it is like HTML 2.0. You CANNOT learn PHP without learning HTML/CSS. It is like trying to run without learning to crawl. How much PHP do you need? Just enough to build an app like a simple but functional todo list app, a CRUD app on your own, by that I mean, without a tutorial, even if you encounter a snag, you can make a research about it, when you meet another problem, you do a simple research to solve it, and can explain what each line of code does, remember it is your own code. By now you are well grounded in computer programming. But Why PHP, one thing with PHP is that it dopes not joke with semi colon ";". while, JS and Python do not require you to put semi colons at the end of each line of code, PHP does, and will throw an error if you left out the semi colon. Another language that does that is C++, so you start getting used to semi colons early on. All of these can be done in a year and six months or a year and 8 months, if you dive into C++ just like that, bro. You are likely to give up when to going gets tough. I can assure you, it will get really, really tough, interpreted languages like JavaScript, PHP and Python softens the ground for you, I go with PHP because of the semi colon thing, hence the the reason I tell you to start with HTML. Then you can jump into C++, when learning C++, you will find out that you won't give much attention to logic, computer programming, and other fundamentals, but focus on real computer science stuff, and because your root is already deep, understanding those things become a breeze for you. Key Similarities Between PHP and C++ PHP and C++ share several foundational similarities, primarily due to PHP's heavy influence from C-style syntax (and by extension, C++). This makes PHP feel familiar to developers coming from C++ for basic procedural code.C-like Syntax: Both languages use similar structures, such as curly braces {} for blocks, semicolons ; to terminate statements, and common control flow keywords (e.g., if, else, for, while, switch). Operators: Arithmetic, logical, comparison, and assignment operators behave almost identically (e.g., +, -, *, /, ==, !=, &&, ||). Comments: Support for // single-line comments, /* */ multi-line comments, and PHP also adds # for shell-style comments. Procedural and Imperative Style: Both support procedural programming with functions, loops, and conditionals in a very similar way. Object-Oriented Programming (OOP): Both are multi-paradigm languages supporting classes, objects, inheritance, polymorphism, and encapsulation. PHP's OOP was inspired by languages like C++ and Java. Function and Variable Naming: User-defined functions and variables follow similar conventions, making code translation straightforward. Differences C++ : Manual (new/delete) or smart pointers (unique_ptr, shared_ptr). RAII . Developer has fine-grained control. Hence the speed, and the very high performance close to hardware. Suitable for real-time and resource-intensive tasks. (very important). It is Compiled to native machine code (via compilers like g++, clang). Fast execution, no interpreter needed at runtime. Strongly typed, etc PHP: Interpreted (or JIT-compiled in newer versions like PHP 8+). Runs on a web server. Automatic garbage collection. Developer rarely manages memory directly. (one of the reasons it is slower than C++), weakly typed, etc |
shweini:This Is why you people fail exam, I asked Ai how difficult it will be to learn C++ if you already know and are well grounded in a language like PHP. |
Jecci:Diving straight into C++ no be am. I am showing people how I got to where I am |
shweini:here is what Gemini said It is moderately challenging but manageable. While the logic is straightforward, the difficulty lies in the discipline required to prevent memory leaks and undefined behavior, as C++ lacks the automatic safety net (Garbage Collection) found in languages like Java or Python. Core Concepts to Master The Stack vs. The Heap: Understanding where data lives and its lifetime. Pointers: Managing memory addresses using * and & operators. Allocation/Deallocation: Pairing new with delete (and new[] with delete[]) perfectly. RAII (Resource Acquisition Is Initialization): The modern C++ standard of using destructors to automate cleanup. Last I checked moderately challenging doesn't meant difficult. I am sure you don't even know what something like RAII is all about. A simple example even a child can understand, something like RAM is NOT infinite, it must be managed. Again, in things like PC, RAM is not consistent, some computers have little RAM, that one is another thing. Even is the RAM is big, but it is still not infinite, that is why you need garbage collection, in C++ you do it yourself, that is where the power is. While in other languages, like PHP, garbage collection is done automatically, but many times in an inefficient manner. Hence the reason they are slow. What is difficult to understand here? But it will be, when you don't understand the fundamentals of Computer programming. |
micodon:you eat hot soup little by little |
shweini:these things are not difficult to understand when you already know the fundamentals of programming. |
micodon:Jesus Christ! So you can not write a simple line of HTML, but you can write REST APIs, Graph APIs, CLI apps, Automation scripts, Server monitors, CRUD, DB management apps. HAHAHAHAHAHAHAHAHA! No wonder people give up because they learn things the wrong way, and talk down on others who advise people based on experience. Na little by little you go chop hot soup! |
micodon:Yeah! code with nothing to show for it. Mine was in 2004! WTH |
shweini:You are just making a nonsense argument. I am currently learning C++ and made some small apps using C++ and I find it sooooo easy, now I am sharing my experience, you just pop up from nowhere and start talking crap. You have nothing to show for your big experience, I have, and I want to share that experience, so others will not repeat the same mistakes I made. You are here talking crap. I hard a lot about C++ and was afraid to touch it, for years, Then I decided to conquer my fear at and learn the language, only to find out that I already know many of those things, I do not need to learn concepts of programming, since apart from syntax, (in few cases) there is no difference, the setting up the environment, compiler and interpreter, etc. OHHHH! C++ is the language of the gods, ohh! You must trek to the Andromeda galaxy before you can learn C++. Those are lies. It is difficult if you learn it the wrong way. |
shweini:I am not going to show you my job or the professional jobs I am involved in, but I can use that channel to get a good job if for example I move to another country, I also use it as show working on Upwork. |
Revealpanda:I wish you good luck in displaying the content you got from the database, on the frontend without HTML |
shweini:
|
shweini:can I see your YouTube channel? Here is mine, nothing much there, I don't have much time. |
Revealpanda:I am sure you did not read the write up. HTML is NOT a programming language, I clearly stated it out there. It is an appetizer, a soft intro to computer science. The reason I advise people to learn HTML first, is that without HTML you simply cannot learn PHP or JavaScript. Once you learn PHP, learning C++ will be a breeze. PHP is like C++ with fewer rules. I feel I am talking to wall |
shweini:Thank you Thank you Thank you Thank you Thank youThank you Thank you Thank you Thank you Thank you |
Yes it will be hard for you as a first language, but not so hard as a second or third language, so my advice is this, if you want to learn Programming, Please Learn HTML first! I can never emphasize that enough. Yes, it is not a programming language, I know, but learn HTML first, then CSS. HTML takes about a month or two to learn, then CSS can take longer, prolly 6 months or less, or maybe more, it depends on how you go about the learning process, then after that, Learn PHP, yes, PHP! not JavaScript. Take your time learn PHP, PHP is like HTML 2.0, HTML with a few more rules, to enable you go beyond the regular HTML, make dynamic websites, create, modify, open and close files on windows, mac or Linux, query databases, plus other things, for example, I created a PHP app that joins two videos together to make one video, PHP will simplify your learning process, when it comes to Programming in general, computer science in general, things like arrays or lists, loops, variables, data types (very important) array methods, then objects, (super important for OOP). Then learning another language like JavaScript becomes a breeze. Do you know another language that becomes a breeze for you? The Almighty C++! C++ is just like PHP with a few more rules, just as PHP is like HTML with a few more rules. Do not allow anyone intimidate you, telling you that programming in C++ is like trekking to the moon and back. Na lie! |
700,000 CFA Francs |
Anyone with live stream like, please share |
IJAYA001:Just like a drier sleeping on the wheel, while the car is in motion |
Do you want to learn how to build a from builder, with drag and drop features? If yes let me know. |
Good! |
happney65:What are the colors of the US flag? red white blue, which is also the same colors of the Russian flag |
I tried to do Cannonjs using ai and it failed woefully. |