[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/biz/ - Business & Finance


View post   

File: 119 KB, 1200x800, cuckplusplus.jpg [View same] [iqdb] [saucenao] [google]
26579227 No.26579227 [Reply] [Original]

Gonna spend 8 hours paid a day to learn C++.


I a watching Cave of Programming - C++Tutorial for Beginners now to get started. Any other good resources to get skilled in C++.

I have some background in Python/Math, but C++ is probably a whole different beast.

Any suggestions/resources appreciated.

>> No.26579285

>>26579227
how are you getting paid to learn

>> No.26579309

it's not hard if you know python, it just has pointers
Who is paying for this

>> No.26579311

>>26579227
you'll love it for a few years then start hating everything about coding and wish you just took up that comfy stressfree job instead.

>> No.26579433

why?

>> No.26579519

Learn Golang instead

>> No.26579524

>>26579285
Convinced my boss to let me do this. Getting 5k USD net a month. Comfy
>>26579309
Thanks was just checking the pointer part. Isn`t memory management a thing as well?
>>26579311
Meh I am good. Also would love to code some of my own projects that now run into multithreading issues (i.e. algotrading on kraken).

>> No.26579661

>>26579524
I could be wrong but I think having to purposely handle memory stuff is more c

>> No.26579685

>>26579227
>claims to already know python
>needs to take a course to learn c++
ngmi

>> No.26579764

>>26579524
>multithreading issues
you don't need c++ to make api calls to an exchange. also theres a few bots on github c++ backend nodejs frontend for trading.

>> No.26579833

>>26579524
what field do you work in that’s crazy

>> No.26579955

>>26579227
Learn javascript and Swift, not C++

>> No.26580020

>>26579833
finance
>>26579685
say something
>>26579764
i know but c++ is better for arbitrage than python i think. regardless I would like to learn c++.
>>26579661
ah alright didn't know

>> No.26580021

Kind of irrelevant, but I just want to say I really like this chubby fuck's talks on C++.
https://www.youtube.com/watch?v=rHIkrotSwcc
I love C, but these talks and the SerenityOS dev videos really changed my opinion on C++. It looks like a very comfy language. I wish I could use it now and then instead of C at work.

>> No.26580105

>>26579661
you're not wrong.
"modern" C++ is all about trying to be "safe" aka a pussy.

>> No.26580115

>>26579524
You love the idea of building some sort of code/application that will passively print money for you.

Do you want me to burst your bubble now, or do you want to burst your own bubble?

t. Fintech dev working for Credit Suisse + doing my own forays into defi for the past 8 months.

>> No.26580272

>>26579519
This, but not instead... After you learn c++ then learn golang. Then learn nodejs. Then learn browser JS/react. You will be a very hot commodity.

For funsies learn Rust.

To hone your skills, train your brain using a functional language. it is good to think in a functional way even if you aren't programming in a purely functional language.

>> No.26580368

>>26579227
Get yourself an Arduino for practising. That starter kit will provide you with all you need and it's cheap as fuck.

>> No.26580369

why are ppl here so fucking arrogant. im asking for resources for c++ not for advice on WHICH language to learn

>>26580115
lol bro. credit suisse... ahhhhhh amazing.
nigger i worked at optiver for 7 years i know how to make money.
nigger.

>> No.26580516

>>26580369
If you learn javascript, you essentially know all you need to know for C++, and C++ is basically just a learning language that no one really uses anymore.

Regardless, everything you need to learn is on Youtube and Stack overflow. What kind of "resources" are you looking for? Pick easy projects to build and just build them until you know what you're doing.

>> No.26580529

>>26580369
Youre asking programmers about language what do you expect, its like this anywhere you go

>> No.26580581

Go read this shit, op. Compilers: Principles, Techniques, & Tools

>> No.26580656

>>26580516
>If you learn javascript, you essentially know all you need to know for C++, and C++ is basically just a learning language that no one really uses anymore.
want to know how i know you're talking out of your ass?

>> No.26580687

>>26580581
thanks fren

>> No.26580770

>learning c++ in current year
Learn rust.
Golang will go the way of ruby within 5 years.

>> No.26580783

https://exercism.io/users/sign_in

>> No.26580831

>>26580783
>https://exercism.io/users/sign_in
>>26580783
ah thanks.

reminds me of hackerrank

>> No.26580893

Why would you waste your time learning a 30-year old language?

>> No.26580925

>>26580656
No I don't care about your rant about pointers, compiled vs interpreted languages, and whatever other shit you want to say. If you know javascript (which is much more useful in 2021), it'll take you a week to figure out whatever you "need" to do in C++ (you won't need to do anything using C++).

>> No.26580945

>>26579955
stop being a retard, watman

>> No.26580948

>>26579227
C++ is a shit language

I got all in to C++ 10 years ago and wrote a bunch of software for Linux and Windows.

All the library hell to get anything done without literally writing it yourself was the worst programming days I've had.

I'll still use C/Asm if I'm programming for embedded because using anything higher is just silly but haven't needed to use the C-Pre-Processor in a while.

>> No.26580952

>>26579955
Such a shame that the entire crypto ecosystem is built entirely on javascript, and basically vendor locked to a few things like Metamask.

>> No.26580983

>>26580893
why would you waste your time asking redundant questions. fucking niggerbrain

>> No.26581065

>>26580952
>it's built on javascript
lmfao no wonder crypto is only speculative

>> No.26581154

>>26579227
I work with c#/javascript/react. Always hated c++.

>> No.26581173

>>26580369

Bjarne Stroustrup's Programming: Principles and Practice Using C++ is pretty much the bible, not an easy read though. Accelerated C++

This is also great: https://en.cppreference.com/w/

If I was learning I'd probably use Udemy or this: https://www.learncpp.com/

>> No.26581183

>>26580983
Imagine getting mad at people trying to give you good advice

>> No.26581228

>>26581173
appreciated

>> No.26581261

>>26579227
Why C++? Just learn C until you understand memory management and then ditch it. After that learn Python to understand scripting and ease of coding and to appreciate types and what the absence of them will do to your code. Then learn C# and focus on that for the rest of your life.

If you absolutely want to learn C++, you should just learn Rust instead. The only thing you can learn from C++ is to appreciate the actually good programming languages (pro tip: C++ is not a good language)

>> No.26581297
File: 94 KB, 694x453, TCR.png [View same] [iqdb] [saucenao] [google]
26581297

>>26580925
Wow, I thought you were baiting but you're an unironic krugerite.

Explain pic related, which is a major deal, or just shut up. Anons who know the answer, Abbreviate it, don't explain it quite yet.

>> No.26581298

>>26580948
Based, C is the language of the gods. Handmade ethos.

For OP, you should learn everything low-level if you want to get gud; pointers, memory, dissassembly, debugging, etc.

Check out Handmade Hero with Casey: https://guide.handmadehero.org/intro-to-c/day1/

He's also working on a much better course but it'll be a while before it's done.

>> No.26581305

>>26579227
If you know Java, you know C++, except for specific edge cases where memory allocation might be used. Even if you only know Python, as long as you've done OOP you'll figure C++ out in no time.

Why the fuck are you learning C++ though? Trying to get into game dev?

>> No.26581688

>>26579227
Would rather learn about UNN desu

>> No.26581761

>>26581297
Someone is making a recursive method. No one cares about whatever point you’re trying to make. We’re trying to give OP valid suggestions to maximize his time usage.

>> No.26581764

>>26579227
There’s nothing wrong with learning C++ but pick the right tool for the job anon.

>Why Java is better than C++ for high speed trading systems

https://www.efinancialcareers.co.uk/news/2020/11/low-latency-java-trading-systems

t. C# dev in the financial sector with 10+ years experience

>> No.26581766

I know im on a mongolian basketweaving forum full of neets but most trading firms use c++

>> No.26581799

>>26579524
you have to destroy pointers, they dont destroy themselves when they leave scope like objects
thats about it really

>> No.26581893

>>26581764
I agree that Java is better to learn also. And I further stand by that if you learn Java, you can easily learn C++ and JavaScript in no time.

>> No.26582126

>>26579524
c++ while powerful, is a TERRIBLE solution for a long term automated trading bot as backengine
to begin with you have to interface with apis/library which doesn't support c++, you have to write your own wrapper, if you don't rely on tools like ccxt you will waste massive amount of time and opportunities
second you have to use a rdbms for order management and ticker history, this could be a bottleneck for HFT rendering c++ useless, if you don't use this your bot will be a chaotic mess and unmaintainable if it's ever successful
third the volume in crypto is way too small to justify the use of a language like c++, and WS technology will be able to handle HFT in the future just fine with standard scripting languages
fourth exchanges have query rate limitation that will make your c++ basically useless
fifth while I agree c++ can have niche uses on such tool, its use is wrapped under higher level language that handle low level for you through statistic/math libraries, if you think it's a good idea
sixth using c++ makes it harder to adapt it to a web server running flawlessly 24/7 or to develop a shared interface for other users that interacts directly with it, assuming you want to monetize it somehow
seventh the gap between c++ and scripting language, while always existing, just keeps getting smaller each years

>>26580272
stop with those meme languages. learn php if you deal with data on multiple servers

>>26580770
>>26581261
those are shills, rust will never be used, it's only a wish by 1000 people on the planet, they forgot that c++ evolves with time if needed. rust is safer but more verbose, imagine. don't

>> No.26582127

what language should I learn first. And what should I know before I start learning?

>> No.26582183

>>26581761
Yeah, the point is the way it's written is objectively wrong, and I'd yoi cant explain why you're a moron who knows nothing about programming at anything deeper than a superficial lego-block level. Morons like you are why software is bloated crap nowadays

>> No.26582339

>>26582183
dp with memoization can solve some problems very quickly, but yeah thats just retarded

>> No.26582377

learn HTML and CSS first

>> No.26582384

>>26582126

why do the following companies use c++
optiver, imc, drw/chopper, suquehanna, jump, citadel, tower research?

>> No.26582465

>>26582126
>using c++ makes it harder to adapt it to a web server running flawlessly 24/
prefer your python runtime errors?

>> No.26582598

>>26582465
python for back engine, ooga
>>26582384
why is windows 10 the biggest bloat created by mankind?

>> No.26582641

>>26579227
C++ is a godlike language for hobby and learning but it's awful in production.

>> No.26582661

>>26582127
Learn Python or JavaScript first to wet your whistle. Once you’ve got a good handle on the control structures (if statements, loops, etc.) move on to Java or C#. Once you have a good grasp there if you want to get low level check out C/C++

>> No.26582714

>>26582126
>php
that's like the niggerest tier of languages

>> No.26582766

>>26582661
javascript is fucking stupid you will never learn proper programming on a shitstain like javascript.
python is okay but the no1 learning language was always pascal. because it's basically pseudo code with strict syntax.

>> No.26582825

>>26582384

because they hire people who already know about smart pointers....

ive seen c++ done but idiots and idk good luck

>> No.26582831

>>26579955
I’m learning JavaScript. Specifically Vue any recommendations for learning resources?

>> No.26582886

>>26580925
>If you know javascript (which is much more useful in 2021)
ok, this has to be bait...
there's no way anyone could possibly be this retarded while also being this confident.

>> No.26582909

>>26581764
>

c++ is faster fuck JVM but the article says the same thing i did: OP is probably dumb

>> No.26582911

>>26582714
in 2021 there is no reason to learn anything else high level because there's simply no competition in terms of productivity and efficiency, it's good if you don't use oop and frameworks

>> No.26582916

>>26582766
Like I said retard use it to WET YOUR WHISTLE. As an absolute beginner it’s easy to get something up and running quickly and learn a few programming basics. Don’t dwell there forever, learn the absolute basics and move on.

>> No.26582984

>>26582825

idk actually good on op for learning c++ while paid its useful. good work fuck if it makes your job money youve learned a useful skill

>> No.26583029

>>26582911
i'm absolutely a c# sql guy when it comes to business software. so i might be biased but fucking hell php sucks ass. it was a long time ago i tried to use it and still have nightmares about how impossible it is to debug that shitstain.

>> No.26583093

>>26582916
that's what i said an absolute beginner should learn pascal first. it's not good for production or anything. but translation from pascal to c is straightforward enough. then c++ then some new gen high level language.

>> No.26583142
File: 143 KB, 500x855, pooinit.png [View same] [iqdb] [saucenao] [google]
26583142

>>26581764
>>26581893
very good language sirs

>> No.26583205

>>26582916
javascript is a terrible first language. It will give you brain damage

>> No.26583208

>>26582984
c++ was made for people that love challenges and wasting time on perfection.
it's not efficient to write software in it. i have written like 5 frameworks for c++ to make it productive. didn't work in the end. it was fun tho.

>> No.26583252

>>26582339
That's true, but theres a very specific thing going on at the compiler level which makes this code garbage. It's very basic knowledge about what a function actually is, and overhead there regarding. My broader point is that if one isn't even vaguely aware of programming at that resolution, one isn't qualified to weigh in on javascript vs c++

>> No.26583269

>>26583205
this it will make you an idiot for life.

>> No.26583419
File: 54 KB, 1280x720, bjorne.jpg [View same] [iqdb] [saucenao] [google]
26583419

see plos plos

>> No.26583508

>>26583208

oh ya :) idk fun tho

honestly the most useful to do here is to probably just learn Rust. amazon is switching their shit bc fuck if they can maintain whatever c++ nightmare they have thats probably like c++98 (you could NOT pay me to find out).

>> No.26583529

>>26583205
Physically cannot learn it as it gives me headaches. Every time I try to understand what it does along with every other web stack language I'm baffled.

C++ has a use case because it enables you to work in kernel space and with it the underlying operating system.

What is Javascript used for aside from web dev?

>> No.26583576

>>26583029
you output every errors, exception and notice (that's a parameter in the php conf) into one file then done?
I mean where's the difficulty? you correct your own mistakes until the file stays empty, wow so difficult
if you can't debug something so easy that indicates there's a problem with the way you make your code

c# is corporate verbose garbage and you know it, outside of number crunching the performance difference will be non noticeable but the code length clarity will

>> No.26583614

>>26583529
>t. midwit

>> No.26583617

>>26581297
>replace “int” return type with “function” keyword
>this is now valid javascript
are you trying to dunk on someone by acting pious about a fucking high school cs concept? lol

>> No.26583702

>>26583508
Rust tranny cultists need to stop shitting up this thread

>> No.26583714

>>26583614
>Let me learn something that I can't run outside of a browser

>> No.26583766

c++ is for code monkeys that can't think on their own. waste of fucking time. if you know python you should figure it out in a few days just playing around. your boss is dumb.

>> No.26583790

>>26583617
Wrong

>> No.26583848

>>26583529
>>26583714
I’m no JavaScript evangelist, but claiming it can only be used in the browser is retarded. Nodejs has been around for 11 years bud.

>> No.26583877

>>26583714
un-ironic retard
>nodejs
>trannyscript
>some other zoomer shit
I dont use nodejs but to not credit its use you have to be a tunnel-vision midwit

>> No.26583891

>>26583508
rust seems like a decent idea i will try it out when i have some free time.

my gf had to learn some python for work and they used this site (there was some self hosted service you had o download back then) but it was web based and i think it was pretty cool for learning and trying out stuff.
it complied your code almost as you typed it in and kept your scope for debugging.
https://jupyter.org/try

>> No.26583952

>>26583848
>Nodejs
Exists solely for web monkeys who never learned how to code in real languages but want to make non-browser apps

>> No.26584006

>>26583891
Python is an interpreted language. There's no compiling. That's why it's so slow relative to compiled languages.

>> No.26584012

>>26583617
also
>tail call recursion
do you think that this is some sort of deep insight you have hahaha

>> No.26584039

>>26583576
>you output every errors, exception and notice
oh god the fucking stone ages

>c# is corporate verbose garbage
hahahha the code is only verbose if you are shit at abstraction. in fact it very well integrated functional queries with linq and the syntax got denser and more readable over the years.

>> No.26584074

>>26583790
hurr i know how to flatten something into a loop i am brain genyous

>> No.26584082

>>26583848
>nodejs
what year is it, 2013?

>> No.26584105

>>26584006
every language can be compiled or interpreted. or precompiled or compiled to an interpreted bytecode...

>> No.26584173

>>26583848
>>26583877
I may be retarded but at least I don't know shit about HTML

>> No.26584178

>>26579227
learncpp.org
it's 100% text based, so you cant be lazy and just toss a video on. it explains everything in great detail

>> No.26584183

>>26583952
You are so wrong.

>> No.26584208

>>26583766
dumbest fucking post i read today congrats

>> No.26584256

>>26584039
tell me your bloated debug solution so I can laugh at how non productive you are?
that's the issue, always trying to add more features to make it "better", that's how you end up with an inefficient and unmaintainable mountain of shit

no matter what, c# will never be more productive than php, it will always contain more bloat, even if it supposedly got better

>> No.26584276

>>26584105
Wow deep. Python is still an interpreted language.

>> No.26584292
File: 18 KB, 309x372, 1485215427518.jpg [View same] [iqdb] [saucenao] [google]
26584292

>>26579524
What kind of job do you do that pays you to learn?

>> No.26584310

>>26582886
It's not bait. Do you not realize how popular javascript is?

>> No.26584340

>>26584012
No, thats precisely my point you mongoloid, its basic shit that makes a world of difference, which is why if you don't know it you're a retard who has no business weighing languages
>durrrrr

>> No.26584347

>>26583952
>>26584082
I would never use node personally, for a backend API or process I would use C# or Java like I do at work. I merely brought it up because some brain dead anon claimed you could only use JS in the browser, which hasn’t been true for over a decade.

>> No.26584374

>>26584310
it's only popular because it enables businesses to make optional client side spywares that converts bloat into money for them

>> No.26584377

another shitpost to shill your favorite language to make you feel superior for some reason.

nobody cares how good you are at programming or how good your programming language is, learn what is profitable, keep learning to get more money or if you enjoy education just keep learning, a language is fucking whatever, what is important is what you build with it.

>> No.26584402

>>26580656
You're clearly either unemployed or not in the industry, other some very specific roles barely anyone uses C++, Javascript / Python are king in 2021 either you like it or not.

>> No.26584439

>>26583702

im not even a rust cultist - please go maintain 15 y/o c++ code with mixed paradigms

>> No.26584483

>>26584374
Your opinion is irrelevant, people who actually make decisions think otherwise.

>> No.26584486
File: 298 KB, 600x512, questionmarknegro.png [View same] [iqdb] [saucenao] [google]
26584486

>>26584402
>barely anyone uses C++
You are clearly in the web dev industry

>> No.26584488

my brain hurts when I try to code

>> No.26584568

>>26579227
The cherno does a great high energy C++ series
https://www.youtube.com/playlist?list=PLlrATfBNZ98dudnM48yfGUldqGD0S4FFb

>> No.26584575

If JS is so popular why is it THE MOST FREQUENT web based attack; why is there a program in edge called Noscript.

Literal web devs trundling under the delusion they're real developers. Take the hint: you're not.

>> No.26584646

>>26579227
C++ is my favorite language fs

>> No.26584656

>>26584483
that was a fact, I make decisions and javascript is banned in our company, I will keep instructing employees that they can disable it for increased efficiency in their computing, javascript is for drawing optional UI nothing else

>> No.26584666

>>26582126
>bashes c++
>bashes rust
>recommends php
Lmao what is this level of dumbfuck.

>> No.26584683

>>26584208
thanks fren. i can tell you work in IT.

>> No.26584707

>>26584486
>"Web dev"
Almost everything is fucking "web dev" these days one way or another retard and it won't change anytime soon, I build microservices and ETLs. What you call "web dev" are 90%+ of the jobs in the industry either you like it or not.

>> No.26584735

>>26584666
Rust is unironically unusable garbage though. Anyone who's ever tried to write a real project with it knows that.

>> No.26584769

>>26584256
well i can not only pause at a breakpoint to dissect the snapshot of the process memory (which is fully and strongly typed) but i can also just type in c# code to an immediate window to alter or transform that managed state or dump it in a format i choose. i can also handle proper typed exceptions in a comprehensive manner and log everything to a database that is indexed for search and maintenance instead of a fucking plaintext log. jesus christ.

>> No.26584787

if you are going into coding, do not go into C++. This kind of language is almost exclusively written by people with an education in CS which you clearly don't have. If you want a quick career go full pajeet and learn Java as well as ERP software such as SAP or ORACLE EBS. I guarantee you will make bank in a multinational

>> No.26584798

>>26584707
>Almost everything is fucking "web dev" these days one way or another retard and it won't change anytime soon
Don't you have a street to be shitting on?

>> No.26584806

>>26581173
This is good advice. The only thing I disagree with is that Principles and Practice is not an easy read. It's an easy read, it has a lot of pages/text to walk you through concepts and examples and serves as a book for beginners (definitely start with this). Accelerated C++ is excellent as well.
Third book recommendation would be Effective C++: 55 Specific Ways to Improve Your Programs and Designs.
Good luck, many people seem to dislike programming in C and C++ because of how low level it can get and no libraries to hold your hand (especially C). Don't get discouraged.

>> No.26584877

Why is everyone here so salty?
t. learning Golang as my first language

>> No.26584881

>>26584735

shut up

https://aws.amazon.com/blogs/opensource/why-aws-loves-rust-and-how-wed-like-to-help/

>> No.26584887

>>26584656
None gives a fuck about your mudhut of a company, Javascript is most popular language and I'm saying this as someone who hates javascript more than you.

>>26584575
Again I fucking hate javascript, but it doesn't fucking matter if you think they are a "real developer" or not, a lot of people clean 100k+ writing javascript.

>> No.26584987

>>26584707
same happens to me, im fluent with golang but i mostly do js and py because im forced to do it in my job. i hate these type of retards that constantly cry about their language is better. while in reality it depends what you are doing with it.

>> No.26584989

>>26584340
as an employed developer, how often are you trying to provide optimizations at this level? outside of game development or systems programming where resource constraints should be primary concerns, these things won’t guide a programmer anything but spiritually. in most mid size to large size enterprise business projects people are concerned with readability and consistency over micro-optimizations. in a middling corporate job, you will watch a product fail if you are worried about doing doofus shit like trying to explain to your other doofus teammates that you think the garbage collector is gay and it’s time to use a real language for backend work like FORTRAN.

>> No.26585003

>>26584887
But what does it actually do

>> No.26585006

>>26584683
if you think you can make code monkeys write code in c++ and not have a catastrophe you are fucking out of your mind or have no clue what you are talking about whatsoever. a code monkey can fuck around in a shitstain like php or javascript without bringing everything down. but that's about it.

>> No.26585008

>>26584877
Nerds who care more about what "real programming" is than actually just using programming as a tool to solve business problems and getting paid handsomely for it.
People in a board about making money caring more about "purity" than actually making money.

>> No.26585073

>>26584769
that is fucking BLOAT, don't you realize that? that has absolutely nothing to do with the logic of the tool you're building
you can also simply log everything you need in a table with php, I do that for one of my tool, I fail to see how it has anything to do with c#

>> No.26585088
File: 252 KB, 785x1000, thatfeeljewangry.jpg [View same] [iqdb] [saucenao] [google]
26585088

>>26584881
>shut up
Yeah I'm sure amazon loves rust about as much as they love niggers, trannies and women

>> No.26585111

>>26585073
>that is fucking BLOAT
it makes you productive takes seconds to find complex issues with your model transformations.

>> No.26585139

>>26585008
not 100% true, from business critical aspect you dont want some weak-typed programming language to randomly shit the bed = loss of profit

>> No.26585151

>>26585088
They are the largest investor in all three

>> No.26585174

>>26585073
>you can also simply log everything you need in a table with php
not in my days you couldn't but good to know they fixed that at least. i only dealt with php 4 and 5.

>> No.26585186

>>26584575
Just stop anon, you are a dim wit and know naught of what you speak.

For a long time JS was the only language that ran client side in the web browser. So it was a very popular attack vector because it was the only game in town. You HAD to use it you run logic on the client, there was no alternative. Webassembly might change that eventually. In current year if you are a full stack dev you have no choice but to use JS.

>> No.26585209

>>26584887
everyone hates javascript, users without knowing it, and wannabee developers because it's shit

>> No.26585264

>>26582126
so what do you use, hm?
JS? Ruby?
Python?

>> No.26585310

>>26585073
just use XDebug and move on man. php doesn’t have to be as hard as you’re making it.

>> No.26585375

>>26584989
Point 1, writing in a way such that the compiler magically optimizes your code for you, which isn't any harder than writing wrong, is different from autistically optimizing and turning your code base into spaghetti

2, since I basically agree with you, I will restate that the point I'm making is only that the absence of this knowledge precludes one from weighing in on arguments between languages with any kind of authority like anon did. Don't distort my predicate

>> No.26585379

>>26585139
I'm not even making the case for any specific language, I'm literally saying just use the right tool for the job, these programming language religious wars are completely retarded, none in the the real world gives a fuck what inbreds think "real programming" and "real programming language" is.

>> No.26585403

>>26579227
Don't be a C++uck learn C instead

>> No.26585480

>>26585111
>model transformations
you're so deep into the bloat area that you can't even recognize efficiency and simplicity anymore
with a dual screen it takes literally one second to see when you create an error that got written in the log file
well have fun with your corporate bloat I guess

>> No.26585513

>>26584735
Like other low-level languages it has a minimum IQ to use. Sorry you’re stuck as a script kiddie forever.

>> No.26585548

>>26585375
based response.
cool then it definitely seems like we are both at least not retard level SWEs. get back to work son, lunch break’s almost over and those stories won’t move themselves.

>> No.26585549

>>26583252
what is your point? that there will be too many function calls on the stack and thus making it much more inefficient than an iterative solution?

>> No.26585826
File: 110 KB, 657x539, thatfeeldumb.png [View same] [iqdb] [saucenao] [google]
26585826

>>26585513
Ah yes, the old "your IQ is too low to write in Rust" argument. A classic.

I have written programs in Rust, I understand its concepts, it's just a giant pain in the ass that reduces productivity immensely for very little benefit.

If your IQ is high enough to write Rust code that compiles, then it should also be high enough to write correct C/C++ and leverage the plethora of static analyzers and run-time tools to make it reasonably secure.

>> No.26585918

>>26585310
this is still more bloat than necessary. not using any frameworks to begin will make your life easier, build your tools from scratch with properly designed libraries

>> No.26586075

>>26583529

web dev is web apps now. Discord and spotify desktop apps are written in javascript. No sign this is slowing down and we will see a lot more web apps like this in the future. In a lot of ways they are still unoptimized garbage but hardware is getting much better and the sheer number of people writing javascript means everything is improving rapidly.

>> No.26586233

>>26586075
fuck off zoomer, learn from those who have more experience than you
you don't make a website with something that can and should be disabled client side, your post is also very delusional

>> No.26586234

>>26585549
Basically.
If the final line were written
>factorial(n - 1) * n
The compiler deduces it can perform recursive tail call optimization, which eliminates the overhead from those stack frames, basically outputting ASM as if you'd written it iteratively.

>> No.26586318

>>26585480
>you're so deep into the bloat area that you can't even recognize efficiency and simplicity anymore
no you are just a stupid code monkey that writes unsophisticated horrible code.

>> No.26586571

>>26585918
XDebug is not a framework bossman, it’s a debug tool. you’re making an argument that local log statements are superior for debugging. do you know what’s good for debugging? a debugger. do you consider using gdb or valgrind to be bloat? this argument is specious at best. you know the cool thing about a debugger? you can turn it off in prod. you shouldn’t be debugging in prod. your log-every-other-line strategy is probably going to bleed the target disk for every last block because you’re too retarded or lazy to know how to install anything but a LAMP msi.

>> No.26586661

>>26586318
I don't write code based on instructions on how to design the code, you are just a corporate bloater that just cope with the fact that he has to create complexity for a living, and call his bloat "sophisticated", when all he does is using a bloated syntax that isn't even very low level, so again, have fun with your bloated language with 2x more lines than necessary

>> No.26586794

>>26586661
bullshit if you don't even know what atomic predictable state mutation is and why it is absolutely necessary you are just a low iq code monkey.

>> No.26586882

>>26586661
listen you stupid fuck one day you will have to write code where money or peoples employment is on the line or maybe even lives are at stake then you will learn how to fucking code.

>> No.26586895

>>26586318
>still arguing with that retard
Lmao, dude, just stop. You can see by his posts that he never touched a real application, he probably codes just simple CRUD applications with 5-10 entities at maximum.

I'm wondering how messy his code is. repository pattern? COMPLEX! dependency injection? BLOAT! ORM? NOOOO BLOAT MAKE IT SIMPLE! I'm pretty sure that a single PHP file handles routes, queries and business logic... and of course no unit tests.

>> No.26586913

>>26586794
You're probably one of those smug CS graduates who has a lot of book knowledge but couldn't code your way out of a cardboard box. I meet people like you all the time.

>> No.26587058

>>26586571
my point was to not use any framework regardless of using that debug extension or not.
your point is completely ridiculous, because in production you're not supposed to have any error to begin with, so your log file shall always stay empty, even if you're running a facebook sized website.
also you're comparing debugger for desktop programs and debuggers for a language like php which is also quite ridiculous.

>> No.26587122

>>26586913
i have 30 years of actual fucking coding experience. in fact i'm pretty much retiring this year i'm done. i have wrote several frameworks designed and implemented programming languages and have 10 years experience with business software used in fucking production in pharma companies and military.

but don't listen to me if you know better...

>> No.26587261

>>26587122
Imagine being an actual boomer and spending your life arguing with autists on a vietnamese basket weaving forum

>> No.26587388

>>26587261
Niggers as old as my dad desu

>> No.26587432

>>26587261
genx not a boomer. i just started early and retire early. no thanks to my job and savings or this board. i just come here to argue with retards as my corn makes my gains.

>> No.26587453

>>26586895
laugh all you want, but my code is to the point and only does what I want, my tools are extremely lightweight, fast, produced very fast with not a single extra character that has no reason to be there. your tools is a giant pile of shit with countless unrequired method such as oop, probably using frameworks, so you don't even know what it's precisely doing in every smaller details, you're probably from india

>> No.26587524

>>26586233

Not a zoomer and you are no doubt more experienced, but you didn't say anything about tons of apps being written in javascript. Disabling javascript on most modern web pages will literally make them cease to function. I'm not evangelizing js just telling you like it is, and you call me delusional.

>> No.26587614

>>26587058
>because in production you're not supposed to have any error to begin with, so your log file shall always stay empty, even if you're running a facebook sized website

You’re obviously an amateur dude, every production app in the history of software has had production errors. Why should we give any consideration to the opinion of a hobby project script kiddie dunning Kruger php brainlet?

>> No.26588271

>>26586794
>>26586882
>low level shit I'm smart
writing code where lives are at stakes means focusing on security, here the subject is efficiency, security has nothing to do with this, because you can go to great lengths in order to make your code secure, that's a completely different job.
I have never written code that directly acted on the life or death or some people, and if I was to do so I would certainly not be using a scripting language, so what's your point? algo trading is the opposite of security

>> No.26588302

>>26579227
have fun anon, even if you use the latest specification and stdlib it's still fucking retarded if you just want to build something simple
i mean just look at std::map
what an abomination, one would think it's not possible to make something so overcomplicated to utilize, yet it is

i might be biased towards python as a data scientist, only used c++ in uni, had to make a big project in it alone and three fourths of it are just fuckery with the retarded structures

>> No.26588525

>>26579524
That's based dude, I don't even have much time to learn it but if I did I'd do it for free.

>> No.26588548

>>26587614
I never said that there is no errors in production, but that when something goes into production, your tests didn't generate any errors
a log file is enough for debug in production if you write clean code

>> No.26588580

>>26588271
>writing code where lives are at stakes means focusing on security
no it's all about being deterministic and to the specs. it requires discipline and good practice and a lean but sturdy framework.
you system simply can not get to an illegal/unspecified state if there are lives at stake. security is an entirely different matter.

>> No.26588893

>>26587524
I know about those apps and I argue that it is bad design, less secure, and ultimately bloat. those apps you're referring to are not simple to make, harder to maintain, it's using a graphical language to do things it wasn't supposed to do in the first place. also arguably less performant both from the client and server point of view. why using js when printing conditional html can do everything you want? (ignoring fancy features like ws and video calls)

>> No.26588945

>>26588271
to be fair we rarely write code in high level languages that are a safety concern.
but it happened in my carrier. the hard real-time communication protocol ensured that if the c++ code or the operating system shat itself and did not respond in x milliseconds the plc handled it as a malfunctioning sensor and performed emergency shutdown.

but... if the code gave bad output because of an unspecified state or any transient error people could have died. that sort of thing teaches you stuff.

>> No.26588994

>>26588271
In both algo trading and other mission critical systems (i.e. ones where lives are at stake) the number one concern isn’t security it’s determinism. You want a predictable system that won’t crash, ever.

Again you are obviously an impostor who has no idea what they’re talking about.

>> No.26589050
File: 334 KB, 896x900, iscoffee.png [View same] [iqdb] [saucenao] [google]
26589050

Excuse me code-anons.
What language would work best to create my own simple site similar to:
>>https://merv.tech/mentions/biz/all
ty

>> No.26589114

just buy some top rated c++ udemy courses and follow along the projects. You pick up a lot of nice patterns and techniques if the developer you are watching is experienced

>> No.26589281

>>26589050
you're asking what kind of wrench is best for building a car

>> No.26589611

>>26588580
fine, I guess you have more experience than me in writing software that have a direct impact on the life of persons. regardless, if I have to write code for that one day, I will either not be using a framework, and write code slowly and from scratch, and conduct an audit of the code by one or multiple companies that will testify that such code is suitable for interacting with human lifes.
and if not, I will gladly refuse to do such job requiring to bloat your code for a purpose other than efficiency

>> No.26589815

GIVE ME GOOD PROGRAMMING MUSIC

>> No.26590209

>>26588994
personally, in the context of algo trading, I only write high level scripts, the crash of the system is handled by the person who handle the hardware, not me. if the system crashes for some reason, or the program not doing what it's supposed to do, then the worst that can happen is not selling a position when it was supposed to; since the "state" of the order is always up to date in the database, all I have to do is relaunch the trading bot as fast as possible, or could have a second machine, but it's more work than necessary, never had any issue in 4 years. you can argue that an accident can happen at any time, and I'm not interested in going that granular, but it's a risk I decide to take

so, I'm not sure what was your point. I never had any issue with the order status logic

>> No.26590419

>>26580516
What the fuck are you even talking about. Did you ever get out of bootcamp?

>> No.26590611

>>26590209
The approach you just described would be completely, entirely unacceptable in institutional trading software. So, again, my point is that you are an amateur and am failing to understand why we should respect anything you have to say about software development.

>> No.26590861

C++ sucks
learn rust first

>> No.26591438

>>26590861
brain damage

>> No.26591637

>>26585826
>If your IQ is high enough to write Rust code that compiles, then it should also be high enough to write correct C/C++ and leverage the plethora of static analyzers and run-time tools to make it reasonably secure.

the point is that code monkeys are retards and rust forces memory safety without requiring the code monkeys to understand formal verification

>> No.26591754

>>26591637

everyone is now a retarded monkey and i saw it especially recently when interviewing (outsourced) candidates. you can make money doing programming so its full of retards.

>> No.26591853

>>26591637
Then they just use unsafe blocks to make their code compile

>> No.26591977

>>26590611
1.this project I described is a side project of mine, for just me, and obviously if it was to be used for a business logic there will have to be a lot of consideration regarding continuity of the execution, and that would by the way largely be a hardware issue, not a software side issue.
here the subject is algo trading for personal use, not in the context of institutions.
are you expecting corporate shitty advices from institutional programmers producing bloated code here?

2. I still have 10 years of experience in business as the sole developer in a company specialized in customer relationship optimization, with big clients using tools I make, that makes me someone with a non zero experience, I'm not looking for respect, I'm just stating things that are true to me, and fishing for extra knowledge (which I barely found here so far) and the reader is free to take my advice on reducing bloat, or not

>> No.26592005

>>26591853

>what is a linter

>> No.26592075

>>26592005

>what is a .git prefetch hook

i want to retire and not work for a multinational company

>> No.26592557

>>26591853
at least the language tells you, that what you are doing is bullshit.
i write embedded c shit, and i always wonder if what i`m doing is correct, so i mostly abstain from using dynamically allocated memory, so i can minimize my error sources.
The customers often dont want to pay for code reviews, so my SW gets shipped untested.
Now i'm really getting anxious since i'm writing writing some error detection for a automotive production line, and i do that as a subcontractor and nobody around me seems to give a shit so idk it gets shipped untested again.

>> No.26592847

Apologies if this is a brainlet question but does cybersec require knowing how to code?

>> No.26592855
File: 173 KB, 900x600, fok.jpg [View same] [iqdb] [saucenao] [google]
26592855

>>26579227
HEAR ME OUT OP.

I am a software engineer, If you want to be attractive and super employable and be able to do ANYTHING go with java. C++ is great but there are way more jobs, frameworks and resources for java. Also about every backend system out there runs on either Java or .NET/C# which is also a good choice. Javascript is not for backends.
There are many cool languages that excel at some things like rust, elixir etc but it's the best choice to get a solid heavyweight language like java or C# and add anything else to your stack if you desire as you go

>> No.26592872

>>26580105
It is still better than python which completely remove having to learn pointers and memoy allocation.

>> No.26592948

>>26580115
spare us some more.
roadman may be.

>> No.26593032

>>26592557
>i write embedded c shit, and i always wonder if what i`m doing is correct, so i mostly abstain from using dynamically allocated memory, so i can minimize my error sources.
Sounds like you're a shit C programmer. Dynamically allocated memory is often the safer choice because you're not limited by your implementation's stack size limit. An accidental memory leak is better than an accidental stack overflow.

>> No.26593351

>>26582126
Poo covered hands wrote this post

>> No.26593473

>>26582831
Throw Vue in the trash and learn basic data structures and algos with vanilla js. If you want to learn a framework go with React.

>> No.26593985

>>26588548
clean code is a misnomer. dumbass. you need a good debugger and good logging.

also, to your earlier point
>also you're comparing debugger for desktop programs and debuggers for a language like php which is also quite ridiculous.
what the fuck are you on about? a debugger is a debugger is a debugger. the previous person you were lampooning about C# being bloated pointed out that Visual Studio has a builtin debugger for the CLR runtime. that is what that person was talking about. XDebug is the same concept, except it is for the PHP vm. neither are bloat. a debugger allows you to inspect the runtime operation of a program at a predetermined level of visibility.

in short, you are arguing against your own point but are too stupid to realize. again, i implore you to move past thinking you’re saving yourself or anyone else time by not using a plain and simple tool like a fucking debugger and trying to dunk on others because you’re mad someone rightfully pointed out that PHP is a steaming shit pile so slow that facebook had to write its own VM to support a non trivial user base.

>> No.26594060

>>26593032
you dont want to know how i avoid stack overflows, but yeah vou're right.

>> No.26594107

>>26592855
In your opinion, can one get anywhere with Python? I'm learning it now bc I'm too brainlet for anything else.

>> No.26595628

>>26593985
>please use a debugger for php
feel free to use an extra tool if that makes you happy. xdebug isn't required to produce clean and secure code.
as for php, like I already said there is no equivalent in terms of productivity. use low level code for number crunching, not a scripting language. outside that, php is blazing fast.

>> No.26596722

>>26579227
Shit language. Just learn Solidity.

>> No.26596924
File: 78 KB, 1024x1024, D5sMysjXoAAgO3i.jpg [View same] [iqdb] [saucenao] [google]
26596924

what iq do u need to learn programming