Jump to content

  • Log In with Google      Sign In   
  • Create Account

Sean T. McBeth

Member Since 11 Sep 2000
Offline Last Active Jan 31 2016 06:54 PM

#5017836 Javascript / HTML5 best practices

Posted by on 05 January 2013 - 12:54 PM

There are some cross-browser issues you will have to watch out for, but you'll find them with experience and figure out how to get around them.

Well isn't that what JQuery, Mootools, and other JS libraries are for?

I haven't used Mootools that much, but I have used JQuery a fair bit. I like the design of the interface a lot. Unfortunately, I think it adds a lot of overhead, especially on mobile devices. I don't think there are *that* many cross-browser issues to warrant such a huge cost in download size and startup time. Yes, the issues are annoying, but they are really easy to get around, and then you've learned it and never have to deal with it again.

#5017508 Javascript / HTML5 best practices

Posted by on 04 January 2013 - 03:28 PM

Honestly, so few people know what they're actually talking about with JS, it's really hard to make any recommendations. There's a tendency these days to treat JS as a "low level" language (lol, I know) and everyone is scrambling to figure out what the best other language to get that "compiles" to JS (lloll, I double know).


As long as you're following very basic principles of OO and Functional Programming, not writing sloppy code, you're going to be fine. There are some cross-browser issues you will have to watch out for, but you'll find them with experience and figure out how to get around them. JS isn't hard, just spend a little time with it and you'll know what to do.

#5017388 Applying for local jobs with the intent to move.

Posted by on 04 January 2013 - 12:35 AM

Just tell the truth, you're "willing to relocate". Don't try to game the system with half-truths and technically-rights.


Most places start off with phone interviews. If they like you and need you to come in for a face-to-face interview, a lot of companies will pay for a plane ticket to get you there. I had one place even pay for my hotel and dinner, it was rather nice.

#5017359 IDE?

Posted by on 03 January 2013 - 10:22 PM

2012. Why use old software?

#5017351 No knowledge of any programming language

Posted by on 03 January 2013 - 09:51 PM

Java, lacking lambda expressions, feels nothing like C# to me. But then, I use a LOT of lambdas.


There really are a bunch of different ways you can go. Probably one of the easier ones that gets you started, doesn't take a lot of tools, and is easy to show off your results, is HTML 5 and JavaScript. You technically have everything you need on your computer already: a text editor and a browser. Some tools like a syntax highlighting editor will help make the job easier, but you never really have to worry about keeping up to date on the latest versions of compilers and what not.

#5017348 Programming progression

Posted by on 03 January 2013 - 09:45 PM

Pick a language that has freely available, official documentation. Read it, then read it again, as much as you can. Don't even peak at tutorials, they all suck. Write code. Write code. Write code.


Can't stress it enough. Most of the questions I've ever fielded on programming have been because the asker never took the time to even try writing some code to see if it would work. Most of the arguments I've gotten into with coworkers at work were because they refused to take 15 minutes to write some piece of code to see if it would work. Just write code, write code, write code.

#5017347 IDE?

Posted by on 03 January 2013 - 09:39 PM

Stick with Visual Studio so you're only having to learn on thing at a time. Frankly, there isn't a better IDE than Visual Studio, anyway.

#5001403 Unique ID for every objects using reinterpret_cast

Posted by on 15 November 2012 - 06:19 PM

In 15 years of software development, I've never *actually* needed anything more than a sequential sequence starting at 1 for such a thing. I have thought I needed it, but in the end it turned out to be more trouble than it was worth.

#4971893 How do I keep myself and my team motivated?

Posted by on 21 August 2012 - 11:22 AM

Awesome. Glad it's working out for you. If you haven't already, check out www.lifehacker.com, there are a lot of great articles on this sort of stuff.

#4967100 A highly commented Pong game in JavaScript

Posted by on 07 August 2012 - 12:56 PM

Just wanted to put this out there for any beginners looking for some source code to read and learn from

This is where I will be posting all of the materials for a programming class I'm running here in Philadelphia. Over the next few weeks, I'll be breaking this file down and showing everyone how to rebuild it from the ground up.

This is a DHTML game right now, but eventually I'll upgrade it to HTML5 Canvas. By the end of the series, you should be pretty well versed in how to write browser-based games.

This game runs in Internet Explorer (7 - 9), Google Chrome (latest), Opera (latest), Mozilla Firefox (latest), and Safari (5.1, they haven't released 6 for Windows yet, so I can't check it). It *also* runs on the iPad version of Safari and Android 2.3 Gingerbread browser.

#4967067 How do I keep myself and my team motivated?

Posted by on 07 August 2012 - 11:32 AM

Check out this book, The War of Art (this is not a referral link, I don't do such things). The book is all about getting over one's resistance to work so one can get back to being productive. Also, check out Getting Things Done, a veritable cookbook of productivity enhancing practices.

But really, it all boils down to establishing a routine. Setting deadlines works for some people, not others. For me, I have to set start-on times, the complete opposite of deadlines. The next item's start-on time is essentially the deadline for the previous item, but it becomes more of a motivational piece for me to finish today's stuff so I have a clean slate to work on tomorrow's stuff.

Don't work only when you feel like it, and don't work for as long as you feel like it. If you work only when you feel like it, you will work sporadically, and if you work as long as you feel like, you will work too long, completely screwing up your schedule for everything else, which will become a subconscious deterrent to getting back to working again.

Motivation isn't a magical muse that rests on your shoulder and whispers in your ear. It's the iron rod of determination of will, beating your sorry ass into shape. For me, it helps a lot to think of it in the terms of The War of Art, defining lack of motivation as a sinister, paranormal force called Resistance. When I feel Resistance taking hold, I know it's a demon trying to drag me down into mediocrity, a hellspawn trying to send me back to a soulless life in a cubicle farm. And that wakes me up, gets my blood pumping, to get back to work. I *will* maintain my schedule and my practices and be productive when productivity is *demanded*, because I would rather quit technology completely and work on a farm than go back to a cubicle farm.

If you can get your team together in the same place once a week for--say--3 hours, do it and work together. Coworking is incredibly motivating and a LOT of fun. It's hard to sit on the internet and cruise the Lounge all day when you have your friends sitting with you all working. And physical contact with other people is an incredibly powerful tool for motivating and invigorating people onto the mission.

Whatever you do, make it routine. Put it on the calendar. Cherish that time. Don't abuse it. Don't work when you're not supposed to work; that makes it too easy to not work when you are supposed to. Force yourself into the routine.

#4883272 Northern Michigan

Posted by on 12 November 2011 - 02:33 PM

This is an intervention: there are better places to live!

#4883270 Suggestions on career choice, a software engineer

Posted by on 12 November 2011 - 02:24 PM

Here's what I suggest. Don't try to get a job doing something you enjoy. If you want to do something that you enjoy as your career, start a business. But if you're going to work for someone else, do something that will pay you the most money. Because all doing the thing you love for someone else is going to do is teach you to hate the thing you love. Then, spend your sizable paycheck and free time on doing the thing you love.

#4883267 Loyalty and cowardace in America

Posted by on 12 November 2011 - 02:17 PM

I'm disgusted with Penn State fans for treating football like a religion and "JoePa" (I puke in my mouth every time I hear someone say that) their Pope.

#4829110 A question to the martial artists out there

Posted by on 29 June 2011 - 09:42 AM

Now, let me ask *you* something. What is your long term goal for studying martial arts?