What are you working on, Sup Forums?
Previous Thread:
What are you working on, Sup Forums?
Previous Thread:
Other urls found in this thread:
en.wikipedia.org
en.cppreference.com
twitter.com
negotiating a raise from 20 to 24 tendies a week
I went to a coding boot camp 6 months ago and completed about a month ago. A few of my classmates got jobs right out, but I wasn't so lucky. And I think it's for a good reason. The more and more I program stuff for my resume, the more I realize I am having trouble with coding fundamentals. I was wondering if Sup Forums could point me in the right direction on how to actually learn how to code. It's baffling, I was taught things like clean code and unit testing, but not once did we discuss algorithms, or methods to manage memory in C.
andd that is the problem with those coding boot camps
you don't learn the most important things to code
>logic
>problem solving
>algorithms
>data structures
>working with databases
etc
Writing a book on Golang
>It's baffling
not for anyone with even a basic set of reasoning skills
Include anime in it.
>not for anyone with even a basic set of reasoning skills
>posts sicp an outdated meme book which will not help new programmers
>meme book
this retarded reddit way of using "meme" is pretty much all I need to discard your opinion on any subject.
>will not help new programmers
where exactly did I state that this was my intention? I couldn't care less about those sorts of plebs.
also, why do you space your posts in such a retarded fashion?
He's right, though--you're a fucking retard. Stop posting anime images and being a cunt. You're adding zero value to this discussion, you autistic loser.
Ah, you're so superior than us plebians. Cunt.
congrats
he didn't write a single true statement in his post besides quoting my obviously true sentence. how does that the same as being right? that's some pretty warped view of reality you've got going there
>Stop posting anime images and being a cunt.
Stop visiting an anime website if you hate it this much. there are much better places for you kind. i recommend "9gag" and "reddit", your fellow plebeians seem to enjoy them a lot.
>You're adding zero value to this discussion
I see, that'll surely stop me then.
If you think a "coding boot camp" isn't a retarded idea, then yeah, I am indeed superior to you. Cunt.
>he didn't write a single true statement in his post besides quoting my obviously true sentence
Stop reading here. You are autistic and not very intelligent. Sorry, but you need to get over your giant ego and learn a thing or two, kid.
>Stop reading here.
Any pleb would do the same. it's a pretty good defense mechanism when you are too weak to see the truth
>You are autistic
I didn't claim I wasn't.
>and not very intelligent
I didn't claim I was.
>you need to get over your giant ego
If being able to identify basic facts about reality constitutes a "giant ego" then I can't even begin to imagine what kind of self esteem issues you're going through right now. Is that the reason you feel the need to make these stupid posts? If so, then don't take my insults too seriously. I know you were born this way so you aren't really to blame here. Your parents are retarded though.
>le I watch anime and I am smug may may
>boot camp
>tfw Rust
didn't even read your post you autistic loser
she's kinda cute
What parts about SICP are outdated, and why?
who are you quoting though?
Yes, I know. If that makes you feel any better then I'm all for it. Wouldn't want to traumatize you even further. who knows what you might do to yourself.
how can someone who hasn't read it answer your question?
lisp is lacking oop
you don't learn algos or memory management at a boot camp because they teach you web dev, none of that matters in web dev
OOP is how you design stuff, it shouldn't be dependent on the language.
This exactly.
C isn't called an object-oriented language but it is definitely possible to write object-oriented C code and many people do so.
it's trash, but you can still have it in lisp.
>none of that matters in web dev
much like web """"dev"""" itself.
hey i was trying to be nice
Since C++ has concepts like Iterator, Destructable, and Allocator, how can I make it so functions will only take objects with a given concept as an argument?
Reading interview material, practicing my data structures, and trying to work up the courage to send out a resume
not implemented yet, try Haskell
>practicing my data structures
Any good recommendations for study material? I need to do this as well.
>yet
is it in the works?
well there's a TS but it's not in C++17
on some compilers you can
>well there's a TS
link?
turing machine
Just stop using that shitty language.
Go learn Rust, Haskell, or something with half decent generics.
Is the big O of this O(n^2)?
Was coming up with a way to transfer files over LAN and then got stuck reading WPF documentation for 2 hours.
en.cppreference.com
just learn haskell in the mean time
>read :: Read a => String -> a
>template a read(string);
I hate myself for not being good enough to learn Rust
reeeee
All I'm really doing is implementing them as best I can from memory.
Yes.
w-what is a data structure? how do i build one, senpai?
>w-what is a data structure?
A structure for data.
A data structure is a specialized format for organizing and storing data. General data structure types include the array, the file, the record, the table, the tree, and so on. Any data structure is designed to organize data to suit a specific purpose so that it can be accessed and worked with in appropriate ways.
>python
please remove that anime from your wallpaper.
>I hate myself for not being good enough to learn Rust
Don't feel bad.
Most of us are too stupid for Rust.
So I'm having alot of trouble with nested loops.
I'm taking a C++ course and I have a couple assignments coming up that require using nested for loops. Problem is, I just can't seem to get it. I spent a couple of hours on a simple program to make an hourglass shape from a user input like this:
######
####
##
####
######
I've managed somehow to make a loop produce the top half of the hourglass but I'm completely at a loss as to run the same loop backwards.
Is there anything I can read or maybe some free online practice work that I can do to "get" this shit?
what form does a tree take? is it a data type in most languages? is a tree an array or something else?
thank you akarin
nope
>the array
Some might argue that this is not a "true" data structure.
>the file
That is not a data structure.
>the record
That is not a data structure in itself, but it used to create data structures.
>the tree
Be more specific. There are lots of kinds of trees.
what's a good way of figuring these out? I can't come up with a standard procedure to figuring these out.
@58968626
oh, so it's a redditor. i see.
What book?
Now write a program to determine if it will halt. Preferably in the turing.txt itself
Literally in gcc 6.2, -fconcepts
This c++ fud needs to stop
>I can't come up with a standard procedure to figuring these out.
Most of it is just intuition and gut feeling.
Almost nobody actually rigorously proves that their algorithms are in some order.
Is there a loop dependent on the size of the input? Probably O(n).
Is there a nested loop, both dependent of the size of the input? Probably O(n^2).
Does the algorithm halve, or divide the input in some way? Probably O(log n).
A leftist tree can be implemented in an array, but that's not what defines a tree.
A tree can have n many children, each of which are also trees.
Probably one of the most basic ways to represent trees would be something like this C snippet:
struct binary_tree {
int data;
struct binary_tree *left;
struct binary_tree *right;
};
Although this generalises to any number of children.
Usually, a null pointer to used to indicate that there is no child.
Yes, I said some compilers.
It's not in the language, and unlike Haskell, C++ doesn't have a de-facto compiler
>de-facto compiler
Haskell doesn't have that either. Because it's simply impossible.
GHC
and regardless, type classes are standard Haskell
>Probably one of the most basic ways to represent trees would be something like this C snippet:
Thanks, can you give me a Python example, too?
>what's the standard procedure for finding the convergence of a discrete series
I'm afraid there is no "standard procedure" for the general case. An entire branch of Mathematics (called analysis) is dedicated to it. But for simple cases you just look at the largest depth of nested loops (for example in this case, there are two nested loops of depth two) and raise N to the power of that. But there are all sorts of reasons why it might converge quicker than O(n^x).
Why do retarded people indent their code with spaces? When will science find a cure for this brain disease?
GHC isn't a "de-facto compiler" because such a thing is simply impossible in the English language.
Maybe you meant "de facto standard compiler"?
>type classes are standard Haskell
I know, but how is that relevant here?
what is wrong with python?
>(a language)'s de facto compiler
and concepts are basically type classes
the fuck dude
It's impossible for something to be a "de-facto compiler". The language doesn't even play a role in determining this.
GHC is definitely the de facto standard compiler, I don't think anyone will argue this.
>and concepts are basically type classes
I didn't even say anything about that. Why do you think I disagree with this?
Same reason programmers use fixed-length fonts.
Also spaces can hide inside tab characters which is just awful in every way. IDE's could fix this problem, but they never do.
>how is this relevant here
what is with all these word games
other than it being complete garbage?
Nothing. People just look down on Python cause it is more accessible to others. For a scripting language, Python is 100% fine.
I look down on Python because of its retarded design decisions and cultish userbase.
You just said something impossible and I felt the need to correct it.
I would KILL for the web to run on Python instead of JavaScript. Just point me to the person.
Yourself.
do you have an actual argument?
>People just look down on Python cause it is more accessible to others.
nice strawman
>You just said something and I felt the need to contradict it.
fixed
if a language being garbage isn't an argument for you then I don't know what to offer
Please explain why Python is garbage then
Me correcting it would imply contradicting it as well. What is this retardation?
Any android devs here?
Learning Dagger 2 atm. Kinda awkward at first but holy hell this makes my tests so much easier to write. I didn't realize how shitty java was without dependency injection until recently.
Why would I do that?
Significant whitespace.
Dynamically typed.
Python 2 vs Python 3 fiasco
Stupid "tries to be like English" syntax
Terrible performance
Class attributes
"import solution" mentality
__this_shit__
Outer Loop 1:
Inner Loop 1:
//print whitespace
Inner Loop 2:
//print # sign
What are you confused about?
then what language should I use?
>Class attributes
explain
pretty much anything which doesn't hit most of the points here would be fine or at least better
I don't understand them
Hidden mutable global state.
Saw that guy wasn't gonna post an example so I wrote one up.
>Arm's-length recursion
You're a terrible, terrible programmer.
what's up with this "this." syntax? is this python 3?
forgot to use the walk_left and walk_right methods, silly me