Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

I'm teaching my friend programming

Name: Anonymous 2018-06-30 4:40

Specifically web development. Also I'm drunk right now so I might sound stupid. Anyway, I'm sort of teaching this guy about web development. Not even full stack shit, just basic HTML and CSS and JavaScript. He said he's following some online video series. He claims to have been learning it for a couple weeks now. Today someone brought up the topic of different ways of naming variables. I asked my friend if he knew about camel case. He said no. I asked him if he knew about naming variables. He said no. I asked him if he knew what a variable is. He said no. I had to tell him what a variable is. He still has a hard time understanding it. This is a dude with a college degree, who has a hard time understanding that a name can correspond to a value. Key-value pairs.

A guy who says he has been learning web development through videos (which I know he has watched some of -- he's not lying!) doesn't even know what a variable is. He's been learning for a few weeks and doesn't even know something like this.

I don't even know what to say.

Name: Anonymous 2018-06-30 4:59

Web development isn't all that good a way to start learning programming, because the browser hides a lot of the complexity. Try to teach him how to interact with input and output first, from the console and from files, and to perform basic calculations and logical operations on that input. That might help him understand what programming is about.

Name: Anonymous 2018-06-30 6:15

The meaning of the word variable will vary depending on context, though. That is literally the point of variables. Otherwise we'd call them consistents or something similar. Your friend is actually in the right here.

Name: Old Coder Dude 2018-06-30 9:52

>>1
Also I'm drunk right now so I might sound stupid.

I'm sober right now so I _know_ I sound stupid.

http://ai.neocities.org/AiSteps.html -- teach you're are friend to code AI.

>>1
I asked him if he knew what a variable is. He said no. I had to tell him what a variable is.

http://ai.neocities.org/var.html#kbzap -- ZAP his mind with AI variables.

http://ai.neocities.org/perlmind.txt -- First Working AGI coded in Strawberry Perl Five.

Name: Anonymous 2018-06-30 14:41

>>4
you're are
*your're are

Have you tried Perl 6 mentifex?

Name: Anonymous 2018-06-30 14:42

>>1
You are probably just bad at explaining. Just ask him if he did functions in maths.

Name: Anonymous 2018-06-30 17:33

>>6
I already know that he didn't take higher-level math.

A lot of university education in America is a complete joke.

Name: Anonymous 2018-06-30 21:59

>>7
But.. we first did functions in the 3rd grade (I think) of middle school (and I still think that it's too late). How could he not have done functions in uni? Was his degree on literature or something? Also, in what world are functions "higher level math"?

Name: Anonymous 2018-07-01 23:25

>>8
welcome to america, where barely-literate people can get bachelor's degrees in bullshit majors, which devalues legitimate STEM degrees because morons think all degrees are equally easy and worthless

Name: Anonymous 2018-07-03 3:00

I'm teaching my dad programming.

Name: Anonymous 2018-07-03 3:19

>>10
And? What has he made so far?

Name: Anonymous 2018-07-03 3:23

>>11
A dubs checker.

Name: Anonymous 2018-07-03 6:33

>>11
HMA.py

Name: Anonymous 2018-07-03 8:11

def hma(values, window):

# requires wma.py

# HMA = WMA(2*WMA(PRICE, N/2) - WMA(PRICE, N), SQRT(N))

period = int(np.sqrt(window))

# created wma array with NaN values for indexes < window value

wma1 = 2* wma(values, window/2)
wma2 = wma(values, window)

hma = wma((wma1 - wma2), period)

return hma

Name: Anonymous 2018-07-03 8:21

>>14
not the kind of HMA.py my'm am talking about, anus

Name: Anonymous 2018-07-03 11:46

>>15
class _HmaRequest(urllib.request.Request):
Url = "http://proxylist.hidemyass.com/";
Accept = "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8"
AcceptEncoding = "gzip"
AcceptLanguage = "en-GB,en;q=0.8"
CacheControl = "no-cache"
Connection = "keep-alive"
Pragma = "no-cache"
UserAgent = "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.153 Safari/537.36"

HmaHeaders = {'Accept': Accept, 'Accept-Encoding': AcceptEncoding, 'Accept-Language': AcceptLanguage,
'Cache-Control': CacheControl, 'Connection': Connection, 'Pragma': Pragma, 'User-Agent': UserAgent}

def __init__(self):
super().__init__(self.Url, headers=self.HmaHeaders)

?

Name: Anonymous 2018-07-03 11:47

>>16
also not this, anus

Don't change these.
Name: Email:
Entire Thread Thread List