"Off Topic" Code Discussion from Q8 Thread.. (code discussion not related to the Q8)

#include <stdio.h>

int main(void)
{
printf("Hello world!\n");
return 0;
}

#include <cstdlib>
#include <iostream>

using namespace std;

int main ( int argc, char *argv[] );
int main ( int argc, char *argv[] )
{
cout << "Hello world!\n";

return 0;
}

program main

implicit none

write ( *, '(a)' ) ' Hello, world!'

stop

end

def hello():

print("{:s} {:s}!".format('Hello', 'world') )

return

if ( __name__ == '__main__' ):

hello ( )

:open_mouth: …… Why Joey, I am shocked & dumbfounded at your reaction…. I have even teared up. See… :cry:

Do you feel proud you brute?? :person_facepalming:

I would mark your post RUDE…. but alas, after the trials & tribulations of just trying to survive out here in “Dark Territory” the last few days…… I cannot even work up the energy or desire to even locate the dreaded Rude button, much less click it.
.
.
:wink:

:open_mouth: … Do those come with instructions for dummies Mr. Scott?? :wink:

I hope so because I’m clueless as well teacher. Mr. Scott your coding has flew right over my head, sadly this is not too difficult when computer language code is involved!

Good old C, that is some time ago for me!

Hey JA, I found this…. Coding For Dummies
….it might have some answers in it. I don’t know enough to even have a clue. :person_facepalming:

The title even seems above me, but I looked; there was no “Coding for Stupid People”, so i guess this will have to do. :wink:

I don’t care about being able to control the Space Shuttle or anything like that. But I’d like to know a few basics…… very simple basics at that …… of how it works and why. Since I know exactly O (zero) about it. :wink:
And at the moment I have a bit of time to devote to reading up.

I am gonna see if the Library has it and I’ll let you know.


Coding For Dummies

  • Coding For Dummies, was previously published as Coding For Dummies,. While this version features a new Dummies cover and design, the content is the same as the prior release and should not be considered a new or updated product. Hands-on exercises help you learn to code like a pro No coding experience is required for Coding For Dummies, your one-stop guide to building a foundation of knowledge in writing computer code for web, application, and software development. It doesn’t matter if you’ve dabbled in coding or never written a line of code, this book guides you through the basics. Using foundational web development languages like HTML, CSS, and JavaScript, it explains in plain English how coding works and why it’s needed. Online exercises developed by Codecademy, a leading online code training site, help hone coding skills and demonstrate results as you practice. The site provides an environment where you can try out tutorials built into the text and see the actual output from your coding. You’ll also gain access to end-of-chapter challenges to apply newly acquired skills to a less-defined assignment. So what are you waiting for? The current demand for workers with coding and computer science skills far exceeds the supply Teaches the foundations of web development languages in an easy-to-understand format Offers unprecedented opportunities to practice basic coding languages Readers can access online hands-on exercises and end-of-chapter assessments that develop and test their new-found skills If you’re a student looking for an introduction to the basic concepts of coding or a professional looking to add new skills, Coding For Dummies has you covered.

Teacher, from your posts the last couple of days, you seem to be a little agitated, how come?

A friend of me always tells me when im irritated “put on your [imaginary] teflon coat, nothing will attach to it and everything just glides off”

Thanks Yokiamy, I like that…… :wink: … Imaginary Teflon coat. :beer:
But honestly, I’m not agitated at all…. seriously.

Some of my opinions have differed from some other peoples is pretty much the bottom line.
Someone & a few more have been marking everything I post as RUDE
But hey… I am good with that. As I am typing this my RUDE score just reached 30 0f 10 …… :smiley:
To me that is utterly ridiculous as well as laughable……. :wink:

Heck, go back and read what I have posted. You will be hard pressed to find anything at all RUDE in it. Differing opinions yeah, but as far as I know a differing opinion is not rude. :slight_smile:

When I have said something I have said it in a straight forward manner so as to be crystal clear about where I stood and what I thought.
I think some people like the watered down version of things where it is sugar coated & all pc…. fine.
They won’t find it from me however, I say just call a spade a spade and lets the chips fall where they do.

And trust me, I am not saying I am perfect at all…. cause I am sure not, BUT this has reached the stage of extreme humor at this point. :smiley:

Yeah, now I had been joking around about Dark Territory; as to make a joke about every single post I made getiing marker Rude for a couple of days. Because to me…. that is exactly what that was and is………… a joke.

Anyway, that’s all. I’m good honestly, and thank you for asking. I have just a little less than zero actual stress or agitation about anything that goes on here. There are much more important things to consider at the moment. :wink:

Take care……… :+1:

Oh yeah, this is long; but you asked. :smiley:

Well, let’s toast to that then. Today I have a glass of red wine though. Cheers! :WINE:

^ I wonder what will happen if I type :WINE:

(edit: dangit, no picture of a glass of wine showing up, like it does with beer. Well, I learned something about a code-thingy then)

:smiley: …. Amen brother!!! :+1:

Here… beer mugs will have to do………… :beer: :beer: :beer: :beer: :beer:

Probably a little “Off Topic”…… but oh well, I started the thread so all is well. :wink:

My sincerest apologies to you Yokiamy.
It does appear that my reply to you, in Post #15 above; was indeed consider rude by at least one person…. so far.

Sorry, I was just trying to answer your question. :person_facepalming:

I’ll go sit in the corner for a few hours now……………

Haha thanks Teacher, yea coding for stupid people would probably be more up my alley as well!

I hear ya’ JA. :smiley:

I am going to the Library & check it out if they have it…. just to see IF I can learn to do anything…… anything at all. Big “IF” but as long as I don’t screw up my ‘pooter’… I’m good with trying to do something. :wink:

#include <stdio.h>

static char hello_world[] = {
0x48, 0x45, 0x09, 0x24, 0x2a,
0x66, 0x36, 0x23, 0x36, 0x2b,
0x2f, 0x66, 0x32, 0x23, 0x35,
0x36, 0x6d, 0x4c, 0x48, 0x4c
};
static char blf[] = "BLF";

int main(void)
{
int x, l;

l = sizeof( hello_world );
for( x=0; x<l; x++) { printf("%c", ((hello_world[x]^blf[x%3]) & 0xff) ); }

return 0;
}

Maybe people dont know the difference anymore nowadays between RUDE and the dislike of your opinion.
They give negative credits as it were hot baquettes :slight_smile:

:smiley: …… That may very well be Yokiamy. :+1:
At this point it is so pathetic it is actually comical…. :wink:
In my personal opinion of course…….

@Teacher

I think that you might like learning the Python programming language. Interestingly, it is actually called “Python” in tribute to Monty Python, and you can see a lot of references to the various works in the programming. There are a lot of free tutorials online, and is a really good first language to learn since it is considered much easier to read than other languages that use lots of symbols.

Here is one of the many free classes: https://www.datacamp.com/courses/intro-to-python-for-data-science/?utm_source=learnpython_com&utm_campaign=learnpython_tutorials

Have you heard of the arduino? For a person new to programming and circuits, THAT is the place to go.