[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
Swift
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 68
Thread images: 9
>2016
>not programming with emoji's
>>
>>53862384
Don't know if you're ironic or an applefag, but it's good for teaching kids to program.
>>
>>53862384
>2017
>not knowing what is an apostrophe
>>
>>53862416
what an apostrophe is*

fucking nigger
>>
>>53862414
How can smileys help kids to program?
>>
>>53862527
>Oh man what the fuck is an integer
vs.
>lol the dog only accepts chickens
>>
>>53862539
Next wecan normalize bestiality senpai :^)
>>
>>53862414
>teaching kids to program
are poo in loos not cheap enough? do we need child labour now?
>>
>>53862539
> look guys, you don't need to know what an integer is to program!
>>
>>53862685
welcome to the world of python
>>
>>53862587
>using the smiley with a carat nose
>>
>>53862414
Kids may not be knowledgable but dumbing down things to shitty teen speak and nigger grumble isn't going to hep.
>>
>>53862414
Kids may not be knowledgable about various things but dumbing down things to shitty teen speak and nigger grumble isn't going to help.
>>
>>53863204
>>53863233

>implying it doesn't increase the amount of usable characters for variables
>>
>>53862713
Keked
>>
>>53863284
>this is a pressing need
>>
File: thank_you_based_apple.jpg (54 KB, 690x416) Image search: [Google]
thank_you_based_apple.jpg
54 KB, 690x416
>>53862384
>>
>>53863383
leel
>>
File: stevo.jpg (9 KB, 219x230) Image search: [Google]
stevo.jpg
9 KB, 219x230
Apple innovating once again
>>
>>53862384
>Nobody needs a case-sensitive file system
>Come on, it's 2016
>>
>>53862384
>2016
>ancient egyptian language has ben invented by apple

This will be in history books in 30 years, mark my words
>>
File: 1339012165031.jpg (165 KB, 900x720) Image search: [Google]
1339012165031.jpg
165 KB, 900x720
>>53863383
>let
>>
You can use emojis and other Unicode characters in Ruby for identifiers as well, bit nobody does, because that's fucking retarded.
>>
actually there's an error on that code.
>>
>>53864469
was just about to post this, should be a chicken to call the function. maybe that's the point to demonstrate its actually readable.
>>
>>53864469
Yeah, should be .(,)
>>
>>53864397
Yes, those are constants. Don't need to change the integers after assignment.
>>
>>53864815
Fucking shit, I spent minutes of my life googling these fucking emoji and then 4chan just filters them out?
Should be [Dog Face].[Front-Facing Baby Chick]([Chicken],[Disappointed but Relieved Face])
>>
>>53862685
To be quite honest I doubt CS people know how the set of integers is defined so....

>>53862713
>world of python
>language widely used in academia/mathematics
sour grapes b/c you have to declare what type of variable you're using; get over it kid
>>
>>53864862
Why? Why even care?
>>
>>53863284
If you've got so many variables that you're running out of possible variable names then you've got bigger issues, and letting you use emoji will solve none of them.
>>
>>53864868

The only definition of an integer relevant to most CS majors is the one you learn in high school -- any positive or negative whole number, or zero.

If that definition doesn't sit with you, it can easily be defined recursively:

