Average Python Developer Salary By State

SheWantTheD

Veteran
Joined
Sep 10, 2015
Messages
41,632
Reputation
2,550
Daps
103,998
Wonder why more people aren’t trying to learn it. Make good money after 6 months - 2 yrs (or however long it takes you)
coding is not for everybody lol.

You might understand the basic and know how to write code but do you understand algorithms, the different data structures used to solve issues when it comes to programming. Are you able to think like a programmer?

STEM is not for everybody.
 

TheAnointedOne

Superstar
Joined
Jul 30, 2012
Messages
8,710
Reputation
1,001
Daps
34,206
I hate looking at code from new languages. It always looks like a nightmare.

In reality you only need to learn 2 of the 4 'main' languages which are: C/C++, Java, Javascript/NodeJs, and Python. There are alot of these newer, trendy languages that come and go and people forget about them. They don't solve any problems that the big 4 couldn't handle.

Code:
for fukk in ["fukk", "Rust", "&", "C++", "Too"]:
    print(fukk)

Code:
from dataclasses import dataclass
import string

@dataclass
class User:
    name: string
    rep: int

    def add_to_rep( self, value ):
        self.rep += value

noob = User( "Mike809", 1880 )
noob.add_to_rep( -10 )

print( "Negged!" )
 

Mike809

Veteran
Supporter
Joined
Oct 15, 2015
Messages
17,371
Reputation
4,773
Daps
88,704
Reppin
Bronx
In reality you only need to learn 2 of the 4 'main' languages which are: C/C++, Java, Javascript/NodeJs, and Python. There are alot of these newer, trendy languages that come and go and people forget about them. They don't solve any problems that the big 4 couldn't handle.



Code:
from dataclasses import dataclass
import string

@dataclass
class User:
    name: string
    rep: int

    def add_to_rep( self, value ):
        self.rep += value

noob = User( "Mike809", 1880 )
noob.add_to_rep( -10 )

print( "Negged!" )


Code:
class user:
    def __init__(self, name, rep) -> None:
        self.name = name
        self.rep = rep

    def removeRep(self):
        self.rep -= 10
        print(f"Stop! He's already at {self.rep}")


Negative_Gate = user("Negative.Gate", 280)

while True:
    Negative_Gate.removeRep()
 

qwer

Banned
Joined
Apr 14, 2015
Messages
1,368
Reputation
-527
Daps
2,487
Code:
class user:
    def __init__(self, name, rep) -> None:
        self.name = name
        self.rep = rep

    def removeRep(self):
        self.rep -= 10
        print(f"Stop! He's already at {self.rep}")


Negative_Gate = user("Negative.Gate", 280)

while True:
    Negative_Gate.removeRep()
This is going to be an Infinite loop though
 

TheAnointedOne

Superstar
Joined
Jul 30, 2012
Messages
8,710
Reputation
1,001
Daps
34,206
This is going to be an Infinite loop though

Probably the point. Don't know how the python runtime will handle out of bounds shyt but I'm assuming his app will crashed once rep is below -2147483648

Guess I have nothing to add but show the rust version of my previous code:

Code:
struct User {
    name:String,
    rep:i32,
}

impl User {
    fn new( name:String, rep:i32 ) -> Self {
        Self {
            name,
            rep
        }
    }

    fn add_to_rep( &mut self, value:i32 ) {
        self.rep += value ;
    }
}

fn main() -> Result<(), String> {
  
    let mut u = User::new( "Blah".to_string(), 1000 ) ;   

    u.add_to_rep( -10 ) ;   

    Ok(())
}
 
Top