Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » 1001 things to make a programmer facepalm
- DCPU-16
- Scratcher
100+ posts
1001 things to make a programmer facepalm
Sorry to be the guy who says this, but does this really count as an Advanced Topic? This seems like something that would fit better in a general discussion forum or TBGs; it should probably be moved there.
- MathWizz
- Scratcher
100+ posts
1001 things to make a programmer facepalm
Just because the first post says it's not a TBG doesn't mean it isn't a TBG.
running Chromium 42.0.2311.90 with Flash Player 15.0.0.189 on Arch Linux 3.19.5-1-ck
MathWizz — JsScratch && sb.js & Amber (coming soon! maybe)
- DCPU-16
- Scratcher
100+ posts
1001 things to make a programmer facepalm
The first post doesn't seem to provide any justification…See the first post. Sorry to be the guy who says this, but does this really count as an Advanced Topic? This seems like something that would fit better in a general discussion forum or TBGs; it should probably be moved there.
- Blueinkproductions
- Scratcher
1000+ posts
1001 things to make a programmer facepalm
The way all hardware problems are solved! Hit your keyboard with a hammer and hope it stops.
Generation 2: the first time you see this copy and paste it on top of your sig in the scratch forums and increase generation by 1. Social experiment.
____ _____ _______
| \ | | | | | |\ | | /
|___/ | | | |__ | | \ | |/
| \ | | | | | | \ | |\
| | | | | | | | \ | | \
|___/ L____ \___/ |_____ ___|___ | \| | \
PRODUCTIONS
Here's a hint: support = support.
<shameless self promotion>follow me! follow me! follow me! love my stuff! love my stuff! love my stuff! follow me! love my stuff! remix my stuff! follow me! follow me! </shameless self promotion>
- djdolphin
- Scratcher
1000+ posts
1001 things to make a programmer facepalm
Yeah, even if this wasn't intended to be a TBG, it's sort of turned into one. Should we move this to http://tbgforums.com/?The first post doesn't seem to provide any justification…See the first post. Sorry to be the guy who says this, but does this really count as an Advanced Topic? This seems like something that would fit better in a general discussion forum or TBGs; it should probably be moved there.
!
- Zro716
- Scratcher
1000+ posts
1001 things to make a programmer facepalm
1001wtmapf #420:
documenting like a noob// ok so this does something
var song_name = "darude sandstorm"; //semicolin
// I think it concatenates the things
twenniwan = 9 + 10; //semicolin
Last edited by Zro716 (March 19, 2015 03:29:33)
As a long time Scratcher, I have found new meaning to the name “Scratch”: for me, it means to “scratch that itch”, to come back again and again to realize new ideas in this toy language, even when I'm capable of creating my projects in real programming languages years later. It's a friend that helped me to pursue programming and get me to enjoy its fruit. I'm certain many others who have walked this path as well have grown fond of its importance in their life.
- nXIII
- Scratcher
1000+ posts
1001 things to make a programmer facepalm
It's actually because {} + [] parses as an empty block followed by a unary + operator (whose operand is []). If you type ({} + []) you'll get the more reasonable "[object Object]".JS tries to coerce these, but first it looks at the "+" as a number for some reason{} + []
+[] becomes 0, then it attempts to add that, coercing the {} to a number, and you end up with 0
Don't ask me why JS decides suddenly to treat +[] as a number when it didn't before
- kvackkvack
- Scratcher
500+ posts
1001 things to make a programmer facepalm
How about let's end this chat and move on to serious talk?
- liam48D
- Scratcher
1000+ posts
1001 things to make a programmer facepalm
http://tbgforums.com/?Yeah, even if this wasn't intended to be a TBG, it's sort of turned into one. Should we move this to
I don't have an account there yet. ;-; I'll have to sign up lol.
How about let's end this chat and move on to serious talk?
I hate it when my sister is trying to do Processing JS code, or any code with a triangle functions, and she gives it 4 arguments. Like, triangle. Seriously. Perhaps you need to put six arguments, for the three points?
202e-202e-202e-202e-202e UNI-CODE~~~~~
- ninjagolloyd
- Scratcher
500+ posts
1001 things to make a programmer facepalm
This is my sister's JS that “generates unikitties”:http://tbgforums.com/?Yeah, even if this wasn't intended to be a TBG, it's sort of turned into one. Should we move this to
I don't have an account there yet. ;-; I'll have to sign up lol.How about let's end this chat and move on to serious talk?
I hate it when my sister is trying to do Processing JS code, or any code with a triangle functions, and she gives it 4 arguments. Like, triangle. Seriously. Perhaps you need to put six arguments, for the three points?
klhskgbvfhkdsfhslsgfkg(5521525,24742,224);
jsvnlmfnehcnhkjfxmfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff(0xhjbhbgghnjjmkfdhgmbxbhvmghdj);
abcdefghijklmnopqrstuvwxyz(zyxwvutsrqponmlkjihgfdecba);
bean
- __init__
- Scratcher
1000+ posts
1001 things to make a programmer facepalm
“What file is the registry in?”
thisandagain pls explain
- TheHockeyist
- Scratcher
1000+ posts
1001 things to make a programmer facepalm
http://prntscr.com/6io72gAAAAAHHHHH!!!!!!! So funny!
Frequently heard from my grandparents: “How do I fax a picture from my cell phone?”
…(You could put your cell phone on the fax machine and be done with it… but they mean “how do you use your cell phone to fax a picture?”.)
Last edited by TheHockeyist (March 19, 2015 13:24:11)
- __init__
- Scratcher
1000+ posts
1001 things to make a programmer facepalm
Oh no that's wrong, everything has to be in main().
Oh, and if #define macros save memory, then why not use them instead of variables?
int main(int argc, const char* argv[]) { #include <iostream.h> #define thingtoprint "Hi" using namespace std; cout << thingtoprint; return 0; }
Oh, and if #define macros save memory, then why not use them instead of variables?
if boolean=true { #define userinput "" cin >> userinput if userinput == "yes" { #define userSaidYes true } }
thisandagain pls explain
- OmnipotentPotato
- Scratcher
1000+ posts
1001 things to make a programmer facepalm
Lol. At least they have cell phones though.http://prntscr.com/6io72gAAAAAHHHHH!!!!!!! So funny!
Frequently heard from my grandparents: “How do I fax a picture from my cell phone?”
- __init__
- Scratcher
1000+ posts
1001 things to make a programmer facepalm
(removed by moderator - please keep it polite)http://prntscr.com/6io72gAAAAAHHHHH!!!!!!! So funny!
Frequently heard from my grandparents: “How do I fax a picture from my cell phone?”
Frequently heard from kids these days: “What's a fax?”
Last edited by Paddle2See (March 19, 2015 13:36:10)
thisandagain pls explain
- Discussion Forums
- » Advanced Topics
- » 1001 things to make a programmer facepalm