prev
What are you working on, Any Forums?
/dpt/ - Daily Programming Thread
Other urls found in this thread:
github.com
github.com
twitter.com
I actually just started learning some basic stuff a couple of weeks ago. I was curious to know if there are any sites or communities that help beginners start on projects just to get the hang of things
>I was curious to know if there are any sites or communities that help beginners start on projects just to get the hang of things
I don't know of any such community, but it's pretty common for existing projects to have tasks labeled good for beginners.
Example: github.com
That's how I started contributing, anyway. Just found a project I thought was cool in a language I knew and tried to find the most basic, easiest task available.
How to learn to program?
I'm doing exercices, I'm reading books, I'm reading into actual code...but I'm still lost as to how to actually write a program.
>but I'm still lost as to how to actually write a program.
literally just write a program. Think of something you want to write and get some code on the page that will make it happen. It doesn't matter how messy it is, as long as it works.
does each thread has its own even loop in python's asyncio?
Are you writing code? Are you doing the exercises?
What's your take on type inference?
That kind of type inference is so useless it might as well not even exist.
>github.com
This looks useful. I'll definitely look into more once I get a firm grasp of the basics. Thanks a lot user.
ultimately it's harmful. and langs should favor explicitness over convenience
divide and conquer
Ok, I'll try that. But what type of program should I opt for?
Some are too difficult, some are too simple, some require me informing myself on specific domains.
So I'm just gonna try to code a little program I'd like to have, and see where that leads me.
I am trying yes, but the exercice are very domain specific. they require some knowledge in maths, logic,...
I don't think you're gonna make it.
Nah, this is still really useful in a verbose language like Java. Inlined closures in the streaming api would basically be unusable without it.
based when it's hindley milner-like, like rust
it's always good, I use it whenever it's possible. only cases where I don't use it is when I want a specific integer type that isn't obvious from the value assigned, such as byte b = 0xff;
Reminding anons to use github.com
Was it that hard?
var b = (byte) 0xff;
good bait
That isn't even bait. I code like that. I use type inference whenever I can.
Learning codebase and training. Corp tax deductible training.
both of our versions assign a value of the type byte. both of our versions would require the same amount of re-typing if the variable type were to change (delete the 4 characters 'byte' and insert the name of the new type), but mine is shorter so I win
It's great.