0 is an integer.
Non-numbers are not integers.
If 0 < x < 1, x is not an integer.
If -1 < x < 0, x is not an integer.
If x > 0, x is an integer iff x - 1 is an integer.
If x < 0, x is an integer iff x + 1 is an integer.
>>
>>53862685
Being in college, most people don't know there are variables other than integers.
>>
>>53865323
yes anon you are so much smarter then everyone. Literally everyone in all of your classes is so stupid they can only grasp the concept of integers; everyone except for you, that is...
>>
>>53865368
Thanks dad
>>
>>53863090
U driggered sembai? :^)
>>
>>53865408
>your mothers husband
>>
>>53863090
Are you slightly rused by the 4chan smiley face? <[:^P
>>
>>53862527
I never, in the decade I've spent on this shithole, witnessed such an amount of autism in a post.
>>
>>53864319
You can enable this with HFS+ at partition creation time and boot from the case-sensitive partition (provided journalling is also enabled), but its not the default, due to old third party software relying on case-insensitivity.
>>
>>53865453
>your patent(who coincidentally has a vagina)'s partner (who coincidentally has a penis)
I checked your micro aggressions for you
>>
>>53862384
holy fucking shit is this real?
>>
File: 1457828203209.png (19 KB, 931x969) Image search: [Google]
1457828203209.png
19 KB, 931x969
>>53863090
>>
File: LOLCODE.jpg (19 KB, 600x379) Image search: [Google]
LOLCODE.jpg
19 KB, 600x379
>2016
>not programming in pure memes
fucking casuals
>>
shouldn't var dog = dogdog() throw an error since you aren't providing the arguments?
>>
File: 1453107373299.png (473 KB, 884x903) Image search: [Google]
1453107373299.png
473 KB, 884x903
>>53866390
I don't know if this will actually teach kids or make them absolutely retarded
>>
>>53866655
implying the kids arent already retarded
>>
>tfwi only know how to program in AS3

I'm as low as ops image
>>
>>53866709
On average, kids born today will be more intelligent and educated than you. :^)
>>
>>53865166
If he's talking about the mathematical definition of the set of integers it usually comes with explaining all the algebraic properties of the set.

CS majors usually encounter them in programming though so they look at how integers are represented in computer memory. (a 32 or 64 bit binary number where the first digit carries the sign and the rest carry the numbers value)
>>
>>53862384
Tcl can do this since forever.
>>
File: Untitled.png (39 KB, 320x355) Image search: [Google]
Untitled.png
39 KB, 320x355
>>53865166
That is not true. The size of an integer does matter because computers allocate a certain amount of space to store that integer in memory. And of course memory management is a crucial part of computer science/engineering.

An example of why it does indeed matter what size an integer is. IPv4 address are 32 bits long, meaning there are a total of ~4 billion IPv4 addresses available. But now there are so many devices connected to the Internet that 32 bits is not enough to address all of them. IPv6 solves this by using 128 bits for an address, meaning ~256*10^12 possible addresses. But since so much existing Internet infrastructure is built around IPv4, switching over to IPv6 on a global scale will not happen for many years. In the meantime IPv4 users need to use workarounds like NATs, which add additional complexity and increase the likelihood that your Internet will "break".
>>
>>53863090
>carat
caret
>>
why is this a bad thing? now any 8 year old with a tablet can learn the basics of programming and possible even enjoy it.
>>
>>53865166
>doesn't even know discrete mathematics

0 is an integer
If x is an integer, x + 1 is an integer
If x is an integer, x - 1 is an integer

That's all you need, you faggot
>>
>>53867210
>caret
carrot
>>
>>53867246
Because coding language can be explained visually in a non retarded mix like the OP. Anyone who needs kittie meme emojis to do the above isn't going to make it in programming.
>>
>>53862384
Fuck off back to Facebook
>>
>>53866770
i don't think you grasp just how low the average is
>>
File: 1455379508190.gif (514 KB, 221x231) Image search: [Google]
1455379508190.gif
514 KB, 221x231
>>53862587
Implying bestiality isnt normal
>>
>>53867516
I think I do. And that's my point exactly. (:
>>
>>53867372
>carrot
karat
>>
>>53865166
>implying integers are not defined as equivalence classes of ordered pairs of natural numbers
>>
>>53865166
Are you retarded? Define a 1 and an operation +. Everything you can create with that, is called a natural number. So: 1, 1+1, 1+1+1 etc.
Next, define a 0 and for every natural number, define an inverse that becomes 0 under the operation + with that number. For example, the inverse of 2 (i.e. 1+1) would be "-2", so that 2 + (-2) = 0. This set is called integers.
>>
>>53867904
>confusing one definition with "the" definition
Lisp school, everybody.
>>
All my CSS classnames are emojis.
>>
>>53862713
Don't you mean Javascript?
>>
>>53867209

The definition of "integer" does not include a size in and of itself. Anything else, and you are using a different term to refer to the subset (I.e. "32 bit integer").

>>53867273
>>53868392
That you can find more efficient ways of defining integers does not make my definition any less correct.
Thread replies: 68
Thread images: 9

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.