My beginner programming thread

Beachless

Executive Member
Joined
Oct 6, 2010
Messages
6,003
But I am Admiral :D
Thank you, I will steer clear of VB.

Ahh I get it, okay so definitely a no go. Thanks Beachless. I appreciate the more experienced people helping me out here.

Aight I got you! Thanks prOd.

Always remember though that even if you speak to a experienced person to go and do your own research and realize that everyone is different and what works for one person may not work for another. I have met a few people who love Basic and other "human readable" languages and made good careers from them.
 

XennoX

Expert Member
Joined
Nov 15, 2007
Messages
2,205
If anyone ever asks me what I would recommend, it would be C++. Because it gives you a good grounding (and also very bad habits if you're not careful[sup]1[/sup]), especially when it comes to memory management.

[sup]1[/sup] Pointers are life, pointers are love, but they will **** your program up lest you control them properly.
 

DrJohnZoidberg

Honorary Master
Joined
Jul 24, 2006
Messages
23,995
If anyone ever asks me what I would recommend, it would be C++. Because it gives you a good grounding (and also very bad habits if you're not careful[sup]1[/sup]), especially when it comes to memory management.

[sup]1[/sup] Pointers are life, pointers are love, but they will **** your program up lest you control them properly.

I must say, my new job is predominantly C++ and I'm really enjoying it.
 

Hamster

Resident Rodent
Joined
Aug 22, 2006
Messages
42,928
Let the holy war commence:

Go FTFW, screw your C++ good grounding BS - this is the 21st century

/flamesuit
 

semaphore

Honorary Master
Joined
Nov 13, 2007
Messages
15,206
Let me guess, you got burned by pointers?

You act as if pointers are these mythical beings. They are really not difficult to work with. Plus there is so much protection now with smart pointers, even prior to that they were still pretty easy to manage.

And to answer your question, no he hasn't he just doesn't like c++. We use go at work which has pointers, but it's garbage collected as well.
 

Hamster

Resident Rodent
Joined
Aug 22, 2006
Messages
42,928
Let me guess, you got burned by pointers?
You guess wrong.

And it's not that I don't like C++, I just don't like the old people carrying on about C++ as if it is the holy grail of languages out there.
 

DominionZA

Executive Member
Joined
May 5, 2005
Messages
8,309
You guess wrong.

And it's not that I don't like C++, I just don't like the old people carrying on about C++ as if it is the holy grail of languages out there.
Hey! What's this old people stuff

Way back (yes - old person), I had a love for C++. Also did it for the 3rd year of my diploma (achieved 100% for final exam ).

So... Old person, loved C++ and was good at at, and I would recommend C#!

There, old person out...!
 

Hamster

Resident Rodent
Joined
Aug 22, 2006
Messages
42,928
Hey! What's this old people stuff

Way back (yes - old person), I had a love for C++. Also did it for the 3rd year of my diploma (achieved 100% for final exam ).

So... Old person, loved C++ and was good at at, and I would recommend C#!

There, old person out...!
Some old people grow up to be cooler than others
 

Admiral Snackbar

Well-Known Member
Joined
Jan 12, 2016
Messages
183
So I've switched over to notepad++ from Khan Academy's live viewer completely now, because of KA's limitations and it's quite an adjustment. Having a live preview next to you is so convenient, but I suppose I'll manage with constantly pressing ctrl shift alt r to run the code in chrome.

For now I have a few questions though that I'll post in a sec.
10fp1jp.png

This img is scaled to 70% because forums.


Also, something I'll have to learn is how to make websites scale appropriately, if I zoom to 110% the webpage gets all wonky - but that's something I can focus on later.
 
Last edited:

Admiral Snackbar

Well-Known Member
Joined
Jan 12, 2016
Messages
183
Code:
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title>All about Puppies</title>
        <link href='https://fonts.googleapis.com/css?family=PT+Sans:400,700' rel='stylesheet' type='text/css'>
        <style>
        body {
            font-family: 'PT Sans', sans-serif;
        }
        .header {
            background: green;
            color: white;
            padding: 5px 10px;
			text-align: center; 
        }
        .footer {
            background: rgb(87, 207, 97);
		}
	#puppy-icon {
		position: absolute;
		left: 400px;
		top: 19px
		}
	#puppy-icon2 {
			
		position: absolute;
		right: 400px;
		top: 19px

		}
        #sleeping-puppy {
            border: rgb(129, 222, 151) ridge 9px;
            margin-top: 8px;
			margin-left: 5px;
        }
		#sleeping-puppy2 {
            border: rgb(129, 222, 151) ridge 9px;
            margin-top: 8px;
        }
		#sleeping-puppy3 {
            border: rgb(129, 222, 151) ridge 9px;
            margin-top: 8px;
        }
        
        </style>
    </head>
    <body>
    
	<img id="puppy-icon" src="http://help.seesaw.me/hc/en-us/article_attachments/201790359/student-icon-puppy.png" alt="puppy icon" width="75px">
	<img id="puppy-icon2" src="http://help.seesaw.me/hc/en-us/article_attachments/201790359/student-icon-puppy.png" alt="puppy icon" width="75px">

    <div class="header">
        <h1 id="puppy-header">All About Puppies.</h1>
    </div>
	
        <img id="sleeping-puppy" src="https://www.kasandbox.org/programming-images/animals/dog_sleeping-puppy.png" alt="sleeping puppy" width="610px">
	<img id="sleeping-puppy2" src="http://awwducational.com/wp-content/uploads/2014/08/8242112488_4d162d94f9_z.jpg" alt="sleeping puppy 2" width="610px">
	<img id="sleeping-puppy3" src="https://secure.static.tumblr.com/42bd0f53d03da3c135dc747312ca6d67/fxxiyzd/BZjnacyp2/tumblr_static_tumblr_static_5m9a7uxys4cggwoogwg0oc04w_640.jpg" alt="sleeping puppy 3" width="610px">
    
		<p>A puppy is a juvenile dog. Some puppies can weigh 1–3 lb (0.45–1.36 kg), while larger ones can weigh up to 15–23 lb (6.8–10.4 kg). All healthy puppies grow quickly after birth. A puppy's coat color may change as the puppy grows older, as is commonly seen in breeds such as the Yorkshire Terrier.

	<div class="footer">
        <h4>For more information contact Admiral: 021-5555-000 </h4>
    </div>
    </body>
</html>

Will update this as I go along.


-_-'

Every time I press tab on the online editor it changes location instead of moving my text.
 
Last edited:
Top