Server Help Forum Index Server Help
Community forums for Subgame, ASSS, and bots
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   StatisticsStatistics   RegisterRegister 
 ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin (SSL) 

Server Help | ASSS Wiki (-1) | Shanky.com
Taking the plunge? Java to C++
Goto page Previous  1, 2
 
Post new topic   Reply to topic Printable version
 View previous topic  MGB, your next avatar: Post :: Post demographics  View next topic  
Author Message
Mine GO BOOM
Hunch Hunch
What What
Hunch Hunch<br>What What


Age:42
Gender:Gender:Male
Joined: Aug 01 2002
Posts: 3616
Location: Las Vegas
Offline

PostPosted: Thu Feb 12, 2004 10:06 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

And really pretty code that takes you three years to figure out how to work is by those who learned Brainfuck.
Back to top
View users profile Send private message Add User to Ignore List Send email
Dr Brain
Flip-flopping like a wind surfer


Age:39
Gender:Gender:Male
Joined: Dec 01 2002
Posts: 3502
Location: Hyperspace
Offline

PostPosted: Thu Feb 12, 2004 10:50 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

Java isn't just for lazy people. It's for people who don't care about an ugly GUI who want their program to work right the first time in 1/2 the time it would take to write it in C++.

I find that lazy java coders are easy to spot. They are sloppy with their whitespace and don't label functions well. But the same problem exists in C++, just no one cares.

That said, Java is no longer my primary programming language. But through no fault of Java.
_________________
Hyperspace Owner

Smong> so long as 99% deaths feel lame it will always be hyperspace to me
Back to top
View users profile Send private message Add User to Ignore List AIM Address Yahoo Messenger MSN Messenger
Helicon
Server Help Squatter


Joined: Dec 03 2002
Posts: 771
Location: GNU Doldrums
Offline

PostPosted: Thu Feb 12, 2004 11:07 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

c++ is a poluted language... especially thanks to MS VC++ and this new "Managed" shit with .NET

(i will resisit the urge to make this a language-political thread right here and now)

but, en passant, i submit the following:

the D Programming Language

the Chef programming language
_________________
Signatures just seem so quaint.
Back to top
View users profile Send private message Add User to Ignore List
Helicon
Server Help Squatter


Joined: Dec 03 2002
Posts: 771
Location: GNU Doldrums
Offline

PostPosted: Thu Feb 12, 2004 11:09 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

Dr Brain wrote:
That said, Java is no longer my primary programming language. But through no fault of Java.


honestly, i don't consider java a true language. It's not compiled. I have learned to consider it high-level graphical cross-platofrm scripting.

In the end, we're all "assisted" asm programmers
Back to top
View users profile Send private message Add User to Ignore List
Jason
Novice


Age:41
Gender:Gender:Male
Joined: Feb 05 2004
Posts: 57
Offline

PostPosted: Thu Feb 12, 2004 11:12 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

Okay, here's something that's been bugging the shit out of me, albeit a tiny thing. I see tons of identifiers in various chunks of code, be it PHP or Java or C++ in which prefixes such as 'fn' and 'fc' are used. I did a little Google research and found that this naming convention is called "Hungarian Notation." However, that's about all I could find. I couldn't find any document which actually explained the significance of each individual prefix. So then, what the hell do those damn prefixes mean?! When do I use 'fc' versus 'fn'? I figure someone here will be be able to explain this to me. :]

