MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/Python/comments/7oaay5/really/dsdafpp/?context=3
r/Python • u/fabrikated • Jan 05 '18
317 comments sorted by
View all comments
Show parent comments
1
Bullshit.. give me ab example
-1 u/[deleted] Jan 05 '18 Globals, for instance. 1 u/scootstah Jan 06 '18 public static string foo 1 u/[deleted] Jan 08 '18 Is that Java? 1 u/scootstah Jan 08 '18 This is your globals in Java. Although I'm not sure why you're toting globals around as a good thing. 1 u/[deleted] Jan 08 '18 Unterminated lines is Java? Member variable declarations outside of classes is Java?I am not saying globals are a good thing. I am saying that it is something you can do in Python that you can't do in Java. 2 u/scootstah Jan 08 '18 Uncomplete example for brevity. Perhaps I gave you too much credit to figure it out.class Example { public static string foo = "bar"; } Example.foo; → More replies (0)
-1
Globals, for instance.
1 u/scootstah Jan 06 '18 public static string foo 1 u/[deleted] Jan 08 '18 Is that Java? 1 u/scootstah Jan 08 '18 This is your globals in Java. Although I'm not sure why you're toting globals around as a good thing. 1 u/[deleted] Jan 08 '18 Unterminated lines is Java? Member variable declarations outside of classes is Java?I am not saying globals are a good thing. I am saying that it is something you can do in Python that you can't do in Java. 2 u/scootstah Jan 08 '18 Uncomplete example for brevity. Perhaps I gave you too much credit to figure it out.class Example { public static string foo = "bar"; } Example.foo; → More replies (0)
public static string foo
1 u/[deleted] Jan 08 '18 Is that Java? 1 u/scootstah Jan 08 '18 This is your globals in Java. Although I'm not sure why you're toting globals around as a good thing. 1 u/[deleted] Jan 08 '18 Unterminated lines is Java? Member variable declarations outside of classes is Java?I am not saying globals are a good thing. I am saying that it is something you can do in Python that you can't do in Java. 2 u/scootstah Jan 08 '18 Uncomplete example for brevity. Perhaps I gave you too much credit to figure it out.class Example { public static string foo = "bar"; } Example.foo; → More replies (0)
Is that Java?
1 u/scootstah Jan 08 '18 This is your globals in Java. Although I'm not sure why you're toting globals around as a good thing. 1 u/[deleted] Jan 08 '18 Unterminated lines is Java? Member variable declarations outside of classes is Java?I am not saying globals are a good thing. I am saying that it is something you can do in Python that you can't do in Java. 2 u/scootstah Jan 08 '18 Uncomplete example for brevity. Perhaps I gave you too much credit to figure it out.class Example { public static string foo = "bar"; } Example.foo; → More replies (0)
This is your globals in Java. Although I'm not sure why you're toting globals around as a good thing.
1 u/[deleted] Jan 08 '18 Unterminated lines is Java? Member variable declarations outside of classes is Java?I am not saying globals are a good thing. I am saying that it is something you can do in Python that you can't do in Java. 2 u/scootstah Jan 08 '18 Uncomplete example for brevity. Perhaps I gave you too much credit to figure it out.class Example { public static string foo = "bar"; } Example.foo; → More replies (0)
Unterminated lines is Java? Member variable declarations outside of classes is Java?
I am not saying globals are a good thing. I am saying that it is something you can do in Python that you can't do in Java.
2 u/scootstah Jan 08 '18 Uncomplete example for brevity. Perhaps I gave you too much credit to figure it out.class Example { public static string foo = "bar"; } Example.foo; → More replies (0)
2
Uncomplete example for brevity. Perhaps I gave you too much credit to figure it out.
class Example { public static string foo = "bar"; } Example.foo;
→ More replies (0)
1
u/Skypain Jan 05 '18
Bullshit.. give me ab example