When I do the three single quotes, the first two I type in put two single quotes, but then the third one puts in four more for a total of six. Do you know why this is happening?
Heyy i saw you on tiktok and I've just been fascinated about this Thanks for this its really fun and simple and u make it sound easier thsn my 9th grade teacher but ee didnt use python tho Anyway if i may ask what programs would you recomend i download on my not so high grade laptop so i can use python if that makes sense sorry thanks again
In general, it depends on company. I've worked at companies that hate comments and companies that love comments. I'd say the goal is to write code so good that comments aren't needed. The only time I leave comments in my code is for documentation, like leaving some business context. For example, I did this specific instruction because of a business rule. Then I would link to documentation / a discussion thread / a code review post. This way, if someone later on stumbles upon my code, they can always check those links to understand the reasoning behind it. Hopefully, this answered your question :)
Bro i am going to do software engineering because people say that future will work on software ' machine , AI and all so I have so much scope in future Thank you Vincent for teaching me very easily and quickly .
I have an Icelandic keyboard, and for the life of me I could not find out how to comment multiple lines at once, I tried every ALT, CTRL, AltGr button and it didn't seem to work. Do you recommend that people use a US english keyboard?
@@DanteKali not familiar with how icelanding keyboards work. Can you guys re-map some keys on the keyboard? To make a comment you need the / key To comment out multiple lines, you need to highlight the lines and do CTRL + /
at 1:07 it says to do ALT + / to put #s on all of the lines for Windows, but when i do that it adds a little comment bubble instead. Then i tried CTRL + / and thats when it put #s in front of all the lines.
I never thought about comments as a way to debug, except when I was being lazy and didn't want to lose my play code to try the next line but it still hadn't clicked that I was using commenting as a tool for debugging, thank-you will not dread using comments as a tool so much next time. . Believe it or not it gets confusing to me when you should use them and I thought do I really want to write notes in my code so yes, I need to get in the habit. I am experimenting with JavaScript right now still a little confused on the commenting symbols there, but I will research it better now that I understand how useful they can be in any language.
Damn you have great commentary! Please continue these, it helps me understand whether people are perceiving the content correctly! For JavaScript you use // to comment And /* code wrapped in here */ for block comment. We will cover JavaScript soon 👀
When I try alt+/ it removes the whole code
Sorry I'm on a MAC, but I think I made a mistake on the video. Try CTRL + /
@@CodewithVincent ye its CTRL
@@loopybrogaming1149 yep...I found the same thing.
For windows I had to press “Ctrl+/“ to comment out multiple lines
Nice, thanks for sharing!
same
From someone who comes from a non-tech background but would like to break in here, thank you! These videos are really helpful!
Glad it's helpful!
I know I’m late but I’m here
Never too late my friend
thanks Vicent. please do you have any social media handle.
Tiktok same as RUclips handle
When I do the three single quotes, the first two I type in put two single quotes, but then the third one puts in four more for a total of six. Do you know why this is happening?
The editor tries to be smart and thinks you want an opening ' and closing '. Just erase one of them and you should be good
Day 4 LETS GO!
Keep it up!!
Heyy i saw you on tiktok and I've just been fascinated about this
Thanks for this its really fun and simple and u make it sound easier thsn my 9th grade teacher but ee didnt use python tho
Anyway if i may ask what programs would you recomend i download on my not so high grade laptop so i can use python if that makes sense sorry thanks again
You don't need to download anything to start this series. Everything is done on a website :)
What did you learn today?
god damn this is easy so far
Easy is good right 😛
@@CodewithVincent and fun 😂
the ,,, it dose not work in my code
?????
It's the single quote key, not the comma key:
'''
Is there a good rule of thumb to know when you should be leaving comments in your code in a professional setting?
In general, it depends on company.
I've worked at companies that hate comments and companies that love comments.
I'd say the goal is to write code so good that comments aren't needed. The only time I leave comments in my code is for documentation, like leaving some business context. For example, I did this specific instruction because of a business rule. Then I would link to documentation / a discussion thread / a code review post. This way, if someone later on stumbles upon my code, they can always check those links to understand the reasoning behind it.
Hopefully, this answered your question :)
Ughh my comment didn't go red, I'm using this symbol three times " ' " right?
Want to share your code? Correct it's 3 single quotes
'''
Hello
'''
@@CodewithVincent I taught three single quote is used to block comment not to share code
Thank you so much Vince, I'm trying to break in tech and these videos are helping a lot.
Glad the videos are helping!
It is Ctrl + / to comment out the code in Windows
Thanks for sharing 👍👍
my hashtag is green??
It could be the settings you have on replit
Bro i am going to do software engineering because people say that future will work on software ' machine , AI and all so I have so much scope in future Thank you Vincent for teaching me very easily and quickly .
You're welcome Zoro ☺️
I have an Icelandic keyboard, and for the life of me I could not find out how to comment multiple lines at once, I tried every ALT, CTRL, AltGr button and it didn't seem to work. Do you recommend that people use a US english keyboard?
Uhhh I think ctrl + / should do the trick. Maybe you need to configure it on your computer, not sure tbh
i am sitting on it for an hour now. Did you figure it out? I have no idea
@@DanteKali not familiar with how icelanding keyboards work. Can you guys re-map some keys on the keyboard?
To make a comment you need the / key
To comment out multiple lines, you need to highlight the lines and do
CTRL + /
Great lesson Moving on to the next. Thanks Vinx
Hi, I have a french macbook keyboard (azerty), and the function command / doesn't work for me, any idea why ?
You should be able to check the settings on your keyboard and figure out which key is the /
at 1:07 it says to do ALT + / to put #s on all of the lines for Windows, but when i do that it adds a little comment bubble instead. Then i tried CTRL + / and thats when it put #s in front of all the lines.
Yeah my bad I got the wrong key :( I don't use windows
Hi Vincent,Am new to ya channel
Could ya please teach me how to code🙏
Yeah! Watch the videos series! You'll learn lots ☺️
These videos are fantastic! Thank you for making the programming process make sense!
Thanks man, glad you're learning from them :)
I took a very intro to python class and they never taught us the block comments, what a cool trick
Glad I was able to teach you something new :)
do you know why my single quotation marks populate more than 1 at a time when i try to do 3 of them? thank you for the short video formats btw
Yeah I don't know if there's a workaround, I have that issue too, but let me know if you find out
u make things so easy, thanks man. But i have one question, how do i undo something in replit?
Control + Z
@@CodewithVincent thanks! 🥰
I never thought about comments as a way to debug, except when I was being lazy and didn't want to lose my play code to try the next line but it still hadn't clicked that I was using commenting as a tool for debugging, thank-you will not dread using comments as a tool so much next time.
.
Believe it or not it gets confusing to me when you should use them and I thought do I really want to write notes in my code so yes, I need to get in the habit. I am experimenting with JavaScript right now still a little confused on the commenting symbols there, but I will research it better now that I understand how useful they can be in any language.
Damn you have great commentary! Please continue these, it helps me understand whether people are perceiving the content correctly!
For JavaScript you use // to comment
And /* code wrapped in here */ for block comment.
We will cover JavaScript soon 👀
@@CodewithVincent Thank-you I will try.
Do you provide 1 on 1 coding mentoring?
Yes I do :)