On a side note, something tells me this is a little bit of knowledge I should have picked up in one of my introductory CS courses. Bad RIT (That's the school I was attending.) for not teaching it to me. :/
Back to top
View users profile Send private message Add User to Ignore List Send email
Helicon
Server Help Squatter


Joined: Dec 03 2002
Posts: 771
Location: GNU Doldrums
Offline

PostPosted: Thu Feb 12, 2004 11:17 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

from microsoft developer network

Hungarian Notation


i generally ignore it.
i have seen entire open source (successful) projects without it
Back to top
View users profile Send private message Add User to Ignore List
Jason
Novice


Age:41
Gender:Gender:Male
Joined: Feb 05 2004
Posts: 57
Offline

PostPosted: Thu Feb 12, 2004 11:21 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

Alright, so that nails most of them down. Still, is 'fc' some kind of combination of prefixes?
Back to top
View users profile Send private message Add User to Ignore List Send email
Mine GO BOOM
Hunch Hunch
What What
Hunch Hunch<br>What What


Age:42
Gender:Gender:Male
Joined: Aug 01 2002
Posts: 3616
Location: Las Vegas
Offline

PostPosted: Fri Feb 13, 2004 1:44 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

Hungarian Notation was good, back when you'd edit code in a simple text editor. But, with IDEs and kickass text editors, you don't need to remember if JoeColor was an int, short, or string. And with functions, it tells you what each argument in the function requires as you type it, thus making it not required for that either.

Technology killed this notation. Windows still uses it for their API, but I havn't seen much of it since.
Back to top
View users profile Send private message Add User to Ignore List Send email
Jason
Novice


Age:41
Gender:Gender:Male
Joined: Feb 05 2004
Posts: 57
Offline

PostPosted: Fri Feb 13, 2004 3:57 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

I guess that's why RIT never bothered to teach it to me then. Thanks, as always, for the informative post MGB.
Back to top
View users profile Send private message Add User to Ignore List Send email
Smong
Server Help Squatter


Joined: 1043048991
Posts: 0x91E
Offline

PostPosted: Fri Feb 13, 2004 7:36 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

Quote:
Code: Show/Hide
std::cout << "test" << std::endl;
Without looking at the tutorials, is this right?
Code: Show/Hide
namespace std;

void my_func()
{
   cout << "test" << endl;
}

Quote:
I find that lazy java coders are easy to spot
Am I a lazy Java programmer? I would prefer not to be lazy while at the same time taking advantage of the RAD capabilities of Java.
Back to top
View users profile Send private message Add User to Ignore List Visit posters website MSN Messenger
Dr Brain
Flip-flopping like a wind surfer


Age:39
Gender:Gender:Male
Joined: Dec 01 2002
Posts: 3502
Location: Hyperspace
Offline

PostPosted: Fri Feb 13, 2004 7:48 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

Quote:
Am I a lazy Java programmer? I would prefer not to be lazy while at the same time taking advantage of the RAD capabilities of Java.


I honestly don't remember icon_smile.gif
Back to top
View users profile Send private message Add User to Ignore List AIM Address Yahoo Messenger MSN Messenger
D1st0rt
Miss Directed Wannabe


Age:38
Gender:Gender:Male
Joined: Aug 31 2003
Posts: 2247
Location: Blacksburg, VA
Offline

PostPosted: Fri Feb 13, 2004 5:32 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

RIT? is that Rochester Institute of Technology? They keep spamming me to go there.
_________________

Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Cyan~Fire
I'll count you!
I'll count you!


Age:37
Gender:Gender:Male
Joined: Jul 14 2003
Posts: 4608
Location: A Dream
Offline

PostPosted: Fri Feb 13, 2004 6:17 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

@Smong, that will work as long as you don't include 'iostream.h', since there's also a non-STL cout and endl.
_________________
This help is informational only. No representation is made or warranty given as to its content. User assumes all risk of use. Cyan~Fire assumes no responsibility for any loss or delay resulting from such use.
Wise men STILL seek Him.
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Mine GO BOOM
Hunch Hunch
What What
Hunch Hunch<br>What What


Age:42
Gender:Gender:Male
Joined: Aug 01 2002
Posts: 3616
Location: Las Vegas
Offline

PostPosted: Fri Feb 13, 2004 6:27 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

You should learn to do printf. Much nicer, in my opinion, once you get the hang of it. Though, if you suck at remembing that %s doesn't work for ints, then you may not want to use it.
Back to top
View users profile Send private message Add User to Ignore List Send email
Jason
Novice


Age:41
Gender:Gender:Male
Joined: Feb 05 2004
Posts: 57
Offline

PostPosted: Fri Feb 13, 2004 9:23 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

D1st0rt wrote:
RIT? is that Rochester Institute of Technology? They keep spamming me to go there.

Yep, that's RIT. It's a great school if you're a hardcore nerd concerned only with programming/engineering. If you're like any normal college kid though, prepare to be bored shitless and probably depressed too. It's a drab and dreary place. Another thing to take note of is the fact that there is roughly a 7:1 guy to girl ratio. That's right, every party you go to will be one giant sausage fest. Yay!

I'm getting the fuck out of there and heading south, possibly to the University of Maryland or Virigina Tech.
Back to top
View users profile Send private message Add User to Ignore List Send email
Helicon
Server Help Squatter


Joined: Dec 03 2002
Posts: 771
Location: GNU Doldrums
Offline

PostPosted: Fri Feb 13, 2004 10:58 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

Jason wrote:
I'm getting the fuck out of there and heading south, possibly to the University of Maryland or Virigina Tech.


you call that south??? damn yankee...
Back to top
View users profile Send private message Add User to Ignore List
ExplodyThingy
Server Help Squatter


Age:39
Gender:Gender:Male
Joined: Dec 15 2002
Posts: 528
Location: Washington DC
Offline

PostPosted: Sat Feb 14, 2004 12:06 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

From one who lives in maryland, and knows people ho go there, dont. They have good areonotics and other junk, but just stay out. For your own good.
_________________
There are no stupid question, but there are many inquisitive idiots.
Loot

Dr Brain> I hate clean air and clean water. I'm a member of Evil Conservitive Industries
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Jason
Novice


Age:41
Gender:Gender:Male
Joined: Feb 05 2004
Posts: 57
Offline

PostPosted: Sat Feb 14, 2004 12:58 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

Helicon, I call it south relative to Rochester, NY. Yes, I'm a yankee as I was born and raised in northeastern PA, but I have spent quite a bit of time in the south over the years, mostly in Tennessee, Florida and Louisiana. :]

Splody, any recommendations of other schools down that way then, perhaps even in the DC area?
Back to top
View users profile Send private message Add User to Ignore List Send email
ExplodyThingy
Server Help Squatter


Age:39
Gender:Gender:Male
Joined: Dec 15 2002
Posts: 528
Location: Washington DC
Offline

PostPosted: Sat Feb 14, 2004 1:44 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

Im saying from a cultural (or lack thereof) aspect, dont come here. Yea its got all those monuments and the whole Smithsonian thing, buts its either extremely tourist or extremely political. Its boring here. In fact, I dont know a single adult who lives here now who actually grew up around here, they get fed up with it in a few years. Everyone around here in school wants to leave. No, Im not exaggerating in the least.

Thats not to say that Maryland isnt a good school, Im sure its fine. I can rattle off a long list of schools around here if youd like.

South Eastern University
American University
Maryland University
University of DC
Shaw-Howard Universit
Georgetown University
George Mason University
George Washington University
Catholic University
Virginia Tech
University of Virginia
And many more!

Heres something if youre seriously considereing location, the Metro (subway) system map, most of the stations share names with the school they are close to. So if you want an escape plan to Regan National Airport, enjoy
http://www.wmata.com/metrorail/systemmap.cfm

BTW, for those who care, my school is two blocks from Union Station
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
D1st0rt
Miss Directed Wannabe


Age:38
Gender:Gender:Male
Joined: Aug 31 2003
Posts: 2247
Location: Blacksburg, VA
Offline

PostPosted: Sat Feb 14, 2004 11:56 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

UMD and Tech are my 1st two choices for college, and I grew up in PG County, MD. Now I'm in fairfax, but im really still from PG.
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Jason
Novice


Age:41
Gender:Gender:Male
Joined: Feb 05 2004
Posts: 57
Offline

PostPosted: Sun Feb 15, 2004 2:59 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

Maybe I'll see you there at one of 'em then!
Back to top
View users profile Send private message Add User to Ignore List Send email
Fuzzjdc
Seasoned Helper


Age:39
Gender:Gender:Male
Joined: Dec 31 2002
Posts: 111
Location: Rowville, Victoria, Australia
Offline

PostPosted: Tue Feb 17, 2004 5:02 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

Jason wrote:
MGB, thanks for the offer about the PDFs, but unfortunately I'm on dialup so 100megs is out of the question.

hehehe, 100 megs is big for dial up??? you should see my stats for one month!!
(stats for one month on dial-up)
Total Time | Total Uploads | Total Downloads
736h 43m | 2711.58 MB | 3207.27 MB
_________________
Owner of CSAU Administration
Owner of Death Universe
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website AIM Address Yahoo Messenger MSN Messenger
Jason
Novice


Age:41
Gender:Gender:Male
Joined: Feb 05 2004
Posts: 57
Offline

PostPosted: Tue Feb 17, 2004 6:39 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

Sweet Jesus man! I'm home from school, where I was downloading 700MB movies in under a minute. What a smack in the face dialup has been. :/
Back to top
View users profile Send private message Add User to Ignore List Send email
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> Trash Talk All times are GMT - 5 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
View online users | View Statistics | View Ignored List


Software by php BB © php BB Group
Server Load: 401 page(s) served in previous 5 minutes.

phpBB Created this page in 0.229400 seconds : 43 queries executed (23.5%): GZIP compression disabled