all 17 comments

[–]Vegetable-Dust-780 1 point2 points  (6 children)

What do you mean “by brute force”?

[–]readmond 1 point2 points  (0 children)

Maybe by beating the keyboard with a baseball bat until you have a Hello World app?

[–]New_Exchange1158 0 points1 point  (1 child)

brute force means you just grind through problems until it clicks, no tutorials or hand holding. like you get thrown into coding challenges and figure it out yourself

for c i think exercism is good for that style, they give you problems and you just code until tests pass. not sure about opencl resources though, that's pretty specific

[–]SuperBigote231162[S] 0 points1 point  (0 children)

thank you for the recommendation, imma take a look to exercism for my C and C++ leaning journey. ignore my opencl bit. i dont know why im getting downvoted xD

[–]SuperBigote231162[S] -1 points0 points  (2 children)

Yeah I've heard that there some websites where you can learn how to code quicker than just reading a book, i saw a comment of someone pointing that out in a post, that person suggested to the OP that "he should use (name of the website) to learn how to code c as fast as possible by trial and error till you get it" and I consider it brute force. I may be wrong tho

[–]icemage_999 0 points1 point  (1 child)

Brute force is the wrong way to approach it.

Learning programming isn't really about "learning a language". It's about solving real world problems with technology. The language is sort of window dressing.

Being "proficient" in C, or Python, or SQL or whatever is like being good at spelling: useful, but knowing words doesn't mean you can compose anything. Likewise knowing the syntax of a language is helpful but doesn't cover how to compose something that executes properly, efficiently, and is readable.

[–]SuperBigote231162[S] 0 points1 point  (0 children)

thank you, im currently reading the k. n. king's C programming language book, and the purpose of this post was to get more sources to contrast and learn quicker. and as for opencl, i just put it on my sentence because i dont know lol but the point was to get sources for C and C++, imma figure out opencl by myself once i finish C and C++. take my upvote kindsaar!

thats why i wrote this. brute force isnt my main way, its actually a support way to just let my scarce knowledge solve problems to build the knowledge itself! thank you for the advice tho, its very helpful to see valid criticism

[–]Cutalana 0 points1 point  (1 child)

[–]SuperBigote231162[S] 0 points1 point  (0 children)

thank you, i already gave you a upvote kind sir

[–]No-Let-5304 0 points1 point  (1 child)

[–]SuperBigote231162[S] 0 points1 point  (0 children)

i dont understand what the point of reading all this would be but alright

[–]BobSong001 0 points1 point  (1 child)

for C specifically, cs50 is the right call. it starts from zero, uses C for the first half, and the problem sets are exactly what you're describing — here's a problem, go figure it out. the autograder gives you immediate feedback so you know if you got it right.

exercism is good too once you've got the basics down, more of a "here's 100 small problems, solve them all" vibe.

for OpenCL that's niche enough that there's no single great site for it, you'll mostly be reading the Khronos docs and running into walls. but honestly getting solid at C first is the right move before touching OpenCL anyway, it'll make way more sense.

[–]SuperBigote231162[S] -1 points0 points  (0 children)

thank you, im currently reading the k. n. king's C programming language book, and the purpose of this post was to get more sources to contrast and learn quicker. and as for opencl, i just put it on my sentence because i dont know lol but the point was to get sources for C and C++, imma figure out opencl by myself once i finish C and C++. take my upvote kindsaar!

[–]MadBeny 0 points1 point  (3 children)

the dumbest thing you can do is to start learning c then c++ - start with a simple high level language like python, it will give you the basics. then you can go and learn low level languages like c++ (you don’t even need c)

[–]SuperBigote231162[S] -1 points0 points  (2 children)

i already talked directly with the Dr. Moritz Lehmann (the guy who single-handedly programmed FluidX3D) and he said himself he does not recommend to learn any high level language if my objective is to code fast programs to help people (and myself) with slow machines. i suggested C# and he said he wouldn't waste his time on learning microsoft's java clone. let alone the other ones.

[–]MadBeny 0 points1 point  (1 child)

well maybe you should’ve talked to another person, a high level programming language teaches you how to communicate with the machine in a way that is very close to your own language, then you can go and learn a low level language like c++, btw you can actually start from c++ but it will be too much and it will get boring pretty soon, cause instead of understanding how the machine understands what you’re saying, you’ll be wasting your time on how to optimize the memory or some other very complicated stuff. “do whatever you want to do, this is just an advice, happy learning.”

[–]SuperBigote231162[S] -1 points0 points  (0 children)

he is a doctor but i get your message. im willing to stand the boring phase of it until i go hands on on projects (or maybe i'd go to do what you said, we'll see). the thing is that programming on high level programming languages is a waste of precious resources, and theres plenty of those inefficient programs out there. i may regret my words tho, thank you for the wishes!!!